about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-03 20:01:27 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-03 20:01:27 +0200
commit22123950459456a8a6b2799ee0e5a40d2b968d4c (patch)
tree0f77ad1db595aa634ac4e1d6b77f0966fc6a9bcf
parentFormatted dwm-status script (diff)
downloaddwm-22123950459456a8a6b2799ee0e5a40d2b968d4c.tar.gz
dwm-22123950459456a8a6b2799ee0e5a40d2b968d4c.tar.bz2
dwm-22123950459456a8a6b2799ee0e5a40d2b968d4c.zip
Prepare to add ethernet checking dwm-status
-rwxr-xr-xscripts/dwm-status8
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