diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-03 20:01:27 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-03 20:01:27 +0200 |
commit | 22123950459456a8a6b2799ee0e5a40d2b968d4c (patch) | |
tree | 0f77ad1db595aa634ac4e1d6b77f0966fc6a9bcf | |
parent | Formatted dwm-status script (diff) | |
download | dwm-22123950459456a8a6b2799ee0e5a40d2b968d4c.tar.gz dwm-22123950459456a8a6b2799ee0e5a40d2b968d4c.tar.bz2 dwm-22123950459456a8a6b2799ee0e5a40d2b968d4c.zip |
Prepare to add ethernet checking 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 6c63c91..30e4712 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -68,7 +68,9 @@ tor() { fi } -wireless() { +connection() { + + #Add ethernet checking (plugged in) Icon(s): if grep -q wlan* "/proc/net/wireless"; then @@ -81,8 +83,6 @@ wireless() { esac echo $delim - else - : fi if [ "$internet" = true ]; then @@ -190,7 +190,7 @@ status() { \ bluetooth - wireless + connection temperature |