summaryrefslogtreecommitdiffstats
path: root/.scripts/i3mail
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-06-15 21:44:52 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-06-15 21:44:52 -0400
commit748e9849856ec66374b0f1280a3137ae4f661b43 (patch)
tree9dffcc5ba8fe1f253b84fa25d0364e2c7c282587 /.scripts/i3mail
parente85bf27495f01be9790a4ed0fadc89459f4834ac (diff)
downloadeibhear-748e9849856ec66374b0f1280a3137ae4f661b43.tar.gz
eibhear-748e9849856ec66374b0f1280a3137ae4f661b43.tar.zst
eibhear-748e9849856ec66374b0f1280a3137ae4f661b43.zip
mpd, weather and mail blocks improved
Diffstat (limited to '.scripts/i3mail')
-rwxr-xr-x.scripts/i3mail2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/i3mail b/.scripts/i3mail
index 9b4aa3e..becb085 100755
--- a/.scripts/i3mail
+++ b/.scripts/i3mail
@@ -2,4 +2,4 @@
case $BLOCK_BUTTON in
1) $TERMINAL -e neomutt ;;
esac
-echo $(find ~/.mail -wholename */INBOX/new/* | wc -l)
+echo $(find ~/.mail -wholename */INBOX/new/* | wc -l | sed -e "s/^0$//g")