dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit a8c46a59a199abc4fc8927d8aacd6c25cddc44f0
parent e6269722e9246a0a26db7aceb5a2ad2322046951
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  4 Sep 2018 14:15:28 -0400

i3mail uses du -a now for autism

Diffstat:
M.scripts/i3mail | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.scripts/i3mail b/.scripts/i3mail @@ -1,5 +1,11 @@ #!/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 ;; + 1) $TERMINAL -e neomutt ;; 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)