瀏覽代碼

title and body dunst notification

tags/v3.1
Luke Smith 5 年之前
父節點
當前提交
96e582a817
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4C50B54A911F6252
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync 查看文件

@@ -16,7 +16,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" & pgrep -x dunst && notify-send "📬 $2 new mail(s) in \`$1\` account." ;}
notify() { paplay "$HOME/.config/mutt/bin/notify.ogg" & pgrep -x dunst && notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;}
fi

echo " 🔃" > /tmp/imapsyncicon


Loading…
取消
儲存