Daemonize swaylock to allow for subsequent actions
This commit is contained in:
parent
7c3ba7cad8
commit
73501f0489
|
@ -117,7 +117,7 @@ elif [[ $1 == "undim" ]]; then
|
|||
$HOME/scripts/thinkpad/blc.pl = $(cat $BLFILE) &>-
|
||||
elif [[ $1 == "lock" ]]; then
|
||||
if [[ $IDLEMODE -gt 2 ]]; then
|
||||
swaylock -c 00000000
|
||||
swaylock -f -c 00000000
|
||||
fi
|
||||
elif [[ $1 == "unlock" ]]; then
|
||||
kill -USR1 $(pgrep swaylock)
|
||||
|
|
Loading…
Reference in New Issue