| 1 | ##### theme / status ##### |
| 2 | set -g status-position top |
| 3 | set -g status-interval 2 |
| 4 | set -g status-justify centre |
| 5 | |
| 6 | set -g status-style "bg=default,fg=#b8c0cc" |
| 7 | set -g message-style "bg=#1f2430,fg=#e5e9f0" |
| 8 | set -g message-command-style "bg=#1f2430,fg=#e5e9f0" |
| 9 | set -g pane-border-style "fg=#4a5162" |
| 10 | set -g pane-active-border-style "fg=#7bd88f" |
| 11 | set -g display-panes-colour "#4a5162" |
| 12 | set -g display-panes-active-colour "#7bd88f" |
| 13 | |
| 14 | # Active tab (window) turns red when @ui_binds = off; otherwise green. |
| 15 | # Keep commas out of the conditional branches by switching only the bg color. |
| 16 | setw -g window-status-current-format '#[fg=#0b0b0b,bold]#[bg=#{?#{==:#{@ui_binds},off},#e05f5f,#7bd88f}] #I:#W #[default]' |
| 17 | |
| 18 | # Inactive tabs |
| 19 | setw -g window-status-format " #[fg=#8b94a6]#I:#W " |
| 20 | setw -g window-status-separator " " |
| 21 | |
| 22 | set -g status-left-length 40 |
| 23 | set -g status-right-length 120 |
| 24 | set -g status-left "#[bold]#S #[fg=#4a5162]|#[default] #H" |
| 25 | |
| 26 | # Right status: PREFIX badge + optional BINDS OFF badge + time/date |
| 27 | set -g status-right '#{?client_prefix,#[reverse] PREFIX #[default] ,}#{?#{==:#{@ui_binds},off},#[bg=#e05f5f]#[fg=#0b0b0b] BINDS OFF #[default],} %R %F (%a)' |
| 28 | |
| 29 | # Pane border info (tmux ≥ 3.2) |
| 30 | setw -g pane-border-format " #[fg=#8b94a6]#P#[default] #{?pane_active,#[bold]#{pane_current_command},#{pane_current_command}} " |
| 31 |