diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-07-23 20:20:09 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-07-23 20:20:09 +0200 |
commit | 75525a4386587b025674d1e9d3e7a234774af7c3 (patch) | |
tree | 4fe830822f14d55cc85929370e833bb1c02ba63f | |
parent | Added support for devel update checking (1.5/2) (diff) | |
download | dwm-75525a4386587b025674d1e9d3e7a234774af7c3.tar.gz dwm-75525a4386587b025674d1e9d3e7a234774af7c3.tar.bz2 dwm-75525a4386587b025674d1e9d3e7a234774af7c3.zip |
Improved the overall scripts coehesion (POSIX)
-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 |