From 32599686ee2953d2a0f1c0afdadfacf9218885af Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 6 Sep 2021 09:00:30 +0300 Subject: (1) Made post-unlock commands run more reliably for lock script --- .i3lock/lock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.i3lock/lock.sh b/.i3lock/lock.sh index 406208f..3ef2a05 100755 --- a/.i3lock/lock.sh +++ b/.i3lock/lock.sh @@ -60,7 +60,7 @@ i3lock -f -c d49408 -i /home/kamen/.i3lock/lockscreen.png -n --date-str='%d.%m.%Y' --verif-text='Verifying…' --wrong-text='Wrong!' --noinput-text='No Input!' \ --insidever-color d47408cc --ringver-color d47408 --insidewrong-color c35b5bcc --ringwrong-color c35b5b \ --layout-color ffeede --time-color ffeede --date-color ffeede --greeter-color ffeede --verif-color ffeede --wrong-color ffeede \ -&& when_unlocked && if [ -f '/tmp/slept' ]; then when_unlocked_after_suspend; rm /tmp/slept; fi +; when_unlocked && if [ -f '/tmp/slept' ]; then when_unlocked_after_suspend; rm /tmp/slept; fi ) & if [[ "$1" == 'suspend' ]]; then -- cgit v1.2.3