tmux: use tmuxsh only in desktop

This commit is contained in:
inkch 2024-01-14 20:41:09 +09:00
parent 2ec3cfe0d8
commit 8f6d9d6b47

View File

@ -36,12 +36,14 @@ bind C-j split-window -v -c '#{pane_current_path}'
# Session control # Session control
bind C-c new-session bind C-c new-session
{{- if eq .chezmoi.hostname "arch" }}
bind C-t run "tmuxsh >/dev/null" bind C-t run "tmuxsh >/dev/null"
bind 0 run "tmuxsh wiki >/dev/null" bind 0 run "tmuxsh wiki >/dev/null"
bind 1 run "tmuxsh blog >/dev/null" bind 1 run "tmuxsh blog >/dev/null"
bind 3 run "tmuxsh tessoku >/dev/null" bind 3 run "tmuxsh tessoku >/dev/null"
bind 8 run "tmuxsh music >/dev/null" bind 8 run "tmuxsh music >/dev/null"
bind 9 run "tmuxsh util >/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) # Show pane number (can move to the pane by hit a num while it's displayed)