-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,9 @@ USAGE | |
noti [options] [utility [args...]] | ||
OPTIONS | ||
-f, -foreground | ||
Bring the terminal to the foreground. | ||
-t, -title | ||
Set the notification title. If no arguments passed, default is "noti", | ||
else default is utility name. | ||
otherwise default is utility name. | ||
-m, -message | ||
Set notification message. Default is "Done!" | ||
|
@@ -30,6 +27,9 @@ OPTIONS | |
Blow, Bottle, Frog, Funk, Glass, Hero, Morse, Ping, Pop, Purr, Sosumi, | ||
Submarine, Tink. Check /System/Library/Sounds for available sounds. | ||
-f, -foreground | ||
Bring the terminal to the foreground. | ||
-v, -version | ||
Print noti version and exit. | ||
|
@@ -40,15 +40,11 @@ EXAMPLES | |
Display a notification when tar finishes compressing files. | ||
noti tar -cjf music.tar.bz2 Music/ | ||
Display a notification when apt-get finishes updating on a remote server. | ||
noti ssh [email protected] apt-get update | ||
Set the notification title to "homebrew" and message to "Up to date" and | ||
display it after Homebrew finishes updating. | ||
noti -t "homebrew" -m "up to date" brew update | ||
You can also add noti after a command, in case you forgot at the beginning. | ||
clang foo.c -Wall -lm -L/usr/X11R6/lib -lX11 -o bizz; noti | ||
Create a reminder to get back to a friend. | ||
noti -t "Reply to Pedro" gsleep 5m & | ||
` | ||
|
||
const ( | ||
|