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

main
mandlm 2024-08-01 20:54:12 +02:00
parent 289c2fbe65
commit 9625c11ad0
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,7 @@
let
font.name = "DejaVu Sans Mono";
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";
in
{
@ -35,6 +35,13 @@ in
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
settings = {
daemonize = true;
screenshots = true;
effect-blur = "8x2";
ignore-empty-password = false;
show-failed-attempts = true;
};
};
home.pointerCursor = {