diff options
author | Rasmus Steinke <rasi@xssn.at> | 2016-07-22 12:58:34 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2016-07-22 12:58:34 +0200 |
commit | 22420ee0b02e72c773111930e7d50f606d899ca8 (patch) | |
tree | c0a6fdec081959e18ee539a8a9b1ae0c29f160e1 | |
parent | fe17e9dde5b769a6487de183b8dc3d3fedbf6a01 (diff) | |
download | perl-app-clerk-22420ee0b02e72c773111930e7d50f606d899ca8.tar.gz perl-app-clerk-22420ee0b02e72c773111930e7d50f606d899ca8.tar.xz |
add quit hotkey
-rw-r--r-- | clerk_fzf/clerk_fzf.conf | 3 | ||||
-rwxr-xr-x | clerk_fzf/clerk_help | 1 | ||||
-rw-r--r-- | clerk_fzf/tmux.clerk | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/clerk_fzf/clerk_fzf.conf b/clerk_fzf/clerk_fzf.conf index b2c90c3..18ed4ec 100644 --- a/clerk_fzf/clerk_fzf.conf +++ b/clerk_fzf/clerk_fzf.conf @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# tmux config to use +tmux_config="/etc/clerk/tmux.conf" + # custom mpd host mpd_host= mpd_port= diff --git a/clerk_fzf/clerk_help b/clerk_fzf/clerk_help index 0c53e22..7287b58 100755 --- a/clerk_fzf/clerk_help +++ b/clerk_fzf/clerk_help @@ -16,6 +16,7 @@ echo "F10: play random tracks" echo "F12: reload caches" echo "Ctrl+F12 : re-create caches" echo "Ctrl+h: this help" +echo "Ctrl+ESC: Quit" echo " " echo " " echo "Hotkeys for lists" diff --git a/clerk_fzf/tmux.clerk b/clerk_fzf/tmux.clerk index d376f81..5668649 100644 --- a/clerk_fzf/tmux.clerk +++ b/clerk_fzf/tmux.clerk @@ -34,6 +34,7 @@ bind-key -n F12 run-shell 'clerk_update' bind-key -n F9 run-shell 'clerk_fzf --random_album' bind-key -n F10 run-shell 'clerk_fzf --random_tracks' bind-key -n C-h run-shell 'clerk_help' +bind-key -n C-Escape kill-session -t music # tmux options @@ -51,4 +52,3 @@ set -g prefix C-a bind-key -t vi-copy v begin-selection unbind C-p bind C-p paste-buffer - |