From 062a2f793579781a5a0a00e81261d531143e756c Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 11 Apr 2024 10:33:22 +0300 Subject: [PATCH] style(tmux): disable transparent on inactive pane --- home/user/.config/tmux/mappings.conf | 2 +- home/user/.config/tmux/style.conf | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 8b27bed..432534a 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -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 diff --git a/home/user/.config/tmux/style.conf b/home/user/.config/tmux/style.conf index f064150..fddb3bd 100644 --- a/home/user/.config/tmux/style.conf +++ b/home/user/.config/tmux/style.conf @@ -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' @@ -26,4 +29,13 @@ set -g set-titles-string '#S:#I.#P #W' # clock style setw -g clock-mode-colour white -setw -g clock-mode-style 24 \ No newline at end of file +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' \ No newline at end of file