Ver código fonte

notification sound removed

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

+ 1
- 1
bin/mailsync Ver arquivo

@@ -10,7 +10,7 @@ export DISPLAY=:0.0
if [ "$(uname)" = "Darwin" ]; then
notify() { osascript -e "display notification \"$2 in $1\" with title \"You've got Mail\" subtitle \"Account: $account\"" && sleep 2 ;}
else
notify() { paplay "$HOME/.config/mutt/bin/notify.ogg" & notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;}
notify() { notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;}
fi

echo " 🔃" > /tmp/imapsyncicon


BIN
bin/notify.ogg Ver arquivo


Carregando…
Cancelar
Salvar