KZDKM / Hyprspace

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

Hyprspace messing with layers when changing workspace or toggling overview #22

Closed matt1432 closed 1 month ago

matt1432 commented 1 month ago

I'm using AGS and my widgets keep replaying their Hyprland animations (layersIn) everytime I switch workspace without the overview open. I also dynamically change the animations and they get reset to the original one for some reason.

It gets even worse when I do open it as you can see here:

https://github.com/KZDKM/Hyprspace/assets/98562002/0db6772e-8f67-46d3-a213-7293c179ecbb

KZDKM commented 1 month ago

The plugin should do absolutely nothing while overview is not on. This doesn't happen with the plugin disabled? Drop your ags dots and I'll see if I could reproduce the problem.

matt1432 commented 1 month ago

I can confirm this only happens with the plugin. I'll definitely do more testing tomorrow though.

Here's my config: https://github.com/matt1432/nixos-configs/tree/master/modules/ags/config

KZDKM commented 1 month ago

Are you using swipe or keybind to dispatchers to change workspace?

KZDKM commented 1 month ago

https://github.com/KZDKM/Hyprspace/commit/1859942368375c054c0da0b366d89679c8ced26c for fix.

Test it on your setup.

KZDKM commented 1 month ago

~Above fixes swiping with overview closed, still fixing animation with overview opened.~

Test https://github.com/KZDKM/Hyprspace/commit/c24c3bf9e061f5704b0df1971d4d99f41a36a062.

matt1432 commented 1 month ago

Yes those commits fixed all the visual bugs thank you!

And my other problem was just because Hyprland reloaded the default config since it changed so that's on me. Thanks for the quick fixes!