Dynamic window title and dynamic tab title that are different from each other #7661
Replies: 3 comments 4 replies
-
You cannot. Why would you want to waste space showing Kitty in your
titlebar anyway? If you want to match kitty os windows use the --class
and --name options.
|
Beta Was this translation helpful? Give feedback.
-
On Wed, Jul 24, 2024 at 03:19:11AM -0700, Santhanam wrote:
Hmm, that solves the problem at hand I guess.
That aside, is there a specific reason we can't decouple the tab and window titles though? I felt like it was pretty un-intuitive that I couldn't do that. Something like window_title_template alongside the existing tab_title_template, both decoupled, will be perfect.
Feel free to send a PR for it, not something I find worth the effort.
|
Beta Was this translation helpful? Give feedback.
-
I see the merits in having both window and tab title decoupled and came here looking for a solution as I have a need for such functionality. Primarily in my use case focus/attention related, as I have bad focus/attention issues and distract too easily. Any extraneous changing items or text catches my eyes and moves me away from my prompt where I want to be or should be makes me lose focus... I'd like to be able to keep my window title bar clear/blank and non-changing, however have my tabs denote where I left off. (i.e. path or app)
This way I stay organized, focused, and do not lose attention. This becomes even more valuable with OLED and HDR displays when the text is bright white when in dark mode and makes it super easy to catch the change occurring. A simple config line to tweak both separately would be invaluable to people with similar challenges like me. |
Beta Was this translation helpful? Give feedback.
-
I want the OS window title to be
Kitty: $(pwd)
, and the tab title to be$(pwd): $(executing/last executed command)
How do I achieve this?
I tinkered a bit but couldn't figure it out.
What I tried:
set-tab-title
in PROMPT_COMMANDshell_integration no-title
Platform: Linux
Kitty version: 0.35.2
Shell: bash
Beta Was this translation helpful? Give feedback.
All reactions