2024-04-27 21:21:26 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-04-27 21:21:26 -04:00
|
|
|
...
|
2024-08-07 23:09:31 -04:00
|
|
|
}: let
|
|
|
|
cfg = config.ar.home;
|
|
|
|
in {
|
|
|
|
config = lib.mkIf cfg.apps.swaylock.enable {
|
2024-04-27 21:21:26 -04:00
|
|
|
home.packages = with pkgs; [swaylock];
|
2024-08-02 21:57:55 -04:00
|
|
|
|
2024-05-05 17:22:15 -04:00
|
|
|
programs.swaylock.enable = true;
|
|
|
|
|
2024-08-14 22:41:54 -04:00
|
|
|
# xdg.configFile."swaylock/config".text = ''
|
|
|
|
# bs-hl-color=e78284
|
|
|
|
# caps-lock-bs-hl-color=e78284
|
|
|
|
# caps-lock-key-hl-color=e78284
|
|
|
|
# color=303446
|
|
|
|
# daemonize
|
|
|
|
# font="${cfg.theme.monospaceFont.name}"
|
|
|
|
# image=${cfg.theme.wallpaper}
|
|
|
|
# indicator-caps-lock
|
|
|
|
# indicator-idle-visible
|
|
|
|
# indicator-radius=120
|
|
|
|
# indicator-thickness=20
|
|
|
|
# inside-caps-lock-color=303446cc
|
|
|
|
# inside-clear-color=303446cc
|
|
|
|
# inside-color=303446cc
|
|
|
|
# inside-ver-color=303446cc
|
|
|
|
# inside-wrong-color=303446cc
|
|
|
|
# key-hl-color=a6d189
|
|
|
|
# line-caps-lock-color=${cfg.theme.colors.background}CC
|
|
|
|
# line-clear-color=${cfg.theme.colors.background}CC
|
|
|
|
# line-color=${cfg.theme.colors.background}CC
|
|
|
|
# line-ver-color=${cfg.theme.colors.background}CC
|
|
|
|
# line-wrong-color=${cfg.theme.colors.background}CC
|
|
|
|
# ring-caps-lock-color=e78284cc
|
|
|
|
# ring-clear-color=85c1dccc
|
|
|
|
# ring-color=${cfg.theme.colors.primary}CC
|
|
|
|
# ring-ver-color=a6d189cc
|
|
|
|
# ring-wrong-color=e78284cc
|
|
|
|
# scaling=fill
|
|
|
|
# separator-color=${cfg.theme.colors.background}CC
|
|
|
|
# text-caps-lock-color=c6d0f5
|
|
|
|
# text-clear-color=c6d0f5
|
|
|
|
# text-ver-color=c6d0f5
|
|
|
|
# text-wrong-color=c6d0f5
|
|
|
|
# '';
|
2024-04-27 21:21:26 -04:00
|
|
|
};
|
|
|
|
}
|