nixos_config/home/modules/programs/swaylock.nix

38 lines
1 KiB
Nix
Raw Normal View History

{ theme, ... }:
let
n = theme.paletteNoHash;
in
2026-03-10 18:54:37 +01:00
{
programs.swaylock = {
enable = true;
settings = {
color = n.darkestGray;
2026-03-10 18:54:37 +01:00
ignore-empty-password = true;
inside-caps-lock-color = n.darkestGray;
inside-clear-color = n.darkestGray;
inside-color = n.darkestGray;
inside-ver-color = n.darkestGray;
inside-wrong-color = n.darkestGray;
2026-03-10 18:54:37 +01:00
indicator-caps-lock = true;
key-hl-color = n.green;
layout-bg-color = n.darkestGray;
layout-border-color = n.darkerGray;
layout-text-color = n.lightGray;
line-uses-inside = true;
ring-caps-lock-color = n.darkerGray;
ring-clear-color = n.red;
ring-color = n.darkerGray;
ring-ver-color = n.green;
ring-wrong-color = n.red;
scaling = "fill";
separator-color = "00000000";
text-caps-lock-color = n.lightGray;
text-clear-color = n.lightGray;
text-color = n.lightGray;
text-ver-color = n.lightGray;
text-wrong-color = n.lightGray;
2026-03-10 21:50:51 +01:00
};
};
}