feat(tmux): status bar tabs centred (absolute-centre), index + padding + blank between tabs, current tab bold on a light pill; CHANGELOG Unreleased

This commit is contained in:
bchanot committed 2026-10-09 11:08:13 +02:00
1 parent a7b3646d15
commit b5086863de
2 files changed
+7 -4

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versioning: se
- `install.sh` asks the gitflow push mode (`gitflow.autopush`, exactly `true` or `false`, Enter = `true`) and writes it to `~/.gitconfig`; an existing value is reused, `DOTFILES_GITFLOW_AUTOPUSH` presets it, any other preset aborts the install.
- `gitconfig`: fixed `core.hooksPath = ~/.claude/githooks`.
- `tmux.conf`: move panes between windows — `J`/`L` join the marked pane below/beside, `S` swaps it with the current one, `(`/`)` (repeatable) move the pane to the previous/next slot.
- `tmux.conf`: window tabs centred in the status bar (`absolute-centre`), with index, padding and a blank between tabs; the current tab bold on a light pill.
### Changed
- `.githooks/post-commit` and `post-merge` fail closed on `gitflow.autopush`: an unreadable or non-boolean value means no push, with a named warning (was: silently treated as `true`).
+6 -4
View File
@@ -271,11 +271,12 @@ set -g @resurrect-dir "$XDG_CACHE_HOME/tmux/$TMUX_SOCKET_NAME"
# ----------
set -wg mode-style bg=yellow,fg=black # selection: same accent as the status bar
set-window-option -g window-status-separator ''
set-window-option -g window-status-separator ' ' # one blank between tabs
set -g status-position bottom
set -g status-left-length 42
set -g status-right-length 80
set -g status-justify left
# Tabs sit in the true middle of the screen, whatever status-left/right take.
set -g status-justify absolute-centre
#setw -g status-style bg=black
setw -g status-style bg=default
@@ -283,8 +284,9 @@ set -g status-left '#{sep_st} λ #S #{sep_c}'
# setw -g window-status-format '#{sep_d} #I #{sep_e} #W #{sep_f}'
# setw -g window-status-current-format '#{sep_g} #I #{sep_h} #W #{sep_i}'
# set -g status-right '#{brightwhite_fg} #h #{sep_b} %a %d/%m/%Y #{sep_a} %H:%M #{sep_on} : #{continuum_status} '
setw -g window-status-format '#{sep_e} #W #{sep_f}'
setw -g window-status-current-format '#{sep_h} #W #{sep_i}'
# Tabs: index + name, padded; the current one is bold on a light pill.
setw -g window-status-format '#{sep_e} #I #W #{sep_f}'
setw -g window-status-current-format '#{sep_h} #I #W #{sep_i}'
set -g status-right '#{sep_b} #h #{sep_e}#{sep_on} : #{continuum_status} '