Compare commits

..

2 Commits

Author SHA1 Message Date
inkch
25556093dd tmux: tweaking ui colors 2024-01-16 19:22:13 +09:00
inkch
6c50a297f4 tmux: use nesting only on working machines 2024-01-16 19:20:52 +09:00

View File

@ -85,26 +85,33 @@ bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }} {{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
set -g pane-active-border-style fg=yellow set -g pane-active-border-style fg=yellow
set -g message-command-style 'fg=#cccccc bg=#333333 bold' set -g message-command-style 'fg=#ccc bg=#333333 bold'
set -g message-style 'fg=#cccccc bg=#333333 bold' set -g message-style 'fg=#ccc bg=#333333 bold'
set -g status off set -g status off
{{- else }}
set -g pane-active-border-style fg=red
set -g message-command-style 'fg=black bg=magenta bold'
set -g message-style 'fg=black bg=magenta bold'
set -g status on
{{- end }}
set -g status-position bottom set -g status-position bottom
set -g status-bg '#333333' set -g status-bg '#333'
set -g status-fg '#cccccc' set -g status-fg '#ccc'
set -g status-left '' set -g status-left ''
set -g status-right '' set -g status-right ''
set -g window-status-format '' set -g window-status-format ''
set -g window-status-current-format '' set -g window-status-current-format ''
{{- else }}
set -g pane-active-border-style fg=red
set -g message-command-style 'fg=#ccc bg=#5b7d78 bold'
set -g message-style 'fg=#ccc bg=#5b7d78 bold'
set -g status on
set -g status-position bottom
set -g status-bg '#5b7d78'
set -g status-fg '#ccc'
set -g status-right '#[bold][#H]'
set -g window-status-format ''
set -g window-status-current-format ''
{{- end }}
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
############################################### ###############################################
# local and nested remote tmux sessions # local and nested remote tmux sessions
# - https://www.freecodecamp.org/news/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795/ # - https://www.freecodecamp.org/news/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795/
@ -122,12 +129,8 @@ bind -T off M-q \
set -u status off \;\ set -u status off \;\
set status-right '' set status-right ''
# local and nested remote tmux sessions
###############################################
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
####################### #######################
# Plugins # Plugins
####################### #######################