Skip to content

Commit

Permalink
tmux: Update status line
Browse files Browse the repository at this point in the history
  • Loading branch information
taupiqueur committed Nov 17, 2021
1 parent 83f8cc2 commit 134e512
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions config/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,16 @@ set-option -a -s terminal-features 'alacritty:RGB'

# Status line ──────────────────────────────────────────────────────────────────

# Status line
# [code] [1] 2 3 ... Mon 2006-01-02 15:04

# Status format for left and right parts
set-option -g status-left '[#{session_name}] '
set-option -g status-right '#{?#{==:#{client_key_table},root},,mode=#{client_key_table}} %a %F %R'

# Status format for windows
# [1] 2 3
set-option -g window-status-format ' #{window_index} '
set-option -g window-status-current-format '[#{window_index}]'

# Hide status right
set-option -g status-right ''
set-option -g window-status-current-format '#{?window_zoomed_flag,(#{window_index}),[#{window_index}]}'

# Bindings ─────────────────────────────────────────────────────────────────────

Expand Down

0 comments on commit 134e512

Please sign in to comment.