From a3704ba8d62c98662ea40d42f76234e9c7539d20 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Thu, 13 Jun 2019 17:46:08 +0200 Subject: Added mail number to status bar --- scripts/dwm-status | 5 +---- 1 file changed, 1 insertion(+), 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" -- cgit 1.4.1