about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-26 14:27:48 +0900
committersefidel <contact@sefidel.net>2023-08-26 14:27:48 +0900
commit93ff69d19bc2b7bc58c6c83ea66129fc4ae74c85 (patch)
tree594d93921249a15207359e33fbb3f4de9401e2a0
parente7b6aa157a6b41eb5da843a56a1fc7124838cb0d (diff)
downloadnixrc-93ff69d19bc2b7bc58c6c83ea66129fc4ae74c85.tar.gz
nixrc-93ff69d19bc2b7bc58c6c83ea66129fc4ae74c85.zip
fix(home/gui): fix swayidle hanging on swaylock
-rw-r--r--home/profiles/gui/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index 4f579e8..0927d1a 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -123,7 +123,16 @@ in
 
       swayidle =
         let
-          lockCommand = ''${pkgs.swaylock-effects}/bin/swaylock --screenshots --clock --indicator --effect-blur 7x5 --effect-vignette 0.5:0.5 --grace 5 --fade-in 0.2'';
+          lockCommand = ''${pkgs.swaylock-effects}/bin/swaylock \
+            --daemonize \
+            --screenshots \
+            --clock \
+            --indicator \
+            --show-failed-attempts \
+            --effect-blur 7x5 \
+            --effect-vignette 0.5:0.5 \
+            --grace 5 \
+            --fade-in 0.2'';
         in
         {
           enable = true;