nix/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/swaylock-conf.nix

58 lines
3.3 KiB
Nix
Raw Normal View History

2023-08-18 02:48:05 +02:00
{ pkgs, config, ... }: {
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
key-hl-color = "fe8019"; #fe8019 # Sets the color of the key press highlight segments.
2023-08-31 12:45:33 +02:00
separator-color = "ebdbb2"; #ebdbb2 # Sets the color of the lines that separate highlight segments.
2023-08-31 12:44:30 +02:00
bs-hl-color = "d79921"; #d79921 # Sets the color of backspace highlight segments.
# DEFAULT
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:44:30 +02:00
text-color = "83a598"; #83a598 # Sets the color of the text.
inside-color = "1d202199"; #1d2021 # Sets the color of the inside of the indicator.
# VERIFYING
ring-ver-color = "fe8019"; #fe8019 # Sets the color of the ring of the indicator when verifying.
2023-08-31 12:45:33 +02:00
line-ver-color = "ebdbb200"; #ebdbb200 # Sets the color of the line between the inside and ring when verifying.
2023-08-31 12:54:30 +02:00
text-ver-color = "83a59800"; #83a59800 # Sets the color of the text when verifying.
2023-08-31 12:44:30 +02:00
inside-ver-color = "3c3836"; #3c3836 # Sets the color of the inside of the indicator when verifying.
# WRONG
2023-08-31 12:54:30 +02:00
ring-wrong-color = "fe8019"; #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:44:30 +02:00
inside-wrong-color = "3c3836"; #3c3836 # Sets the color of the inside of the indicator when invalid.
# CAPS-LOCK
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.
inside-caps-lock-color = "3c3836"; #3c3836 # Sets the color of the inside of the indicator when Caps Lock is active.
2023-08-31 12:44:30 +02:00
# CLEAR
ring-clear-color = "d65d0e"; #d65d0e # Sets the color of the ring of the indicator when cleared.
line-clear-color = "928374FF"; #928374 # Sets the color of the line between the inside and ring when cleared.
text-clear-color = "92837400"; #928374 # Sets the color of the text when cleared.
2023-08-31 12:54:30 +02:00
inside-clear-color = "3c3836"; #3c3836 # 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
}