i3pystatus: use more "" in screensaver-status.sh
This commit is contained in:
parent
3adc9e47e0
commit
ac9a581e9d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue