diff --git a/dot_config/kitty/__pycache__/tab_bar.cpython-314.pyc b/dot_config/kitty/__pycache__/tab_bar.cpython-314.pyc new file mode 100644 index 0000000..12d5947 Binary files /dev/null and b/dot_config/kitty/__pycache__/tab_bar.cpython-314.pyc differ diff --git a/dot_config/kitty/tab_bar.py b/dot_config/kitty/tab_bar.py index d4c67fc..22efeaf 100644 --- a/dot_config/kitty/tab_bar.py +++ b/dot_config/kitty/tab_bar.py @@ -1,52 +1,179 @@ -# ── tab_bar.py · kitty tab titles: repo dir, or the file nvim is editing ── +# ── tab_bar.py · kitty tab titles: program icon + repo dir (or nvim's file) ── # # kitty loads this file from the config dir and exposes `draw_title` as the # `{custom}` field of tab_title_template (kitty/tab_bar.py: # load_custom_draw_title). kitty still draws the powerline chrome; only the text # inside a tab comes from here. # -# A title is one of: -# 2 chezmoi <- repo the tab's cwd belongs to (dir name if no repo) -# 3 astrocore.lua <- nvim is the active process: the file it is editing +# A title is `