i3mail uses du -a now for autism

This commit is contained in:
Luke Smith 2018-09-04 14:15:28 -04:00
parent e6269722e9
commit a8c46a59a1

View file

@ -1,5 +1,11 @@
#!/bin/sh #!/bin/sh
# i3blocks mail module.
# Displays number of unread mail and an loading icon if updating.
# When clicked, brings up `neomutt`.
case $BLOCK_BUTTON in case $BLOCK_BUTTON in
1) $TERMINAL -e neomutt ;; 1) $TERMINAL -e neomutt ;;
esac esac
echo $(find ~/.mail -wholename */INBOX/new/* | sed -n '$=') $(cat ~/.config/mutt/.dl)
echo "$(du -a ~/.mail/*/INBOX/new/* | sed -n '$=')" $(cat ~/.config/mutt/.dl)