2024-04-27 21:21:26 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 20:06:46 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-04-27 21:21:26 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.home.apps.swaylock.enable {
|
2024-04-27 21:21:26 -04:00
|
|
|
home.packages = with pkgs; [swaylock];
|
|
|
|
|
2024-05-05 17:22:15 -04:00
|
|
|
programs.swaylock.enable = true;
|
|
|
|
|
2024-04-27 21:21:26 -04:00
|
|
|
xdg.configFile."swaylock/config".text = ''
|
2024-06-03 22:10:25 -04:00
|
|
|
bs-hl-color=e78284
|
|
|
|
caps-lock-bs-hl-color=e78284
|
|
|
|
caps-lock-key-hl-color=e78284
|
2024-04-27 21:21:26 -04:00
|
|
|
color=303446
|
2024-04-28 13:49:50 -04:00
|
|
|
daemonize
|
2024-07-03 10:35:39 -04:00
|
|
|
font="NotoSansMNerdFont-Regular"
|
2024-06-26 22:13:02 -04:00
|
|
|
image=${config.ar.home.theme.wallpaper}
|
2024-04-27 21:21:26 -04:00
|
|
|
indicator-caps-lock
|
|
|
|
indicator-idle-visible
|
2024-06-03 22:10:25 -04:00
|
|
|
indicator-radius=120
|
|
|
|
indicator-thickness=20
|
2024-04-27 21:21:26 -04:00
|
|
|
inside-caps-lock-color=303446cc
|
2024-06-03 22:10:25 -04:00
|
|
|
inside-clear-color=303446cc
|
|
|
|
inside-color=303446cc
|
2024-04-27 21:21:26 -04:00
|
|
|
inside-ver-color=303446cc
|
|
|
|
inside-wrong-color=303446cc
|
2024-06-03 22:10:25 -04:00
|
|
|
key-hl-color=a6d189
|
2024-06-26 22:13:02 -04:00
|
|
|
line-caps-lock-color=${config.ar.home.theme.colors.background}CC
|
|
|
|
line-clear-color=${config.ar.home.theme.colors.background}CC
|
|
|
|
line-color=${config.ar.home.theme.colors.background}CC
|
|
|
|
line-ver-color=${config.ar.home.theme.colors.background}CC
|
|
|
|
line-wrong-color=${config.ar.home.theme.colors.background}CC
|
2024-06-03 22:10:25 -04:00
|
|
|
ring-caps-lock-color=e78284cc
|
|
|
|
ring-clear-color=85c1dccc
|
2024-06-26 22:13:02 -04:00
|
|
|
ring-color=${config.ar.home.theme.colors.primary}CC
|
2024-06-03 22:10:25 -04:00
|
|
|
ring-ver-color=a6d189cc
|
|
|
|
ring-wrong-color=e78284cc
|
2024-06-26 22:13:02 -04:00
|
|
|
separator-color=${config.ar.home.theme.colors.background}CC
|
2024-06-03 22:10:25 -04:00
|
|
|
text-caps-lock-color=c6d0f5
|
2024-04-27 21:21:26 -04:00
|
|
|
text-clear-color=c6d0f5
|
|
|
|
text-ver-color=c6d0f5
|
|
|
|
text-wrong-color=c6d0f5
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|