Add Tauon status to Waybar
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
ae974d2eba
commit
36dbe5a024
2 changed files with 15 additions and 2 deletions
5
system/.local/bin/tauon-status
Executable file
5
system/.local/bin/tauon-status
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
if [ "$(playerctl -p tauon status)" = "Playing" ]; then
|
||||
echo "$(playerctl -p tauon metadata xesam:albumArtist) - $(playerctl -p tauon metadata xesam:album) - $(playerctl -p tauon metadata xesam:title)"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue