feat(swaylock): allow empty passwords to skip directly to fingerprint

This commit is contained in:
mandlm 2024-08-01 20:54:12 +02:00
parent 289c2fbe65
commit 9625c11ad0
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7

View File

@ -2,7 +2,7 @@
let let
font.name = "DejaVu Sans Mono"; font.name = "DejaVu Sans Mono";
font.size = 12.0; font.size = 12.0;
lock_command = "${pkgs.swaylock-effects}/bin/swaylock --daemonize --screenshots --effect-blur 8x2 --ignore-empty-password --show-failed-attempts"; lock_command = "${pkgs.swaylock-effects}/bin/swaylock";
swaymsg = "${pkgs.sway}/bin/swaymsg"; swaymsg = "${pkgs.sway}/bin/swaymsg";
in in
{ {
@ -35,6 +35,13 @@ in
programs.swaylock = { programs.swaylock = {
enable = true; enable = true;
package = pkgs.swaylock-effects; package = pkgs.swaylock-effects;
settings = {
daemonize = true;
screenshots = true;
effect-blur = "8x2";
ignore-empty-password = false;
show-failed-attempts = true;
};
}; };
home.pointerCursor = { home.pointerCursor = {