fix: kitty status bar clock — redraw via add_timer, drop bogus tab_bar_timeout

kitty has no tab_bar_timeout option (ignored with a warning), so the clock/CPU/mem
only refreshed on tab changes. tab_bar.py now registers a repeating 10s timer that
marks every tab bar dirty. Verified in Xvfb: idle window's clock ticked 16:21 -> 16:22.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mortdecai
2026-09-29 16:22:25 -04:00
parent 0c0066fef1
commit b339b3e738
3 changed files with 18 additions and 4 deletions
+1 -2
View File
@@ -29,8 +29,7 @@ inactive_tab_font_style normal
tab_bar_background #0d0d0d
tab_bar_margin_height 2.0 0.0
# Refresh tab bar for clock updates
tab_bar_timeout 60.0
# Clock/stats refresh: timer in tab_bar.py (REFRESH_SECS) — kitty has no tab_bar_timeout option
# Toggle tab/status bar
map f12 remote_control load-config --override tab_bar_min_tabs=999