Bump version and update Changes
[app-xmms2-notifier.git] / xmms2-notifier
index 437b68167217465efde2aef794a518c6dc5eaf73..92ffcd5df2c501350766426552f018cb725830c7 100755 (executable)
@@ -1,10 +1,13 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 use v5.14;
 use warnings;
 
 use App::XMMS2::Notifier;
+use Getopt::Long;
 
-App::XMMS2::Notifier->run
+my $format = '$artist - $title';
+GetOptions ("format=s" => \$format);
+App::XMMS2::Notifier::run($format)
 
 __END__
 
@@ -90,7 +93,7 @@ Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (C) 2013 by Marius Gavrilescu
+Copyright (C) 2013-2016 by Marius Gavrilescu
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself, either Perl version 5.14.2 or,
@@ -98,4 +101,3 @@ at your option, any later version of Perl 5 you may have available.
 
 
 =cut
-
This page took 0.010441 seconds and 4 git commands to generate.