diff options
Diffstat (limited to '.i3lock/lock.sh')
| -rwxr-xr-x | .i3lock/lock.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.i3lock/lock.sh b/.i3lock/lock.sh index 76a0ec5..57c3feb 100755 --- a/.i3lock/lock.sh +++ b/.i3lock/lock.sh @@ -21,7 +21,7 @@ when_unlocked_after_suspend () { if [ $(grep -r "RUNNING" /proc/asound | wc -l) -ne 0 ] && [[ "$1" == "suspend" ]]; then message="Please, stop all playing audio before trying to suspend!" - if ![ -x "$(command -v zenity)" ]; then + if [ -x "$(command -v zenity)" ]; then zenity --error --no-wrap --text="$message" elif [ -x "$(command -v zenity)" ]; then xmessage -center "$message" |
