nix/home-manager/common/desktops/hyprland/themes/gruvbox/swaylock-conf.nix

58 lines
3.3 KiB
Nix
Raw Normal View History

2023-08-31 13:22:44 +02:00
{ pkgs, ... }: {
2023-08-18 02:48:05 +02:00
programs.swaylock = {
enable = true;
2023-08-18 13:59:31 +02:00
# swaylock-effects has extra effects like image blur and stuff.
2023-08-18 13:58:04 +02:00
package = pkgs.swaylock-effects;
2023-08-18 02:48:05 +02:00
settings = {
2023-08-31 11:57:54 +02:00
# All <color> options are of the form <rrggbb[aa]>.
2023-08-31 12:55:15 +02:00
font-size = 96;
2023-08-18 02:48:05 +02:00
show-failed-attempts = true;
2023-08-31 11:18:01 +02:00
effect-blur = "20x8";
2023-08-18 02:48:05 +02:00
screenshots = true;
2023-08-24 13:43:54 +02:00
font = "JetBrainsMono Nerd Font";
2023-08-18 02:56:13 +02:00
2023-08-18 03:04:57 +02:00
clock = true;
2023-08-24 13:43:54 +02:00
timestr = "%R";
datestr = "%a, %b %d";
2023-08-25 01:02:10 +02:00
grace = 5;
2023-08-18 03:04:57 +02:00
2023-08-18 02:56:13 +02:00
indicator = true;
2023-08-31 11:33:07 +02:00
indicator-radius = "130";
indicator-thickness = "12";
indicator-caps-lock = true;
disable-caps-lock-text = true;
2023-08-31 11:18:01 +02:00
2023-08-31 12:44:30 +02:00
# OTHER
2023-08-31 13:01:02 +02:00
key-hl-color = "b8bb26"; #b8bb26 # Sets the color of the key press highlight segments.
separator-color = "ebdbb200"; #ebdbb200 # Sets the color of the lines that separate highlight segments.
bs-hl-color = "d79921"; #d79921 # Sets the color of backspace highlight segments.
2023-08-31 12:44:30 +02:00
# DEFAULT
2023-08-31 12:58:28 +02:00
ring-color = "d65d0e"; #d65d0e # Sets the color of the ring of the indicator.
2023-08-31 12:45:33 +02:00
line-color = "ebdbb200"; #ebdbb200 # Sets the color of the line between the inside and ring.
2023-08-31 12:58:28 +02:00
text-color = "83a598"; #83a598 # Sets the color of the text.
inside-color = "1d202199"; #1d202199 # Sets the color of the inside of the indicator.
2023-08-31 12:44:30 +02:00
# VERIFYING
2023-08-31 12:58:28 +02:00
ring-ver-color = "fe8019"; #fe8019 # Sets the color of the ring of the indicator when verifying.
2023-08-31 13:01:02 +02:00
line-ver-color = "ebdbb200"; #ebdbb200 # Sets the color of the line between the inside and ring when verifying.
text-ver-color = "83a59800"; #83a59800 # Sets the color of the text when verifying.
inside-ver-color = "3c383699"; #3c383699 # Sets the color of the inside of the indicator when verifying.
2023-08-31 12:44:30 +02:00
# WRONG
2023-08-31 12:58:28 +02:00
ring-wrong-color = "fb4934"; #fb4934 # Sets the color of the ring of the indicator when invalid.
2023-08-31 12:45:33 +02:00
line-wrong-color = "ebdbb200"; #ebdbb200 # Sets the color of the line between the inside and ring when invalid.
2023-08-31 12:54:30 +02:00
text-wrong-color = "83a59800"; #83a59800 # Sets the color of the text when invalid.
2023-08-31 12:56:45 +02:00
inside-wrong-color = "3c383699"; #3c383699 # Sets the color of the inside of the indicator when invalid.
2023-08-31 12:44:30 +02:00
# CAPS-LOCK
2023-08-31 12:58:28 +02:00
ring-caps-lock-color = "d65d0e"; #d65d0e # Sets the color of the ring of the indicator when Caps Lock is active.
2023-08-31 12:47:18 +02:00
line-caps-lock-color = "d65d0e00"; #d65d0e00 # Sets the color of the line between the inside and ring when Caps Lock is active.
2023-08-31 12:54:30 +02:00
text-caps-lock-color = "d65d0e00"; #d65d0e00 # Sets the color of the text when Caps Lock is active.
2023-08-31 12:58:28 +02:00
inside-caps-lock-color = "3c383699"; #3c383699 # Sets the color of the inside of the indicator when Caps Lock is active.
2023-08-31 12:44:30 +02:00
# CLEAR
2023-08-31 13:01:02 +02:00
ring-clear-color = "bdae93"; #bdae93 # Sets the color of the ring of the indicator when cleared.
line-clear-color = "92837400"; #92837400 # Sets the color of the line between the inside and ring when cleared.
text-clear-color = "92837400"; #92837400 # Sets the color of the text when cleared.
inside-clear-color = "3c383699"; #3c383699 # Sets the color of the inside of the indicator when cleared.
2023-08-31 11:18:01 +02:00
2023-08-18 02:48:55 +02:00
};
2023-08-18 02:49:30 +02:00
};
2023-08-24 13:43:54 +02:00
}