blob: 85366c0f81f18285033f5d48b440ab5f1a67808c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
STATUS="$(playerctl status)"
if [[ "$STATUS" == "Playing" ]]; then
TITLE="$(playerctl metadata title)"
ARTIST="$(playerctl metadata artist)"
printf "%s - %s" "$ARTIST" "$TITLE"
else
echo ""
fi
|