diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-08-02 21:26:17 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-08-02 21:26:17 +0200 |
commit | bb853eeaf530cde924a872873a95c6252618e41c (patch) | |
tree | 4004fd129d00f5c563e3ca983f8df066a2908d3a | |
parent | 83113875676a4aadd661b5f86a796cf6ff95fcaa (diff) | |
download | perl-app-clerk-bb853eeaf530cde924a872873a95c6252618e41c.tar.gz perl-app-clerk-bb853eeaf530cde924a872873a95c6252618e41c.tar.xz |
update to new syntax arguments
-rwxr-xr-x | clerk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -672,7 +672,7 @@ dplayQueue () { fi - TRACKDISPLAY=$(printf "%s\n" "${TRACKDISPLAY[@]}" | rofi -custom-kb-1 "${play}" -custom-kb-2 "${delete}" -custom-kb-3 "${rate}" -dmenu -l $POS -mesg "<span color='$help_color'>${play}: Play, ${delete}: Delete, ${rate}: Rate</span>" -p "Current Queue > ") + TRACKDISPLAY=$(printf "%s\n" "${TRACKDISPLAY[@]}" | rofi -custom-kb-1 "${play}" -custom-kb-2 "${delete}" -custom-kb-3 "${rate}" -dmenu -selected-row $POS -mesg "<span color='$help_color'>${play}: Play, ${delete}: Delete, ${rate}: Rate</span>" -p "Current Queue > ") tempval=$? val=$tempval @@ -1178,7 +1178,7 @@ ${addall}: Add & Play, ${insertall}: Insert & Play</span>" if [[ -z $line ]]; then select_temp=$(printf "%s\n" "${menu[@]}" | rofi -custom-kb-1 "${add}" -custom-kb-2 "${insert}" -custom-kb-3 "${replace}" -custom-kb-4 "${addplay}" -custom-kb-5 "${insertplay}" -dmenu -format "i¬s" -mesg "${HELP}" -p "Select Album > ") else - select_temp=$(printf "%s\n" "${menu[@]}" | rofi -custom-kb-1 "${add}" -custom-kb-2 "${insert}" -custom-kb-3 "${replace}" -custom-kb-4 "${addplay}" -custom-kb-5 "${insertplay}" -dmenu -l $(( $line + 1 )) -format "i¬s" -mesg "${HELP}" -p "Select Album > ") + select_temp=$(printf "%s\n" "${menu[@]}" | rofi -custom-kb-1 "${add}" -custom-kb-2 "${insert}" -custom-kb-3 "${replace}" -custom-kb-4 "${addplay}" -custom-kb-5 "${insertplay}" -dmenu -selected-row $(( $line + 1 )) -format "i¬s" -mesg "${HELP}" -p "Select Album > ") fi val=$? |