nordtheme / tmux

An arctic, north-bluish clean and elegant tmux color theme.
https://www.nordtheme.com/ports/tmux
MIT License
1.06k stars 141 forks source link

How to make no patched font version look better #70

Open Aceticia opened 2 years ago

Aceticia commented 2 years ago

I personally like the no patched version more from nvim, so when I tried to match my tmux color scheme with set -g @nord_tmux_no_patched_font "1", instead of neatly connected color blocks, on the lower left corner there are two disjoint boxes. Is there a way to fix this?

Aceticia commented 2 years ago

Screen Shot 2022-04-06 at 6 59 21 PM As a comparison, the top is the status line (lualine) from my neovim and the bottom is tmux.

jpcirrus commented 2 years ago

Edit window-status-format and window-status-current-format and remove the leading and trailing spaces between the windows. I made the following changes, which results in what you are looking for.

set-option -g status-left '#[bg=blue,fg=black] #{session_name} '
set-option -g status-right '#[bg=brightblack,fg=white] %F %H:%M #[bg=cyan,fg=black] #{user}@#{host} '
set-option -wg window-status-current-format '#[bg=cyan,fg=black] #{window_index} #{window_name} #{window_flags} '
set-option -wg window-status-format '#[bg=brightblack,fg=white] #{window_index} #{window_name} #{window_flags} '