tmux, vim, terminal theming

This commit is contained in:
2026-02-24 18:57:23 +00:00
parent 7d2825f9d1
commit 76f61dc5fe
10 changed files with 470 additions and 37 deletions

View File

@@ -6,6 +6,8 @@ bind C-a send-prefix
# True color
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
# Shell
set -g default-shell "$SHELL"
@@ -58,20 +60,29 @@ bind r source-file ~/.tmux.conf \; display "Config reloaded"
# Status bar
set -g status-position bottom
set -g status-interval 5
set -g status-interval 1
set -g status-style "fg=#728cb8,bg=default"
set -g status-left ""
set -g status-right "#[fg=#808080]%a %d %b #[fg=#2cb494,bold]%H:%M #(~/.tmux/battery.sh)"
set -g window-status-format " #I:#W "
set -g window-status-current-format "#[fg=#2cb494,bold] #I:#W "
set -g window-status-bell-style "fg=#f88c14,bold"
set -g pane-border-style "fg=#728cb8"
set -g status-left "#{?client_prefix,#[fg=#2cb494]● ,#[fg=#3c3c3c]● }"
set -g status-right "#(~/.tmux/battery.sh) #[fg=#808080,bg=default]%a %d %b #[fg=#2cb494,bg=#1a1a1a] %H:%M #[default] "
set -g status-right-length 60
set -g window-status-format " #I #W "
set -g window-status-current-format " #[fg=#085040]#I#[fg=#0a0a0a] #W "
set -g window-status-separator " "
set -g window-status-style "fg=#808080,bg=#1a1a1a"
set -g window-status-current-style "fg=#0a0a0a,bg=#2cb494,bold"
set -g window-status-bell-style "fg=#1a1a1a,bg=#f88c14,bold"
set -g monitor-bell on
set -g visual-bell off
set -g pane-border-style "fg=#3c3c3c"
set -g pane-active-border-style "fg=#2cb494"
set -g message-style "fg=#2cb494,bg=default"
set -g message-command-style "fg=#f88c14,bg=default"
set -g mode-style "fg=default,bg=#728cb8,bold"
set -g mode-style "fg=#1a1a1a,bg=#f88c14,bold"
set -g display-panes-colour "#808080"
set -g display-panes-active-colour "#2cb494"
# Clock
set -g clock-mode-colour "#2cb494"
set -g automatic-rename on
set -g automatic-rename-format '#{?#{==:#{pane_current_command},zsh},zsh:#{b:pane_current_path},#{pane_current_command}}'
set -g allow-rename off
set -g automatic-rename-format '#(~/.tmux/tab-name.sh "#{pane_current_command}" "#{b:pane_current_path}")'