diff options
author | Rasmus Steinke <rasi@xssn.at> | 2016-07-22 10:39:38 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2016-07-22 10:39:38 +0200 |
commit | d25f931b4d8e09389fb9959ff31aadd657b45a7f (patch) | |
tree | 7740180926155690c66e3142b6bfd9f88735625c /clerk | |
parent | 9409349db2dbc56ce101ff6ba9ea9ab714d06897 (diff) | |
download | perl-app-clerk-d25f931b4d8e09389fb9959ff31aadd657b45a7f.tar.gz perl-app-clerk-d25f931b4d8e09389fb9959ff31aadd657b45a7f.tar.xz |
push
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -1617,18 +1617,12 @@ TRACK_TEMP="$(_rofi \ exitAfterAdd elif [[ $val -eq 0 ]]; then - if [[ "$TRACK" == "< Return" ]]; then - browseLibPrompt - elif [[ "$TRACK" == "---" ]]; then - addTrackTags - else - filename=$(echo "$TRACK" | gawk -F '\t' '{print $NF}') - echo "$filename" | uniq | while read line; do - mpc add "${line}" - done - entry="$firstline" - exitAfterAdd - fi + filename=$(echo "$TRACK" | gawk -F '\t' '{print $NF}') + echo "$filename" | uniq | while read line; do + mpc add "${line}" + done + entry="$firstline" + exitAfterAdd elif [[ $val -eq 13 ]]; then title=$(echo "$TRACK" | gawk -F '\t' '{print $2}' | head -1) |