summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclerk4
-rw-r--r--clerk.conf3
2 files changed, 5 insertions, 2 deletions
diff --git a/clerk b/clerk
index fa6d432..c625435 100755
--- a/clerk
+++ b/clerk
@@ -64,7 +64,7 @@ sub parse_config {
player => $g->{player},
tagging => $g->{tagging},
randomartist => $g->{randomartist},
- jump_query => $g->{jump_query}
+ jump_queue => $g->{jump_queue}
);
my $c = $cfg->param(-block=>'Columns');
@@ -393,7 +393,7 @@ sub tmux {
}
sub tmux_jump_to_queue_maybe {
- tmux qw/findw -t music queue/ if $rvar{jump_queue};
+ tmux qw/findw -t music queue/ if ($rvar{jump_queue} eq "true");
}
sub tmux_spawn_random_pane {
diff --git a/clerk.conf b/clerk.conf
index 18af1ec..16fb4ed 100644
--- a/clerk.conf
+++ b/clerk.conf
@@ -18,6 +18,9 @@ songs=20
# if mpd drops the connection while updating, reduce this.
chunksize=30000
+# enable this to jump to queue after adding songs in tmux ui.
+jump_queue=true
+
# Use albumartist or artist for random tracks?
randomartist=albumartist