fixed suspend :) (lock now doesn't fork when --suspend flag is passed)

This commit is contained in:
2019-02-22 09:15:10 +01:00
parent caec5d5d04
commit d60e9c848f
2 changed files with 14 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
# check if locked
if !(pgrep -x "i3lock" > /dev/null)
then
bash ~/.config/i3/scripts/i3lock.sh
bash ~/.config/i3/scripts/i3lock.sh --suspend
fi
systemctl suspend