summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk5
1 files changed, 3 insertions, 2 deletions
diff --git a/clerk b/clerk
index 7306a81..2e4eef7 100755
--- a/clerk
+++ b/clerk
@@ -220,12 +220,13 @@ dplayPrompt () {
-kb-custom-6 ${tracklist} \
-kb-custom-7 ${queue} \
-kb-custom-8 ${seek} \
- -only-match \
-p "clerk > ")
val=$?
- if [[ $val -eq 10 ]]; then
+ if [[ $val -eq 1 ]]; then
+ exit
+ elif [[ $val -eq 10 ]]; then
mpc prev
dplayPrompt
elif [[ $val -eq 11 ]]; then