feat: do not display icon of a sticky window #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In i3 / Sway, it is possible to create a sticky floating window which is visible on all workspaces. In the current implementation, the icon of the sticky window is always displayed on the current workspace. I think it should be hidden, as it does not help the user when navigating between workspaces and it is not pleasant to see the icons jump around, especially with more sticky windows.
I had to fork
swayipc-rs
and apply JayceFayne/swayipc-rs@13b9b8f to support i3. Sway includes the floating information in thenote_type
property.I tested this on Sway / i3 on Fedora 36.
I am marking this as draft as you probably want to apply JayceFayne/swayipc-rs@13b9b8f on your fork of
swayipc-rs
instead of using mine.