From 9625c11ad0bdc932e5b81dff5466a48d14f36ee2 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 1 Aug 2024 20:54:12 +0200 Subject: [PATCH] feat(swaylock): allow empty passwords to skip directly to fingerprint --- sway/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sway/default.nix b/sway/default.nix index fa99d8b..2b951c4 100644 --- a/sway/default.nix +++ b/sway/default.nix @@ -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 = {