feat(tmux): cleanup config and make it portable across terminal themes

This commit is contained in:
Afonso Franco 2025-06-16 09:22:55 +01:00
parent 13ae0c0e78
commit 8d6f4190fd
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4

View file

@ -2,9 +2,10 @@
# General # General
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
set -gq allow-passthrough on set -ag terminal-overrides ",$TERM:Tc"
set -g visual-activity off
set -sa terminal-features ",*:RGB" set -sa terminal-features ",*:RGB"
set -g allow-passthrough on
set -g visual-activity off
set -sg escape-time 0 set -sg escape-time 0
set -g mouse on set -g mouse on
set -g base-index 1 set -g base-index 1
@ -20,17 +21,11 @@ set -g status-right ""
set -g status-left-length 20 set -g status-left-length 20
set -g status-position top set -g status-position top
set -g status-justify left set -g status-justify left
set -g status-style 'bg=#181926 fg=#cad3f5'
set -g status-left '[#S] ' set -g status-left '[#S] '
set -g status-style ' #[bg=#{status-bg},fg=#{@unfocused-fg}]' set -g status-style 'bg=default,fg=default'
set -g window-status-format ' #I:#W ' set -g window-status-format ' #I:#W '
set -g window-status-current-format '#[bg=#{@focused-bg},fg=#{@focused-fg}] #I:#W ' set -g window-status-current-format '#[bg=default,fg=default,reverse] #I:#W '
# Theme
set -g status-bg "#1d2021"
set -g @unfocused-fg "#ebdbb2"
set -g @focused-bg "#ebdbb2"
set -g @focused-fg "#1d2021"
# Plugins # Plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'