home: wm: i3: also toggle xss-lock
This commit is contained in:
parent
7a382368e8
commit
57717d70ef
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue