From 28e0ff7189f22591b884b89a95872bff5e2dce39 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 29 Oct 2023 19:52:09 +0100 Subject: [PATCH] pinwheel: Format `physlock` keybindings --- hosts/pinwheel/modules/physlock/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/pinwheel/modules/physlock/default.nix b/hosts/pinwheel/modules/physlock/default.nix index 78c647d..ad9ae33 100644 --- a/hosts/pinwheel/modules/physlock/default.nix +++ b/hosts/pinwheel/modules/physlock/default.nix @@ -31,10 +31,11 @@ in let pause-music = "${pkgs.playerctl}/bin/playerctl -p spotify pause"; in - [ - "$mod SHIFT, x, exec, ${pause-music}; systemctl suspend" - "$mod, x, exec, ${pause-music}; ${config.security.wrapperDir}/physlock -d -s -m" - ]; + [ + # will lock the screen with `physlock`, see `lockOn.suspend + "$mod SHIFT, x, exec, ${pause-music}; systemctl suspend" + "$mod, x, exec, ${pause-music}; ${config.security.wrapperDir}/physlock -d -s -m" + ]; }; }; };