We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5c4bb8 commit 72434abCopy full SHA for 72434ab
get-spotify
@@ -0,0 +1,7 @@
1
+#!/bin/sh
2
+
3
+isrunning=$(pidof spotify)
4
+[ ! -z "$isrunning" ] \
5
+ && artist=`playerctl metadata artist` \
6
+ && song=`playerctl metadata title | cut -c 1-60` \
7
+ && echo -n "$artist :: $song"
0 commit comments