Move argument parsing into script
[app-xmms2-notifier.git] / xmms2-notifier
index 262d6b5adb38d9d1c357bb9c12714e0e107e6ce6..a4812ae1e487bfdc2e062375983836ab69ad140d 100755 (executable)
@@ -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__
 
This page took 0.00932 seconds and 4 git commands to generate.