dot com
This commit is contained in:
commit
b0c8191788
20 changed files with 836 additions and 0 deletions
9
dot_scripts/executable_player.sh
Normal file
9
dot_scripts/executable_player.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
player_status=$(playerctl status 2> /dev/null)
|
||||
|
||||
if [ "$player_status" = "Playing" ]; then
|
||||
echo "$(playerctl metadata artist) - $(playerctl metadata title)"
|
||||
else
|
||||
echo "-"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue