nix/home-manager/hosts/nixos-laptop/desktops/hyprland/swaylock-conf.nix
2023-08-25 08:02:10 +09:00

58 lines
1.5 KiB
Nix

{ pkgs, config, ... }: {
programs.swaylock = {
enable = true;
# swaylock-effects has extra effects like image blur and stuff.
package = pkgs.swaylock-effects;
settings = {
color = "ffd20400";
font-size = 96;
show-failed-attempts = true;
effect-blur = "30x8";
effect-vignette = "1:1";
screenshots = true;
font = "JetBrainsMono Nerd Font";
clock = true;
timestr = "%R";
datestr = "%a, %b %d";
grace = 5;
indicator = true;
indicator-radius = "120";
indicator-thickness = "10";
indicator-caps-lock = true;
key-hl-color = "880033";
separator-color = "ebdbb200";
inside-color = "00000099";
inside-clear-color = "ffd20400";
inside-caps-lock-color = "009ddc00";
inside-ver-color = "d9d8d800";
inside-wrong-color = "ee2e2400";
ring-color = "7c6f64D9";
ring-clear-color = "7c6f64D9";
ring-caps-lock-color = "7c6f64D9";
ring-ver-color = "7c6f64D9";
ring-wrong-color = "f2594bD9";
line-color = "ebdbb200";
line-clear-color = "ffd204FF";
line-caps-lock-color = "009ddcFF";
line-ver-color = "d9d8d8FF";
line-wrong-color = "ee2e24FF";
text-clear-color = "ffd20400";
text-ver-color = "d9d8d800";
text-wrong-color = "ee2e2400";
bs-hl-color = "ee2e24FF";
caps-lock-key-hl-color = "ffd204FF";
caps-lock-bs-hl-color = "ee2e24FF";
disable-caps-lock-text = true;
text-caps-lock-color = "009ddc";
};
};
}