Customize the TUI Grid Layout
mainIf you are using a TUI (Terminal User Interface) style, you can fine-tune the layout by editing the display.tui section in ~/.claude/claude-powerline.json.
Layout Customization Options
- Box Style: Change borders by adding a
"box"key. Presets include:rounded,square,heavy,double,dashed,heavy-dashed,mixed,ascii, andinvisible. - Title/Footer: Customize
title.left,title.right,footer.left, andfooter.rightusing segment tokens like{model.icon},{dir}, or{weekly.pct}. - Grid Areas: Rearrange cells in
breakpoints[].areas. Use.for empty cells,---for dividers, or repeat a name across adjacent cells to span columns. - Custom Colors: Use dot-notation keys in
colors.custom(e.g.,"context.bar": { "fg": "#4a9eff" }). - Responsive Breakpoints: Define different layouts for different terminal widths using
minWidth. The engine selects the largestminWidththat fits the current terminal. - Column Sizing: Use
"auto"(fit content),"1fr"(fill remaining space), or a fixed integer (e.g.,"20").