From 53c999693834dc7b41dfd5a0051f7704ef825802 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Tue, 1 Sep 2015 00:29:24 +0200 Subject: rename return --- clerk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clerk b/clerk index 47890a6..3e5e134 100755 --- a/clerk +++ b/clerk @@ -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 -- cgit v1.2.3-24-g4f1b