From a9a84685237e0cd082d3b743aae9f05bee14ed74 Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Thu, 14 Apr 2022 21:58:17 +1000 Subject: [PATCH 1/1] [i3blocks-music] add music symbol --- i3blocks-music.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3blocks-music.pl b/i3blocks-music.pl index b24f6b1..ead4f4d 100755 --- a/i3blocks-music.pl +++ b/i3blocks-music.pl @@ -14,9 +14,9 @@ if ($ARGV[0] =~ "--player=") { } # Check playback status and set appropriate colour -$_ = qx(playerctl status); +$_ = qx(playerctl $player_arg status); if (not m/Playing/) { - print(""); + print("♪ "); } else { print("♪ "); -- 2.47.0