change default notification title
This commit is contained in:
parent
f23088df92
commit
6be47f6536
|
@ -2,3 +2,10 @@
|
||||||
|
|
||||||
Simple Perl script to send notifications via [Pushover](https://pushover.net)
|
Simple Perl script to send notifications via [Pushover](https://pushover.net)
|
||||||
|
|
||||||
|
$ ./pushover.pl
|
||||||
|
Usage: ./pushover.pl [-m message] [-t title] [-p priority]
|
||||||
|
Options:
|
||||||
|
-m | --message text
|
||||||
|
-t | --title text (default: Notification)
|
||||||
|
-p | --priority [0|1] (default: 0)
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ use JSON::PP;
|
||||||
|
|
||||||
GetOptions(
|
GetOptions(
|
||||||
"message=s" => \(my $MESSAGE),
|
"message=s" => \(my $MESSAGE),
|
||||||
"title=s" => \(my $TITLE = "OpenBSD Amsterdam"),
|
"title=s" => \(my $TITLE = "Notification"),
|
||||||
"priority=i" => \(my $PRIORITY = 0),
|
"priority=i" => \(my $PRIORITY = 0),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue