diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-07 11:17:51 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-07 11:17:51 +0200 |
commit | 60ed05a779d99c8dd5e93b7e177b204b5919a719 (patch) | |
tree | 9181adbcc00e5b55e840111c55072235cd0a904f | |
parent | Fixed extra space issue (diff) | |
download | dwm-60ed05a779d99c8dd5e93b7e177b204b5919a719.tar.gz dwm-60ed05a779d99c8dd5e93b7e177b204b5919a719.tar.bz2 dwm-60ed05a779d99c8dd5e93b7e177b204b5919a719.zip |
Changed order of wifi icon in dwm-status
-rwxr-xr-x | scripts/dwm-status | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/dwm-status b/scripts/dwm-status index e640b41..c16d1d5 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -67,11 +67,6 @@ tor() { network() { - if [ "$(cat /sys/class/net/eth?/carrier)" == "1" ]; then - echo "" # - echo "$delim" - fi - if grep -q wlan* "/proc/net/wireless"; then # Wifi quality percentage @@ -85,6 +80,11 @@ network() { echo $delim fi + if [ "$(cat /sys/class/net/eth?/carrier)" == "1" ]; then + echo "" # + echo "$delim" + fi + if [ "$internet" = true ]; then echo "" echo $delim @@ -102,7 +102,7 @@ bluetooth() { echo "" echo "$delim" else - : + : #echo "" fi } @@ -144,7 +144,7 @@ battery(){ if [ "$ac_adapter" == "Charging" ]; then echo "" fi - + # Will show all batteries with approximate icon for remaining power. for x in /sys/class/power_supply/BAT?/capacity; do |