feat(workspaces): style based upon workspace having windows#1403
feat(workspaces): style based upon workspace having windows#1403antlilja wants to merge 2 commits intoJakeStanger:masterfrom
Conversation
|
I'm happy for this to be added, but some consideration is needed as to how this will work with #820. I also think this would be better inverted btw, ie an |
Workspaces can now be styled based on if they haved windows or not by using the "empty" css class.
|
Totally agree with I took a look at ext-workspace-v1 as well as the IPC for sway and niri. It does not seem to be possible to implement this feature for the wayland extension. Both Niri and Sway seem possible to implement this feature in. |
|
Yeah I suspect the play will be having an (optional) IPC layer on top of the wayland layer to bring in the extra functionality. I don't think it'll have too much impact at this stage, but worth keeping in mind. |
Adds the ability to style workspaces based upon it containing any windows using the
emptycss class.Example:
I've only implemented this for hyprland so far. I wanted to open up this draft PR to see if this is a desired feature before continuing on implementing it for sway and niri.