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-status4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dwm-status b/scripts/dwm-status
index 559a84d..ffd37e7 100755
--- a/scripts/dwm-status
+++ b/scripts/dwm-status
@@ -168,12 +168,12 @@ status() { \
 		8[0-9]|7[0-9])	echo " $(cat $x)%" ;;
 		6[0-9]|5[0-9])	echo " $(cat $x)%" ;;
 		4[0-9]|3[0-9])	echo " $(cat $x)%" ;;
-		2[0-9]|1[0-9])	if [ "$ac_adapter" == "on" ]; then
+		2[0-9]|1[0-9])	if [ "$ac_adapter" == "Charging" ]; then
 											echo " $(cat $x)%"
 										else
 			 								echo "   $(cat $x)%"
 										fi ;;
-		[0-9])	        if [ "$ac_adapter" == "on" ]; then
+		[0-9])	        if [ "$ac_adapter" == "Charging" ]; then
 											echo " $(cat $x)%"
 										else
 			 								echo "   $(cat $x)%"