From 3c733ec7eb9097c2e352aafac09d083bd7fff8df Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Sat, 19 Apr 2025 04:12:36 +0300 Subject: [PATCH] chore(config): tmux: tweak theme Signed-off-by: Ismo Vuorinen --- config/tmux/theme-light.conf | 10 +++++----- config/tmux/tmux.conf | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/config/tmux/theme-light.conf b/config/tmux/theme-light.conf index 0f0c75f..28d920f 100644 --- a/config/tmux/theme-light.conf +++ b/config/tmux/theme-light.conf @@ -1,7 +1,7 @@ -set-option -g status-style 'fg=#4c4f69,bg=#eff1f5' -set-window-option -g window-status-style 'fg=#4c4f69,bg=#eff1f5 dim' -set-window-option -g window-status-current-style 'fg=#8839ef,bg=#eff1f5' -set-window-option -g window-status-activity-style 'fg=#4c4f69,bg=#eff1f5 nodim' -set-window-option -g window-status-bell-style 'fg=#4c4f69,bg=#eff1f5' +set-option -g status-style 'fg=#4c4f69,bg=default' +set-window-option -g window-status-style 'fg=#4c4f69,bg=default dim' +set-window-option -g window-status-current-style 'fg=#8839ef,bg=default' +set-window-option -g window-status-activity-style 'fg=#4c4f69,bg=default nodim' +set-window-option -g window-status-bell-style 'fg=#4c4f69,bg=default' set -g message-style 'fg=#8839ef bg=#e6e9ef bold' # fg magenta, bg black diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 9158cb1..3fef2a7 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -15,6 +15,9 @@ # -o : Set the option only if it is not already set. # -u : Unset the specified option. +set -ag terminal-overrides ",xterm-256color:RGB" +set -ag terminal-features 'xterm-256color:RGB' + set -g default-terminal "tmux-256color" # Set default terminal to 256 colors set -g detach-on-destroy off # don't detach tmux when killing a session set -g display-time 0 # Hide clock @@ -53,7 +56,7 @@ set -g status-justify "left" set -g status-left '' set -g status-left-length "0" set -g status-position "bottom" -set -g status-right "#S@#{hostname_short} #{tmux_mode_indicator}" +set -g status-right "#S@#h #{tmux_mode_indicator}" set -g status-right-length "30" set -g window-status-current-format ' #I:#W#{?window_zoomed_flag, ◈ ,} ' set -g window-status-format ' #I:#W '