11 lines
273 B
Bash
Executable file
11 lines
273 B
Bash
Executable file
#!/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
|
|
1) $TERMINAL -e neomutt ;;
|
|
esac
|
|
|
|
echo "$(du -a ~/.mail/*/INBOX/new/* | sed -n '$=')" $(cat ~/.config/mutt/.dl)
|