Andrew's git
/
scripts.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
[i3blocks-music] add music symbol
author
Andrew Lorimer
<andrew@lorimer.id.au>
Thu, 14 Apr 2022 11:58:17 +0000
(21:58 +1000)
committer
Andrew Lorimer
<andrew@lorimer.id.au>
Thu, 14 Apr 2022 11:58:17 +0000
(21:58 +1000)
i3blocks-music.pl
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
186e7c8
)
diff --git
a/i3blocks-music.pl
b/i3blocks-music.pl
index b24f6b1625792421d7c7d551f1d199ed6b79645a..ead4f4dbbb517140cc156f40ebc71421e47a1561 100755
(executable)
--- a/
i3blocks-music.pl
+++ b/
i3blocks-music.pl
@@
-14,9
+14,9
@@
if ($ARGV[0] =~ "--player=") {
}
# Check playback status and set appropriate colour
}
# Check playback status and set appropriate colour
-$_ = qx(playerctl status);
+$_ = qx(playerctl
$player_arg
status);
if (not m/Playing/) {
if (not m/Playing/) {
- print("<span color='#586e75'>");
+ print("<span color='#586e75'>
♪
");
}
else {
print("<span>♪ ");
}
else {
print("<span>♪ ");