KZDKM / Hyprspace

Workspace overview plugin for Hyprland
GNU General Public License v2.0
523 stars 16 forks source link

Hyprspace layer is part of preview in overview #94

Closed KAGEYAM4 closed 4 weeks ago

KAGEYAM4 commented 1 month ago

2nd from right -->

image

myamusashi commented 1 month ago

Expected, can't remove that part

KAGEYAM4 commented 1 month ago

@myamusashi okay, so i rechecked the demo video and it seems that current active workspace is not shown in hyprspace. which config is responsible for this ?

i tried drawActiveWorkspace = false and it just did this --> image

myamusashi commented 1 month ago

yep

KAGEYAM4 commented 1 month ago

The demo video, the workspace was starting one, thats why i got confused.

KAGEYAM4 commented 1 month ago

Can it not be fixed ? Is this plugin limitation ?

myamusashi commented 1 month ago

I'm also confused. What do you expect here? You want the workspace to be at the beginning instead of in the middle?

KZDKM commented 4 weeks ago

Uhh since the overview changes the layout of the active workspace, I figured displaying a dummy panel inside the overview would be better as otherwise would be an awkward blank space in the active workspace view. If you dont want the layout of the active workspace to change, you could make the windows not dodge the panel by setting affectStrut to false. This would remove the dummy panel in workspace view.

Can it not be fixed ? Is this plugin limitation ?

Yes, kind of. A solution would be to shrink the rendered size of windows instead of actually shrinking them via layout control. This would make this overview behaves similarly to that of macOS and GNOME. This would complicate the render logic a lot though.