diff options
Diffstat (limited to 'scripts/dwm-status')
-rwxr-xr-x | scripts/dwm-status | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/dwm-status b/scripts/dwm-status index 07046ba..716c9ec 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -55,9 +55,9 @@ tor() { icon_enabled="ﴣ" icon_disabled="" - status=`systemctl is-active tor.service` + status=$(systemctl is-active tor.service) - if [ $status == "active" ] + if [ "$status" == "active" ] then echo "$icon_enabled $delim" else @@ -92,9 +92,9 @@ wireless() { bluetooth() { - status=`systemctl is-active bluetooth.service` + status=$(systemctl is-active bluetooth.service) - if [ $status == "active" ] + if [ "$status" == "active" ] then echo "" else |