feat(swaylock): allow empty passwords to skip directly to fingerprint
This commit is contained in:
parent
289c2fbe65
commit
9625c11ad0
1 changed files with 8 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue