chore(tmux): tweak config

This commit is contained in:
2024-06-15 15:40:01 +03:00
parent 9542624323
commit 7c359ffea0

View File

@@ -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'