X-Git-Url: http://git.ieval.ro/?p=app-xmms2-notifier.git;a=blobdiff_plain;f=xmms2-notifier;h=92ffcd5df2c501350766426552f018cb725830c7;hp=262d6b5adb38d9d1c357bb9c12714e0e107e6ce6;hb=9399d920cdc7d5a23eea029d88d6a857978e68b0;hpb=f3286fcdcb8b72114af37942582795b08dbc0a74 diff --git a/xmms2-notifier b/xmms2-notifier index 262d6b5..92ffcd5 100755 --- a/xmms2-notifier +++ b/xmms2-notifier @@ -3,8 +3,11 @@ 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 -