Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS window title can't be set with session #921

Closed
ole-optiopay opened this issue Sep 7, 2018 · 2 comments
Closed

OS window title can't be set with session #921

ole-optiopay opened this issue Sep 7, 2018 · 2 comments

Comments

@ole-optiopay
Copy link

I would like to set a constant title to the OS window kitty is using especially when using a session.
Unfortunately this doesn't work at all.
Even an empty session will make kitty stop showing the given title.
This works:

kitty --title=BLA --directory="~/.desk/desks" --detach

This does not:

kitty --title=BLA --directory="~/.desk/desks" --session=./empty.kitty --detach

My sessions intentionally don't contain any title commands.
It is much harder for me to find the right OS window (with Alt+Tab) if most of them show the name of my editor. Even the current file name would be much harder to scan for the important bits.

@kovidgoyal
Copy link
Owner

So why not put the title in your session file? That way it will work and the full session definition will be contained in one place.

@ole-optiopay
Copy link
Author

ole-optiopay commented Sep 7, 2018

I use the same session file for many projects.
Only the directory they run in and the title is different.
Copying the session file for every project would be quite a pain (and error prone for changes).
And I would have to give every (inner) window the same title.

I use this to set up my development environment (instead of tmux).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants