i3pystatus: use more "" in screensaver-status.sh

This commit is contained in:
Franzi 2021-07-30 08:41:50 +02:00
parent 3adc9e47e0
commit ac9a581e9d
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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