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

Comments

Projects
None yet
2 participants
@sergei-dyshel
Copy link

commented May 1, 2019

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

This comment has been minimized.

Copy link
Owner

commented May 1, 2019

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.

@kovidgoyal kovidgoyal closed this in d6a6e26 May 1, 2019

@sergei-dyshel

This comment has been minimized.

Copy link
Author

commented May 1, 2019

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
You can’t perform that action at this time.