X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=xmms2-notifier;h=92ffcd5df2c501350766426552f018cb725830c7;hb=HEAD;hp=437b68167217465efde2aef794a518c6dc5eaf73;hpb=d53a283b8882012999e53c693871acf64e8fb7ef;p=app-xmms2-notifier.git diff --git a/xmms2-notifier b/xmms2-notifier index 437b681..92ffcd5 100755 --- a/xmms2-notifier +++ b/xmms2-notifier @@ -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, Emarius@ieval.roE =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 -