Skip to content

Commit

Permalink
Add check for Haiku's notification command
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 committed Jul 6, 2012
1 parent 4bfd73d commit 1b4f1f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git-dude
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ elif [ $(which growlnotify 2>/dev/null) ]; then
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"'
elif [ $(which notify 2>/dev/null) ]; then
notify_cmd='notify --type information --icon $ICON_PATH --group "Git Commit" --title "$TITLE" "$DESCRIPTION"'
fi

function notify() {
Expand Down

0 comments on commit 1b4f1f1

Please sign in to comment.