Simplify the Sway config files
This commit is contained in:
parent
9299782075
commit
bbd3d080b5
10 changed files with 436 additions and 443 deletions
|
@ -1,45 +1,43 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
wayland.windowManager.sway = {
|
||||
config = {
|
||||
colors = {
|
||||
focused = {
|
||||
border = "#${config.look.colors.prime}";
|
||||
background = "#${config.look.colors.prime}";
|
||||
text = "#FFFFFF";
|
||||
indicator = "#${config.look.colors.actSplit}";
|
||||
childBorder = "#${config.look.colors.prime}";
|
||||
};
|
||||
focusedInactive = {
|
||||
border = "#${config.look.colors.accent}";
|
||||
background = "#${config.look.colors.accent}";
|
||||
text = "#${config.look.colors.text}";
|
||||
indicator = "#${config.look.colors.split}";
|
||||
childBorder = "#${config.look.colors.accent}";
|
||||
};
|
||||
unfocused = {
|
||||
border = "#${config.look.colors.dark}";
|
||||
background = "#${config.look.colors.dark}";
|
||||
text = "#${config.look.colors.text}";
|
||||
indicator = "#${config.look.colors.split}";
|
||||
childBorder = "#${config.look.colors.split}";
|
||||
};
|
||||
urgent = {
|
||||
border = "#${config.look.colors.urgent}";
|
||||
background = "#${config.look.colors.urgent}";
|
||||
text = "#${config.look.colors.text}";
|
||||
indicator = "#${config.look.colors.urgent}";
|
||||
childBorder = "#${config.look.colors.urgent}";
|
||||
};
|
||||
wayland.windowManager.sway.config = {
|
||||
colors = {
|
||||
focused = {
|
||||
border = "#${config.look.colors.prime}";
|
||||
background = "#${config.look.colors.prime}";
|
||||
text = "#FFFFFF";
|
||||
indicator = "#${config.look.colors.actSplit}";
|
||||
childBorder = "#${config.look.colors.prime}";
|
||||
};
|
||||
fonts = {
|
||||
names = ["${config.look.fonts.main}"];
|
||||
size = 10.5;
|
||||
focusedInactive = {
|
||||
border = "#${config.look.colors.accent}";
|
||||
background = "#${config.look.colors.accent}";
|
||||
text = "#${config.look.colors.text}";
|
||||
indicator = "#${config.look.colors.split}";
|
||||
childBorder = "#${config.look.colors.accent}";
|
||||
};
|
||||
gaps = {
|
||||
inner = 5;
|
||||
smartGaps = true;
|
||||
unfocused = {
|
||||
border = "#${config.look.colors.dark}";
|
||||
background = "#${config.look.colors.dark}";
|
||||
text = "#${config.look.colors.text}";
|
||||
indicator = "#${config.look.colors.split}";
|
||||
childBorder = "#${config.look.colors.split}";
|
||||
};
|
||||
urgent = {
|
||||
border = "#${config.look.colors.urgent}";
|
||||
background = "#${config.look.colors.urgent}";
|
||||
text = "#${config.look.colors.text}";
|
||||
indicator = "#${config.look.colors.urgent}";
|
||||
childBorder = "#${config.look.colors.urgent}";
|
||||
};
|
||||
};
|
||||
fonts = {
|
||||
names = ["${config.look.fonts.main}"];
|
||||
size = 10.5;
|
||||
};
|
||||
gaps = {
|
||||
inner = 5;
|
||||
smartGaps = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue