tmux: desaturate background on inactive panes

This commit is contained in:
Martin Sekera 2024-01-06 01:59:05 +01:00
parent b95e61a5d1
commit 293b3b6bdc

View file

@ -2,7 +2,8 @@
# ┃ Uncomment the colors you like ┃
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
# T0B = status bar background
# T0B = inactive pane background, border background
# TAB = active pane background
# TB* = pane borders
# T1* = inactive tab, hostname and clock,
# inactive window number
@ -18,21 +19,23 @@ TZB=colour028
# ━━━ catppuccin macchiato (pick one T2B) ━━━
TBB="#181926" # crust (border background)
TBF="#6e738d" # overlay0 (border boreground)
TBF="#6e738d" # overlay0 (border foreground)
T0B="#24273a" # base
TAB="#363a4f" # surface0
T1F="#b8c0e0" # subtext1
T1B="#363a4f" # surface0
T2F="#363a4f" # surface0
#T2B="#f4dbd6" # rosewater
#T2B="#f5bde6" # pink
T2B="#c6a0f6" # mauve
#T2B="#c6a0f6" # mauve
#T2B="#8aadf4" # blue
#T2B="#ed8796" # red
T2B="#ed8796" # red
# ━━━ catppuccin mocha ━━━
#TBB="#11111b" # crust (border background)
#TBF="#6c7086" # overlay0 (border boreground)
#TBF="#6c7086" # overlay0 (border foreground)
#T0B="#1e1e2e" # base
#TAB="#313244" # surface0
#T1F="#bac2de" # subtext1
#T1B="#313244" # surface0
#T2F="#313244" # surface0
@ -90,7 +93,7 @@ set-window-option -g automatic-rename off
set-option -g allow-rename on
# so pagers don't blank the screen
set-option -g alternate-screen off
#set-option -g alternate-screen off
# True color
set-option -ga terminal-overrides ",xterm*:Tc"
@ -134,6 +137,10 @@ set-option -g pane-border-indicators arrows
set-option -g pane-active-border-style fg=$T1F
set-option -g pane-border-style fg=$T1B
# pane backgrounds
set -g window-active-style bg=$T0B
set -g window-style bg=$TAB
# tmux messages
set-option -g message-style bg=$T2B,fg=$T2F