Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #21 from Logaritmisk/master

Application name for growlnotify
  • Loading branch information...
commit 0d855f906d4a6d3052a9a23a6db58c4efaab9085 2 parents 630e6d8 + 525092d
@sickill sickill authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  git-dude
View
3  git-dude
@@ -24,6 +24,7 @@ set -e
interval=$(git config dude.interval || true)
interval=${interval:-60}
+app_name=$(basename $0)
export LC_ALL=C # make sure git talks english
@@ -32,7 +33,7 @@ if [[ $(git config dude.notify-command) ]]; then
elif [ $(which notify-send 2>/dev/null) ]; then
notify_cmd='notify-send -i "$ICON_PATH" "$TITLE" "$DESCRIPTION"'
elif [ $(which growlnotify 2>/dev/null) ]; then
- notify_cmd='growlnotify --image "$ICON_PATH" -m "$DESCRIPTION" "$TITLE"'
+ notify_cmd='growlnotify -n "$app_name" --image "$ICON_PATH" -m "$DESCRIPTION" "$TITLE"'
elif [ $(which kdialog 2>/dev/null) ]; then
notify_cmd='kdialog --icon $ICON_PATH --title "$TITLE" --passivepopup "$DESCRIPTION"'
fi
Please sign in to comment.
Something went wrong with that request. Please try again.