From 57717d70ef29a52cdb9f84a37d38055fca066972 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 26 Jun 2021 18:38:11 +0200 Subject: [PATCH] home: wm: i3: also toggle xss-lock --- home/wm/i3.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/wm/i3.nix b/home/wm/i3.nix index 7b95e4a..14ec64e 100644 --- a/home/wm/i3.nix +++ b/home/wm/i3.nix @@ -58,9 +58,11 @@ let #!/bin/sh if ${systemctlUser} is-active xautolock-session.service; then ${systemctlUser} stop --user xautolock-session.service + xset s off ${notify} "Disabled Xautolock" else ${systemctlUser} start xautolock-session.service + xset s on ${notify} "Enabled Xautolock" fi '';