xmobar - restructure and clean sound/music
This commit is contained in:
parent
c0c460f006
commit
286d5cb0ec
91 changed files with 64 additions and 17 deletions
11
config/xmobar/scripts/quodlibet
Executable file
11
config/xmobar/scripts/quodlibet
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
status=$(quodlibet --status | cut -d' ' -f1)
|
||||
case "$status" in
|
||||
"playing") icon="<icon=music/play.xpm/>" ;;
|
||||
"paused") icon="<icon=music/pause.xpm/>" ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
echo '<action=`quodlibet --toggle-window`>'"$icon"'</action>'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue