nix/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/swaylock-conf.nix
2023-08-31 18:33:07 +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 = {
font-size = 96;
show-failed-attempts = true;
effect-blur = "20x8";
effect-vignette = "1:1";
screenshots = true;
font = "JetBrainsMono Nerd Font";
text-color = "83a598"; #83a598
clock = true;
timestr = "%R";
datestr = "%a, %b %d";
grace = 5;
indicator = true;
indicator-radius = "130";
indicator-thickness = "12";
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-ver-color = "d9d8d800"; #d9d8d8
inside-wrong-color = "ee2e2400"; #ee2e24
ring-color = "fe8019"; #fe8019
ring-clear-color = "fe8019"; #fe8019
ring-caps-lock-color = "fe8019"; #fe8019
ring-ver-color = "fe8019"; #fe8019
ring-wrong-color = "f2594bD9"; #f2594bD9
line-color = "ebdbb200"; #ebdbb2
line-clear-color = "ffd204FF"; #ffd204
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 = "d65d0e"; #d65d0e
inside-caps-lock-color = "d65d0e00"; #d65d0e - invisible
line-caps-lock-color = "d65d0e"; #d65d0e
};
};
}