From 1d5faf6f72dfd288dd9041fec24b3c0b9aa7caf1 Mon Sep 17 00:00:00 2001 From: Aaron Burchfield Date: Thu, 26 Mar 2015 19:06:41 -0700 Subject: [PATCH] bgnotify - notification icons from sending app "-sender" uses the same BundleID as "-activate" so we can display the terminal app's corresponding icon. --- plugins/bgnotify/bgnotify.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bgnotify/bgnotify.plugin.zsh b/plugins/bgnotify/bgnotify.plugin.zsh index ac4d006e0..2fe08f4e7 100755 --- a/plugins/bgnotify/bgnotify.plugin.zsh +++ b/plugins/bgnotify/bgnotify.plugin.zsh @@ -42,7 +42,7 @@ terminalBundleID () { bgnotify () { if hash terminal-notifier 2>/dev/null; then #osx - terminal-notifier -message "$2" -title "$1" -activate "$(terminalBundleID)" + terminal-notifier -message "$2" -title "$1" -activate "$(terminalBundleID)" -sender "$(terminalBundleID)" elif hash growlnotify 2>/dev/null; then #osx growl growlnotify -m $1 $2 elif hash notify-send 2>/dev/null; then #ubuntu!