Skip to content

Instantly share code, notes, and snippets.

@paneq
Created July 1, 2011 08:43
Show Gist options
  • Save paneq/1058109 to your computer and use it in GitHub Desktop.
Save paneq/1058109 to your computer and use it in GitHub Desktop.
rake with notification
#!/bin/bash
bundle exec rake "$@"
if [ $? = 0 ];
then
notify-send -u critical "Yeah" -i $HOME/bin/notify-images/happy.jpg
else
notify-send -u critical "fffuck!" -i $HOME/bin/notify-images/fffuuu.jpg
fi
@mostlyobvious
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment