From d3713d1b75ce65d67927b94ba0b629c153ed5acd Mon Sep 17 00:00:00 2001 From: inkch Date: Tue, 16 Jan 2024 18:48:08 +0900 Subject: [PATCH] tmux: change UI color between working machines and others --- dot_config/tmux/tmux.conf.tmpl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dot_config/tmux/tmux.conf.tmpl b/dot_config/tmux/tmux.conf.tmpl index 6f78037..635d542 100644 --- a/dot_config/tmux/tmux.conf.tmpl +++ b/dot_config/tmux/tmux.conf.tmpl @@ -83,19 +83,18 @@ bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer" # Aesthetic ########################### -# pane border {{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }} set -g pane-active-border-style fg=yellow -{{- else }} -set -g pane-active-border-style fg=red -{{- end }} - -# message/command bar set -g message-command-style 'fg=#cccccc bg=#333333 bold' set -g message-style 'fg=#cccccc bg=#333333 bold' - -# status bar 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-bg '#333333' set -g status-fg '#cccccc'