From ac9a581e9dae9e45712ec7396c45daf2316a5d81 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 30 Jul 2021 08:41:50 +0200 Subject: [PATCH] i3pystatus: use more "" in screensaver-status.sh --- .config/i3pystatus/screensaver-status.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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