From 9f09eb003227348b39eeb69954166b439e18ab2b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 27 Dec 2014 05:54:04 -0500 Subject: [PATCH] Make mu4e notifications work again. --- dotfiles/lib/shellenv/mu4e.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dotfiles/lib/shellenv/mu4e.sh b/dotfiles/lib/shellenv/mu4e.sh index ab06eb7a..12f24446 100644 --- a/dotfiles/lib/shellenv/mu4e.sh +++ b/dotfiles/lib/shellenv/mu4e.sh @@ -10,14 +10,12 @@ function mu4e_alert_for_filename { local subject="$(echo $message | grep Subject | sed 's/Subject: //')" local mu4e_message_id="$(mu4e_get_msg_id_from_file $1)" local view_message_command="$(which zsh) -c \"refresh_config && emacs_make_frame_if_none_exists && mu4e_view_message $mu4e_message_id\"" - local app_icon_argument='' - test -e "$APP_ICON" && app_icon_argument="-appIcon \"$APP_ICON\"" reattach-to-user-namespace $(which terminal-notifier) \ -title "$title" \ -message "$subject" \ -execute "$view_message_command" \ -activate "org.gnu.Emacs" \ - $app_icon_argument + -appIcon $APP_ICON } function mu4e_update_mail {