summaryrefslogtreecommitdiff
path: root/.i3lock
diff options
context:
space:
mode:
Diffstat (limited to '.i3lock')
-rwxr-xr-x.i3lock/lock.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.i3lock/lock.sh b/.i3lock/lock.sh
index ad13822..4c84a1c 100755
--- a/.i3lock/lock.sh
+++ b/.i3lock/lock.sh
@@ -30,7 +30,7 @@ if [ $(grep -r 'RUNNING' /proc/asound | wc -l) -ne 0 ] && [[ "$1" == 'suspend' ]
if [ -x "$(command -v zenity)" ]; then
zenity --error --no-wrap --text="$message"
- elif [ -x "$(command -v zenity)" ]; then
+ elif [ -x "$(command -v xmessage)" ]; then
xmessage -center "$message"
elif [ -x "$(command -v notify-send)" ]; then
notify-send -u critical "$message"