Skip to content

Instantly share code, notes, and snippets.

@dolph
Created August 28, 2012 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolph/3498554 to your computer and use it in GitHub Desktop.
Save dolph/3498554 to your computer and use it in GitHub Desktop.
Notify after long running script
#!/bin/bash
# Run and time the command, including arguments with spaces
time $*
# notify the user using libnotify
notify-send --icon=next "Execution Complete" "$*" &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment