diff --git a/users/buffet/sway.nix b/users/buffet/sway.nix index cfc29e0..5666a90 100644 --- a/users/buffet/sway.nix +++ b/users/buffet/sway.nix @@ -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; }; }; };