diff --git a/.scripts/i3mail b/.scripts/i3mail index 616facf..46ad432 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 | sed -e "s/^0$//g") $(cat ~/.config/mutt/.dl) +echo $(find ~/.mail -wholename */INBOX/new/* | sed -n '$=') $(cat ~/.config/mutt/.dl)