summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-10-30 22:52:01 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-10-30 22:52:01 -0400
commitf0abb7190ab74155a344f31812330ca2aa9a855a (patch)
treef1117b0f331c3af70d8d74b6962712290b8f41aa /etc
parent068768ff3721f254807fc5df8ca2d49a58dcc759 (diff)
last run file hidden
Diffstat (limited to 'etc')
-rwxr-xr-xetc/mailsync.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/mailsync.sh b/etc/mailsync.sh
index 4d8f190..ced17f9 100755
--- 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