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
programs.swaylock = {
enable = true;
settings = {
settings = with colors; {
ignore-empty-password = true;
color = "#ffffff";
key-hl-color = "#3cc970";
bs-hl-color = "#e96161";
caps-lock-key-hl-color = "#3cc970";
caps-lock-bs-hl-color = "#e96161";
inside-color = "#ffffff";
inside-clear-color = "#ffffff";
inside-caps-lock-color = "#ffffff";
inside-ver-color = "#ffffff";
inside-wrong-color = "#ffffff";
ring-color = "#ffffff";
ring-clear-color = "#ffffff";
ring-caps-lock-color = "#ffffff";
ring-ver-color = "#ffffff";
ring-wrong-color = "#ffffff";
color = wallpaper;
key-hl-color = normal.green;
bs-hl-color = normal.red;
caps-lock-key-hl-color = normal.green;
caps-lock-bs-hl-color = normal.red;
inside-color = wallpaper;
inside-clear-color = wallpaper;
inside-caps-lock-color = wallpaper;
inside-ver-color = wallpaper;
inside-wrong-color = wallpaper;
ring-color = bright.white;
ring-clear-color = bright.white;
ring-caps-lock-color = bright.white;
ring-ver-color = bright.white;
ring-wrong-color = bright.white;
};
};
};