diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-09-01 00:29:24 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-09-01 00:29:24 +0200 |
commit | 53c999693834dc7b41dfd5a0051f7704ef825802 (patch) | |
tree | 6e38f1d20d6977f923e14f058f7ef058c499728d /clerk | |
parent | 22b47342e3e4f6e46e72a7560039ba157435ef52 (diff) | |
download | perl-app-clerk-53c999693834dc7b41dfd5a0051f7704ef825802.tar.gz perl-app-clerk-53c999693834dc7b41dfd5a0051f7704ef825802.tar.xz |
rename return
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -602,7 +602,7 @@ songs () { | column -o ' ' -s $'\t' -t } - TRACKDISPLAY=$(echo -e "0 Return to Main Menu\n---\n$(songs)" | rofi -kb-custom-1 "${delete}" -kb-custom-2 "${rate}" -kb-custom-3 "${save}" -kb-custom-4 "${crop}" -kb-custom-5 "${clear}" -kb-custom-6 "${load}" -kb-custom-7 "${rss}" -kb-custom-8 "${suspend}" -kb-custom-9 "${resume}" -dmenu $(echo "${select}") -mesg "${HELP}" -p "Current Queue > ") + TRACKDISPLAY=$(echo -e "< Return\n---\n$(songs)" | rofi -kb-custom-1 "${delete}" -kb-custom-2 "${rate}" -kb-custom-3 "${save}" -kb-custom-4 "${crop}" -kb-custom-5 "${clear}" -kb-custom-6 "${load}" -kb-custom-7 "${rss}" -kb-custom-8 "${suspend}" -kb-custom-9 "${resume}" -dmenu $(echo "${select}") -mesg "${HELP}" -p "Current Queue > ") tempval=$? val=$tempval @@ -666,7 +666,7 @@ songs () { | awk -F '\t' '{ print $5 }') rateartist="${ARTIST}" ratealbum="${ALBUM}" ratetrack="${TRACK}" ratetitle="${TITLE}" rateTrack - elif [[ $TRACKDISPLAY == *"Main Menu"* ]]; then + elif [[ $TRACKDISPLAY == "< Return" ]]; then dplayQueue fi done |