Skip to content

Instantly share code, notes, and snippets.

@Shinpeim
Created June 26, 2011 17:11
Show Gist options
  • Save Shinpeim/1047769 to your computer and use it in GitHub Desktop.
Save Shinpeim/1047769 to your computer and use it in GitHub Desktop.
#!/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