refactor(sway): use colors.nix for swaylock

This commit is contained in:
buffet 2024-02-06 20:44:56 +01:00
parent e312f2aad1
commit f4afa989ce

View file

@ -188,23 +188,23 @@ in {
# TODO: use colors.nix # TODO: use colors.nix
programs.swaylock = { programs.swaylock = {
enable = true; enable = true;
settings = { settings = with colors; {
ignore-empty-password = true; ignore-empty-password = true;
color = "#ffffff"; color = wallpaper;
key-hl-color = "#3cc970"; key-hl-color = normal.green;
bs-hl-color = "#e96161"; bs-hl-color = normal.red;
caps-lock-key-hl-color = "#3cc970"; caps-lock-key-hl-color = normal.green;
caps-lock-bs-hl-color = "#e96161"; caps-lock-bs-hl-color = normal.red;
inside-color = "#ffffff"; inside-color = wallpaper;
inside-clear-color = "#ffffff"; inside-clear-color = wallpaper;
inside-caps-lock-color = "#ffffff"; inside-caps-lock-color = wallpaper;
inside-ver-color = "#ffffff"; inside-ver-color = wallpaper;
inside-wrong-color = "#ffffff"; inside-wrong-color = wallpaper;
ring-color = "#ffffff"; ring-color = bright.white;
ring-clear-color = "#ffffff"; ring-clear-color = bright.white;
ring-caps-lock-color = "#ffffff"; ring-caps-lock-color = bright.white;
ring-ver-color = "#ffffff"; ring-ver-color = bright.white;
ring-wrong-color = "#ffffff"; ring-wrong-color = bright.white;
}; };
}; };
}; };