From 7c359ffea0eb6ac2732073bc91cfbed8dd74709c Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Sat, 15 Jun 2024 15:40:01 +0300 Subject: [PATCH] chore(tmux): tweak config --- config/tmux/tmux.conf | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 9660018..319f99d 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -121,6 +121,11 @@ set-option -g window-status-current-format ' #I:#W#{?window_zoomed_flag,  , } set-option -g status-right "#{hostname_short}/#S #{tmux_mode_indicator}" +set-option -g status-style 'fg=#cad3f5,bg=default' +set-window-option -g window-status-style 'fg=#cad3f5,bg=default' +set-window-option -g window-status-current-style 'fg=#c6a0f6,bg=#24273a' +set -g message-style 'fg=#c6a0f6 bg=#24273a bold' + # https://github.com/erikw/tmux-dark-notify set -g @dark-notify-theme-path-light '~/.dotfiles/config/tmux/theme-light.conf' set -g @dark-notify-theme-path-dark '~/.dotfiles/config/tmux/theme-dark.conf' @@ -140,10 +145,10 @@ set -g @suspend_key 'F12' set -g @tmux_window_name_max_name_len "20" ### Replace $HOME with ~ in window names set -g @tmux_window_name_use_tilde "True" -set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']" +set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh', 'oh-my-posh']" set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']" -set -g @tmux_window_name_ignored_programs "['sqlite3', 'x-set-php-aliases']" # Default is [] -set -g @tmux_window_name_substitute_sets "[('.+ipython2', 'ipython2'), ('.+ipython3', 'ipython3')]" +set -g @tmux_window_name_ignored_programs "['sqlite3', 'x-set-php-aliases', 'oh-my-posh']" # Default is [] +set -g @tmux_window_name_substitute_sets "[('.+ipython2', 'ipython2'), ('.+ipython3', 'ipython3'), ('.+\.local', '.local')]" ## https://github.com/tmux-plugins/tmux-continuum set -g @continuum-restore 'on'