diff --git a/.config/i3pystatus/screensaver-status.sh b/.config/i3pystatus/screensaver-status.sh index d71e9d1..9d4247a 100755 --- a/.config/i3pystatus/screensaver-status.sh +++ b/.config/i3pystatus/screensaver-status.sh @@ -1,8 +1,8 @@ #!/bin/bash -OUT=$(xset q | grep timeout | awk '{print $2}') +OUT="$(xset q | grep timeout | awk '{print $2}')" -if [ $OUT -eq 0 ] +if [ "$OUT" = "0" ] then echo "OFF" exit 1