Created
June 26, 2011 17:11
-
-
Save Shinpeim/1047769 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Mac::Growl; | |
system @ARGV; | |
my $appname = "notice.pl"; | |
Mac::Growl::RegisterNotifications($appname, ['alert'], ['alert']); | |
Mac::Growl::PostNotification( | |
$appname, | |
'alert', | |
$appname, | |
"$ARGV[0] done", | |
0, | |
0, | |
undef, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment