Refactor palette use
This commit is contained in:
parent
59a707a426
commit
4670f64a2d
2 changed files with 35 additions and 35 deletions
|
@ -337,7 +337,7 @@ in
|
|||
"alt+down" = "resize_window shorter";
|
||||
"alt+up" = "resize_window taller";
|
||||
};
|
||||
settings = {
|
||||
settings = with palette; {
|
||||
# Mouse
|
||||
click_interval = "0.25";
|
||||
focus_follows_mouse = "yes";
|
||||
|
@ -369,36 +369,36 @@ in
|
|||
url_style = "single";
|
||||
|
||||
# Colors
|
||||
wayland_titlebar_color = palette.black;
|
||||
foreground = palette.white;
|
||||
background = palette.black;
|
||||
cursor = palette.orange;
|
||||
url_color = palette.white;
|
||||
active_border_color = palette.dark-gray;
|
||||
inactive_border_color = palette.dark-gray;
|
||||
bell_border_color = palette.red;
|
||||
active_tab_foreground = palette.white;
|
||||
active_tab_background = palette.dark-gray;
|
||||
inactive_tab_foreground = palette.gray;
|
||||
inactive_tab_background = palette.dark-gray;
|
||||
selection_foreground = palette.black;
|
||||
selection_background = palette.orange;
|
||||
color0 = palette.dark-gray;
|
||||
color1 = palette.red;
|
||||
color2 = palette.green;
|
||||
color3 = palette.yellow;
|
||||
color4 = palette.blue;
|
||||
color5 = palette.orange;
|
||||
color6 = palette.purple;
|
||||
color7 = palette.white;
|
||||
color8 = palette.gray;
|
||||
color9 = palette.red;
|
||||
color10 = palette.green;
|
||||
color11 = palette.yellow;
|
||||
color12 = palette.blue;
|
||||
color13 = palette.orange;
|
||||
color14 = palette.purple;
|
||||
color15 = palette.white;
|
||||
wayland_titlebar_color = black;
|
||||
foreground = white;
|
||||
background = black;
|
||||
cursor = orange;
|
||||
url_color = white;
|
||||
active_border_color = dark-gray;
|
||||
inactive_border_color = dark-gray;
|
||||
bell_border_color = red;
|
||||
active_tab_foreground = white;
|
||||
active_tab_background = dark-gray;
|
||||
inactive_tab_foreground = gray;
|
||||
inactive_tab_background = dark-gray;
|
||||
selection_foreground = black;
|
||||
selection_background = orange;
|
||||
color0 = dark-gray;
|
||||
color1 = red;
|
||||
color2 = green;
|
||||
color3 = yellow;
|
||||
color4 = blue;
|
||||
color5 = orange;
|
||||
color6 = purple;
|
||||
color7 = white;
|
||||
color8 = gray;
|
||||
color9 = red;
|
||||
color10 = green;
|
||||
color11 = yellow;
|
||||
color12 = blue;
|
||||
color13 = orange;
|
||||
color14 = purple;
|
||||
color15 = white;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -55,10 +55,10 @@ in
|
|||
system.activationScripts.etcAvahiServices = "mkdir -p /etc/avahi/services";
|
||||
|
||||
# Console
|
||||
console.colors = map (lib.removePrefix "#") [
|
||||
"#000000" palette.red palette.green palette.yellow palette.blue palette.orange palette.purple palette.white
|
||||
palette.gray palette.red palette.green palette.yellow palette.blue palette.orange palette.purple palette.white
|
||||
];
|
||||
console.colors = map (lib.removePrefix "#") (with palette; [
|
||||
"#000000" red green yellow blue orange purple white
|
||||
gray red green yellow blue orange purple white
|
||||
]);
|
||||
|
||||
# Keyboard
|
||||
services.xserver.extraLayouts.halmakish = {
|
||||
|
|
Loading…
Reference in a new issue