2024-01-03 14:25:06 +01:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
programs.swaylock = {
|
|
|
|
enable = true;
|
|
|
|
# swaylock-effects has extra effects like image blur and stuff.
|
|
|
|
package = pkgs.swaylock-effects;
|
|
|
|
settings = {
|
|
|
|
# All <color> options are of the form <rrggbb[aa]>.
|
2024-01-07 04:55:25 +01:00
|
|
|
# font-size = 96;
|
2024-01-03 14:25:06 +01:00
|
|
|
show-failed-attempts = true;
|
|
|
|
effect-blur = "20x8";
|
|
|
|
screenshots = true;
|
|
|
|
|
|
|
|
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 = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|