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-18 03:24:49 +02:00
|
|
|
color = "ffd20400";
|
2023-08-18 03:13:47 +02:00
|
|
|
font-size = 96;
|
2023-08-18 02:48:05 +02:00
|
|
|
show-failed-attempts = true;
|
2023-08-24 13:43:54 +02:00
|
|
|
effect-blur = "30x8";
|
|
|
|
effect-vignette = "1:1";
|
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-18 02:58:49 +02:00
|
|
|
indicator-radius = "120";
|
2023-08-18 03:04:57 +02:00
|
|
|
indicator-thickness = "10";
|
2023-08-18 02:56:13 +02:00
|
|
|
indicator-caps-lock = true;
|
|
|
|
|
|
|
|
key-hl-color = "880033";
|
|
|
|
|
2023-08-18 03:23:30 +02:00
|
|
|
separator-color = "ebdbb200";
|
2023-08-18 02:56:13 +02:00
|
|
|
|
|
|
|
inside-color = "00000099";
|
|
|
|
inside-clear-color = "ffd20400";
|
|
|
|
inside-caps-lock-color = "009ddc00";
|
|
|
|
inside-ver-color = "d9d8d800";
|
|
|
|
inside-wrong-color = "ee2e2400";
|
|
|
|
|
2023-08-18 03:23:30 +02:00
|
|
|
ring-color = "7c6f64D9";
|
|
|
|
ring-clear-color = "7c6f64D9";
|
|
|
|
ring-caps-lock-color = "7c6f64D9";
|
|
|
|
ring-ver-color = "7c6f64D9";
|
2023-08-18 03:04:57 +02:00
|
|
|
ring-wrong-color = "f2594bD9";
|
2023-08-18 02:56:13 +02:00
|
|
|
|
2023-08-18 03:23:30 +02:00
|
|
|
line-color = "ebdbb200";
|
2023-08-18 02:56:13 +02:00
|
|
|
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";
|
2023-08-18 02:48:55 +02:00
|
|
|
};
|
2023-08-18 02:49:30 +02:00
|
|
|
};
|
2023-08-24 13:43:54 +02:00
|
|
|
}
|