Parcourir la source

mailsync checks inbox case insens

tags/v3.1
Luke Smith il y a 5 ans
Parent
révision
927a95bd2c
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4C50B54A911F6252
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync Voir le fichier

@@ -25,7 +25,7 @@ pkill -RTMIN+12 i3blocks
for account in "$HOME/.local/share/mail/"*
do
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" &
done
notmuch new 2>/dev/null


Chargement…
Annuler
Enregistrer