diff options
author | mutantturkey <mutantturke@gmail.com> | 2012-07-20 10:38:32 -0400 |
---|---|---|
committer | mutantturkey <mutantturke@gmail.com> | 2012-07-20 10:38:32 -0400 |
commit | d52e7aa09a792d42460b2999158fc91dcc791dfb (patch) | |
tree | d189d9b97cd37321de3ca5dd089340bcbdec6108 /dmenu_mocp/dmenu_mocp~ | |
parent | 8290c676ed384966aa27b1b0199e7ee455a15376 (diff) |
cleanups and formatting
Diffstat (limited to 'dmenu_mocp/dmenu_mocp~')
-rwxr-xr-x | dmenu_mocp/dmenu_mocp~ | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/dmenu_mocp/dmenu_mocp~ b/dmenu_mocp/dmenu_mocp~ deleted file mode 100755 index 2fd167e..0000000 --- a/dmenu_mocp/dmenu_mocp~ +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -#thanks to dpm i just changed up the commands xD - -status=$(mocp -Q %state) -status=${status,,} -ACTION=`printf "playlist\n$status\nnext\nprevious\nstart\nexit\nopen\nload\nshuffle\nrepeat\n" | dmenu -i $*` - -if [ "$ACTION" == 'playlist' ]; then - mocp -p -fi - -if [ "$ACTION" == 'pause/play' ]; then - mocp -G -fi - -if [ "$ACTION" == 'next' ]; then - mocp -f -fi - -if [ "$ACTION" == 'previous' ]; then - mocp -r -fi - -if [ "$ACTION" == 'start' ]; then - mocp -S - dmenu_mocp -fi - -if [ "$ACTION" == 'exit' ]; then - mocp -x -fi - -if [ "$ACTION" == 'open' ]; then - xterm -e mocp -fi - -if [ "$ACTION" == 'load' ]; then - mocp -c && - play=$(find ~/ -name *.m3u | dmenu -i $*) - echo $play - mocp -a "$play" - mocp -p -fi -if [ "$ACTION" == 'shuffle' ]; then - mocp -t shuffle -fi - -if [ "$ACTION" == 'repeat' ]; then - mocp -t repeat -fi - |