nix/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/swaylock-conf.nix
2023-08-31 18:18:01 +09:00

57 lines
1.8 KiB
Nix

{ pkgs, config, ... }: {
programs.swaylock = {
enable = true;
# swaylock-effects has extra effects like image blur and stuff.
package = pkgs.swaylock-effects;
settings = {
color = "83a598"; #83a598
font-size = 96;
show-failed-attempts = true;
effect-blur = "20x8";
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;
disable-caps-lock-text = true;
key-hl-color = "880033"; #880033
separator-color = "ebdbb200"; #ebdbb2
inside-color = "00000099"; #000000
inside-clear-color = "ffd20400"; #ffd204
inside-caps-lock-color = "009ddc00"; #009ddc
inside-ver-color = "d9d8d800"; #d9d8d8
inside-wrong-color = "ee2e2400"; #ee2e24
ring-color = "7c6f64D9"; #7c6f64D9
ring-clear-color = "7c6f64D9"; #7c6f64D9
ring-caps-lock-color = "7c6f64D9"; #7c6f64D9
ring-ver-color = "7c6f64D9"; #7c6f64D9
ring-wrong-color = "f2594bD9"; #f2594bD9
line-color = "ebdbb200"; #ebdbb2
line-clear-color = "ffd204FF"; #ffd204
line-caps-lock-color = "009ddcFF"; #009ddcFF
line-ver-color = "d9d8d8FF"; #d9d8d8FF
line-wrong-color = "ee2e24FF"; #ee2e24FF
text-clear-color = "ffd20400"; #ffd204
text-ver-color = "d9d8d800"; #d9d8d8
text-wrong-color = "ee2e2400"; #ee2e24
bs-hl-color = "ee2e24FF"; #ee2e24FF
caps-lock-key-hl-color = "ffd204FF"; #ffd204FF
caps-lock-bs-hl-color = "ee2e24FF"; #ee2e24FF
text-caps-lock-color = "009ddc"; #009ddc
};
};
}