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

Use kitty's new o=invisible option in notification protocol #142

Closed

Conversation

jinliu
Copy link
Contributor

@jinliu jinliu commented Nov 9, 2023

It's a new feature in Kitty 0.31 (which is just released). With that option, the notification is ignored if the window is focused and the tab is active, so we don't have to detect window state.

There's no reliable way to detect Kitty's version, so the user needs to set -U kitty_notification_unfocused 1.

It's a new feature in Kitty 0.31. With that option, the notification
is ignored if the window is focused and the tab is active.

There's no reliable way to detect Kitty's version, so the user needs
to `set -U kitty_notification_unfocused 1`.
@jinliu
Copy link
Contributor Author

jinliu commented Nov 15, 2023

Closing this pull request. Since Kitty will have its own job notification feature in the upcoming release, now there's no point adding Kitty-specific integration, as a Kitty user probably won't use this plugin.
Probably the merged #141 can be reverted, too.

@jinliu jinliu closed this Nov 15, 2023
@franciscolourenco
Copy link
Owner

@jinliu can you share information about this release? Thanks!

@jinliu
Copy link
Contributor Author

jinliu commented Nov 16, 2023

The relevant option:
https://github.com/kovidgoyal/kitty/blob/b961e65f2228ed957d17e2fd3b7a1c4b1c478fb1/kitty/options/definition.py#L3152
I don't know when will the next release be. You'll have to build it from source at the moment.

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

Successfully merging this pull request may close these issues.

2 participants