i3mail uses du -a now for autism
This commit is contained in:
parent
e6269722e9
commit
a8c46a59a1
1 changed files with 8 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue