infrastructure/home/desktop/swaylock.nix
2024-06-15 17:17:27 +02:00

48 lines
1,023 B
Nix

{
inputs,
pkgs,
...
}: {
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
catppuccin.enable = false;
settings = {
image = "${inputs.wallpaper}";
clock = true;
timestr = "%T";
datestr = "%F";
indicator = true;
indicator-radius = 100;
indicator-thickness = 7;
effect-blur = "7x5";
effect-vignette = "0.5:0.5";
text-color = "CDD6F4";
text-clear-color = "CDD6F4";
text-caps-lock-color = "CDD6F4";
text-ver-color = "CDD6F4";
text-wrong-color = "CDD6F4";
inside-color = "1E1E2EEE";
inside-clear-color = "1E1E2EEE";
inside-caps-lock-color = "1E1E2EEE";
inside-ver-color = "1E1E2EEE";
inside-wrong-color = "1E1E2EEE";
ring-color = "CBA6F7";
ring-clear-color = "FAB387";
ring-caps-lock-color = "F5C2E7";
ring-ver-color = "89B4Fa";
ring-wrong-color = "F38BA8";
key-hl-color = "A6E3A1";
bs-hl-color = "F38BA8";
};
};
}