about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-13 17:46:08 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-13 17:46:08 +0200
commita3704ba8d62c98662ea40d42f76234e9c7539d20 (patch)
tree78604fca31cf620ed36a37340ae3b5bcdd4249f1
parentChanged default alpha value (diff)
downloaddwm-a3704ba8d62c98662ea40d42f76234e9c7539d20.tar.gz
dwm-a3704ba8d62c98662ea40d42f76234e9c7539d20.tar.bz2
dwm-a3704ba8d62c98662ea40d42f76234e9c7539d20.zip
Added mail number to status bar
-rwxr-xr-xscripts/dwm-status5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/dwm-status b/scripts/dwm-status
index 0d64a95..ac31623 100755
--- a/scripts/dwm-status
+++ b/scripts/dwm-status
@@ -44,9 +44,6 @@ tor() {
 
 wireless() {
 
-# Check internet connection
-
-
 	if grep -q wlan* "/proc/net/wireless"; then
 		# Wifi quality percentage
 		grep "^\s*w" /proc/net/wireless | awk '{ print "", int($3 * 100 / 70) "%" }'
@@ -92,7 +89,7 @@ status() { \
 	echo $(wireless)
 
 	# Show unread mail
-	command -v mw >/dev/null 2>&1 &&
+	command -v neomutt >/dev/null 2>&1 &&
 		echo "$delim" &&
 		du -a ~/Mail/*/INBOX/new/* 2>/dev/null | wc -l | sed 's/^/:/' &&
 		echo "$delim"