summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-07-26 16:11:37 +0200
committerRasmus Steinke <rasi@xssn.at>2017-07-26 16:11:37 +0200
commit216d821533eaa04d81435c54b088bf64ee63ca10 (patch)
tree8b59a8399c2cd70d6696c2e8e8989876f1b907ca
parent7eaafbdb5573947e46a38d6d40900786bfccf6de (diff)
downloadperl-app-clerk-216d821533eaa04d81435c54b088bf64ee63ca10.tar.gz
perl-app-clerk-216d821533eaa04d81435c54b088bf64ee63ca10.tar.xz
allow to customize player for queue tab
-rwxr-xr-xclerk_fzf/clerk_fzf4
-rw-r--r--clerk_fzf/clerk_fzf.conf3
2 files changed, 5 insertions, 2 deletions
diff --git a/clerk_fzf/clerk_fzf b/clerk_fzf/clerk_fzf
index 66ba3e2..4142f59 100755
--- a/clerk_fzf/clerk_fzf
+++ b/clerk_fzf/clerk_fzf
@@ -229,7 +229,7 @@ tmux new-session -s music2 -n albums -d 'clerk_fzf --albums'
tmux new-window -t music2 -n tracks 'clerk_fzf --tracks'
tmux new-window -t music2 -n latest 'clerk_fzf --latest'
tmux new-window -t music2 -n playlists 'clerk_fzf --playlists'
-tmux new-window -t music2 -n queue 'ncmpcpp'
+tmux new-window -t music2 -n queue "${player}"
tmux rename-session -t music music_old
tmux rename-session -t music2 music
@@ -367,7 +367,7 @@ main() {
tmux new-window -t music -n tracks 'clerk_fzf --tracks'
tmux new-window -t music -n latest 'clerk_fzf --latest'
tmux new-window -t music -n playlists 'clerk_fzf --playlists'
- tmux new-window -t music -n queue 'ncmpcpp'
+ tmux new-window -t music -n queue "${player}"
fi
tmux attach -t music
}
diff --git a/clerk_fzf/clerk_fzf.conf b/clerk_fzf/clerk_fzf.conf
index 5c87b5b..8188721 100644
--- a/clerk_fzf/clerk_fzf.conf
+++ b/clerk_fzf/clerk_fzf.conf
@@ -28,5 +28,8 @@ pl_title_width="110"
# album is much longer in order to keep filename off screen
album_width="200"
+# player used for queue
+player=ncmpcpp
+
# animate updates
animation=1