summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-07-22 10:39:38 +0200
committerRasmus Steinke <rasi@xssn.at>2016-07-22 10:39:38 +0200
commitd25f931b4d8e09389fb9959ff31aadd657b45a7f (patch)
tree7740180926155690c66e3142b6bfd9f88735625c /clerk
parent9409349db2dbc56ce101ff6ba9ea9ab714d06897 (diff)
downloadperl-app-clerk-d25f931b4d8e09389fb9959ff31aadd657b45a7f.tar.gz
perl-app-clerk-d25f931b4d8e09389fb9959ff31aadd657b45a7f.tar.xz
push
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk18
1 files changed, 6 insertions, 12 deletions
diff --git a/clerk b/clerk
index 0425a4e..1800c90 100755
--- a/clerk
+++ b/clerk
@@ -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)