-
-
Save dolph/3498554 to your computer and use it in GitHub Desktop.
Notify after long running script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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