From 8f6d9d6b472f68f77cd804c5569bff19a0f5ac70 Mon Sep 17 00:00:00 2001 From: inkch Date: Sun, 14 Jan 2024 20:41:09 +0900 Subject: [PATCH] tmux: use `tmuxsh` only in desktop --- dot_config/tmux/tmux.conf.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_config/tmux/tmux.conf.tmpl b/dot_config/tmux/tmux.conf.tmpl index 0f399df..6f78037 100644 --- a/dot_config/tmux/tmux.conf.tmpl +++ b/dot_config/tmux/tmux.conf.tmpl @@ -36,12 +36,14 @@ bind C-j split-window -v -c '#{pane_current_path}' # Session control bind C-c new-session +{{- if eq .chezmoi.hostname "arch" }} bind C-t run "tmuxsh >/dev/null" bind 0 run "tmuxsh wiki >/dev/null" bind 1 run "tmuxsh blog >/dev/null" bind 3 run "tmuxsh tessoku >/dev/null" bind 8 run "tmuxsh music >/dev/null" bind 9 run "tmuxsh util >/dev/null" +{{- end }} # Show pane number (can move to the pane by hit a num while it's displayed)