home: wm: i3: also toggle xss-lock
This commit is contained in:
parent
85ff634331
commit
a5d3f7f861
|
@ -58,9 +58,11 @@ let
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if ${systemctlUser} is-active xautolock-session.service; then
|
if ${systemctlUser} is-active xautolock-session.service; then
|
||||||
${systemctlUser} stop --user xautolock-session.service
|
${systemctlUser} stop --user xautolock-session.service
|
||||||
|
xset s off
|
||||||
${notify} "Disabled Xautolock"
|
${notify} "Disabled Xautolock"
|
||||||
else
|
else
|
||||||
${systemctlUser} start xautolock-session.service
|
${systemctlUser} start xautolock-session.service
|
||||||
|
xset s on
|
||||||
${notify} "Enabled Xautolock"
|
${notify} "Enabled Xautolock"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue