summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk4
1 files changed, 2 insertions, 2 deletions
diff --git a/clerk b/clerk
index 939a7f7..1ab2bd4 100755
--- a/clerk
+++ b/clerk
@@ -548,10 +548,10 @@ dplayQueue () {
elif [[ -z $last ]]; then
POS=$(echo $(( $POS +2 )))
else
- POS=$(echo $(( $POS + 6 )))
+ POS=$(echo $POS(( $POS + 6 )))
fi
else
- POS=0
+ POS=$(echo $(( $(mpc current -f '%position%') + 5 )))
fi
select="-selected-row $POS"