zaneyos/config/home/swaylock.nix

25 lines
598 B
Nix

{ pkgs, config, ... }:
let
palette = config.colorScheme.palette;
in {
home.file.".config/swaylock/config".text = ''
indicator-caps-lock
show-failed-attempts
ignore-empty-password
indicator-thickness=15
indicator-radius=150
image=~/.config/swaylock-bg.jpg
ring-color=${palette.base0D}
key-hl-color=${palette.base0F}
line-color=00000000
inside-color=00000088
inside-clear-color=00000088
separator-color=00000000
text-color=${palette.base05}
text-clear-color=${palette.base05}
ring-clear-color=${palette.base0D}
font=Ubuntu
'';
}