Ver código fonte

to avoid user conflicts

tags/v3.1
Luke Smith 5 anos atrás
pai
commit
6faf22488c
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4C50B54A911F6252
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      bin/mailsync

+ 2
- 2
bin/mailsync Ver arquivo

@@ -14,12 +14,12 @@ else
notify() { notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;} notify() { notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;}
fi fi


echo " 🔃" > /tmp/imapsyncicon
echo " 🔃" > /tmp/imapsyncicon_$USER
pkill -RTMIN+12 i3blocks pkill -RTMIN+12 i3blocks


# Run mbsync. You can feed this script different settings. # Run mbsync. You can feed this script different settings.
mbsync -a "$@" mbsync -a "$@"
rm -f /tmp/imapsyncicon
rm -f /tmp/imapsyncicon_$USER
pkill -RTMIN+12 i3blocks pkill -RTMIN+12 i3blocks


# Check all accounts/mailboxes for new mail. Notify if there is new content. # Check all accounts/mailboxes for new mail. Notify if there is new content.


Carregando…
Cancelar
Salvar