dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit d23f0cc3e8f18b37b428b1235574ff95380ab666
parent 3bb5764c5da4a7c6551a1198ef43ddfd667e31f3
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Mon, 18 Dec 2017 11:07:13 -0500

Make it possible to toggle playback mode from drop-down menu

Diffstat:
Mmisc_code/bitbar-plugins/mpd.3s.sh | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/misc_code/bitbar-plugins/mpd.3s.sh b/misc_code/bitbar-plugins/mpd.3s.sh @@ -16,3 +16,12 @@ echo "Previous | bash=\"$mpcpath\" param1=prev terminal=$debug" echo "Next | bash=\"$mpcpath\" param1=next terminal=$debug" echo "Stop | bash=\"$mpcpath\" param1=stop terminal=$debug" +echo "---" + +echo "$($mpcpath | tail -n 1 )" + +echo "Toggle Repeat | bash=\"$mpcpath\" param1=repeat terminal=$debug" +echo "Toggle Random | bash=\"$mpcpath\" param1=random terminal=$debug" +echo "Toggle Single | bash=\"$mpcpath\" param1=single terminal=$debug" +echo "Toggle Consume | bash=\"$mpcpath\" param1=consume terminal=$debug" +