mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit f0abb7190ab74155a344f31812330ca2aa9a855a
parent 068768ff3721f254807fc5df8ca2d49a58dcc759
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue, 30 Oct 2018 22:52:01 -0400

last run file hidden

Diffstat:
M.gitignore | 1+
Metc/mailsync.sh | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -6,4 +6,5 @@ personal.muttrc thunderbird/ autoconf/log etc/mailsynclastrun +etc/.mailsynclastrun .dl diff --git a/etc/mailsync.sh b/etc/mailsync.sh @@ -32,7 +32,7 @@ pkill -RTMIN+12 i3blocks for account in $(ls ~/.mail) do #List unread messages newer than last mailsync and count them - newcount=$(find ~/.mail/"$account"/INBOX/new/ -type f -newer ~/.config/mutt/etc/mailsynclastrun 2> /dev/null | wc -l) + newcount=$(find ~/.mail/"$account"/INBOX/new/ -type f -newer ~/.config/mutt/etc/.mailsynclastrun 2> /dev/null | wc -l) if [ "$newcount" -gt "0" ] then notify "$account" "$newcount" & @@ -41,4 +41,4 @@ done notmuch new #Create a touch file that indicates the time of the last run of mailsync -touch ~/.config/mutt/etc/mailsynclastrun +touch ~/.config/mutt/etc/.mailsynclastrun