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

remote set-background-opacity affects only one window of the instance #1581

Closed
sergei-dyshel opened this issue May 1, 2019 · 2 comments
Closed

Comments

@sergei-dyshel
Copy link

I'm running kitty with multiple main windows in one instance and listening on UNIX socket (--single-instance --listen-on unix:/tmp/mykitty) and trying to control it remotely (@ --to unix:/tmp/mykitty) from outside. I noticed the following inconsistency when running remote commands: set-font-size changes font in ALL windows but set-background-opacity only affects one window (I guess the first one opened).

When sending remote command from inside one of the windows, set-font-size affects ALL windows and set-background-opacity affects only current window.

@kovidgoyal
Copy link
Owner

That's because you cannot set font size independently in kitty windows.
You can in top-level OS windows, but not in windows inside a top level
window. And even that ability is relatively new, it wwas added after that
command was created.

I could add an option to that command to have it apply only to
the active top-level window and all it's sub-windows.

@sergei-dyshel
Copy link
Author

Thank's for quick response 😄
Now set-font-size and set-background-opacity behave consistently.

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