style(tmux): disable transparent on inactive pane

This commit is contained in:
thek4n 2024-04-11 10:33:22 +03:00
parent f1251f6398
commit 062a2f7935
2 changed files with 14 additions and 2 deletions

View File

@ -80,7 +80,7 @@ bind -n M-0 new-window -n 10 -S -c "#{pane_current_path}"
bind -n M-Enter split-window -h -c "#{pane_current_path}"
bind -n M-t split-window -v -l 20% -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"
bind \\ split-window -v -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
# Resizing

View File

@ -1,10 +1,12 @@
# vim: ft=tmux
# misc
set -g bell-action none
set -g message-style 'fg=black bg=white bold'
set -ga update-environment 'DISPLAY' # Maybe fix DISPLAY?
# status style
set -g status-style 'bg=default,fg=white'
set -g status-justify absolute-centre
@ -19,6 +21,7 @@ set -g window-status-format '#W#{?window_flags,#{window_flags}, }'
set -g window-status-current-format '#W#{?window_flags,#{window_flags}, }'
setw -g monitor-activity on
# window title style
set -g set-titles on
set -g set-titles-string '#S:#I.#P #W'
@ -27,3 +30,12 @@ set -g set-titles-string '#S:#I.#P #W'
# clock style
setw -g clock-mode-colour white
setw -g clock-mode-style 24
# borders
set -g pane-border-indicators both
# inactive panes style
set -g window-style 'fg=terminal,bg=colour235'
set -g window-active-style 'fg=default,bg=terminal'