Hyprland Version
v0.33.1
Bug or Regression?
Bug
Description
I've been trying to configure Hyprland to automatically center floating windows. From the docs it seems like I should be able to achieve this with a window rule like windowrulev2 = center, floating:1, but that's not working.
I managed to achieve this by using the following binding to combine both dispatchers:
bind = SUPER, F, exec, hyprctl --batch "dispatch togglefloating ; dispatch centerwindow"
Although that works when using the binding, I wonder if there's a better way workaround...
How to reproduce
Add the following to your Hyprland configuration:
bind = SUPER, F, togglefloating
windowrulev2 = center, floating:1
Toggle the floating status of a window using the SUPER + F mapping above. Notice how the floating window isn't automatically centered.
Crash reports, logs, images, videos
No response
Hyprland Version
v0.33.1
Bug or Regression?
Bug
Description
I've been trying to configure Hyprland to automatically center floating windows. From the docs it seems like I should be able to achieve this with a window rule like
windowrulev2 = center, floating:1, but that's not working.I managed to achieve this by using the following binding to combine both dispatchers:
Although that works when using the binding, I wonder if there's a better way workaround...
How to reproduce
Add the following to your Hyprland configuration:
Toggle the floating status of a window using the
SUPER + Fmapping above. Notice how the floating window isn't automatically centered.Crash reports, logs, images, videos
No response