about summary refs log tree commit diff
path: root/scripts/dwm-status
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dwm-status')
-rwxr-xr-xscripts/dwm-status14
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