audacious pipemenu (openbox)
Pipe-menu script to control audacious (for Openbox).
code
#!/bin/bash
# Openbox Pipe Menu for audacious
# To hide the main window is recommended.
# So far , if the main window (Player window )is displayed, it doesn't seem to work correctly.
# Feel free to change this script.
if [ ! "$(pidof audacious)" ]; then
cat <
audacious
END
else
# if you want to show artist and album name, insert this just below
#
cat <
audtool --playback-play
audtool --playback-pause
audtool --playback-stop
audtool --playlist-reverse
audtool --playlist-advance
audtool --playlist-repeat-toggle
audtool --playlist-shuffle-toggle
audtool --jumptofile-show on
audtool --playlist-show on --always-on-top on
audtool --filebrowser-show on --always-on-top on
audtool --preferences-show on
audtool --shutdown
END
fi