Browse Source

mailsync checks inbox case insens

tags/v3.1
Luke Smith 5 years ago
parent
commit
927a95bd2c
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync View File

@@ -25,7 +25,7 @@ pkill -RTMIN+12 i3blocks
for account in "$HOME/.local/share/mail/"* for account in "$HOME/.local/share/mail/"*
do do
acc="$(echo "$account" | sed "s/.*\///")" acc="$(echo "$account" | sed "s/.*\///")"
newcount=$(find "$HOME/.local/share/mail/$acc/INBOX/new/" -type f -newer "$HOME/.config/mutt/bin/.mailsynclastrun" 2> /dev/null | wc -l)
newcount=$(find "$HOME/.local/share/mail/$acc/INBOX/new/" "$HOME/.local/share/mail/$acc/Inbox/new/" "$HOME/.local/share/mail/$acc/inbox/new/" -type f -newer "$HOME/.config/mutt/bin/.mailsynclastrun" 2> /dev/null | wc -l)
[ "$newcount" -gt "0" ] && notify "$acc" "$newcount" & [ "$newcount" -gt "0" ] && notify "$acc" "$newcount" &
done done
notmuch new 2>/dev/null notmuch new 2>/dev/null


Loading…
Cancel
Save