add xfertest.sh, i3blocks-music ampersand
[scripts.git] / i3blocks-music.pl
index 6a8cc72faef33b47c0aafcca39358a744667528e..cd32d15adaccdd4eeb3759c53189be7e86a2c622 100755 (executable)
@@ -28,6 +28,7 @@ push(@metadata, $artist) if $artist;
 
 my $title = qx(playerctl $player_arg metadata title);
 $title =~ s/(\s|\s\()[Ff]([et]at[. ].*|t.*)//;
+$title =~ s/&/&/;
 push(@metadata, $title) if $title;
 
 # Print stuff