Add window rule for xdg-desktop-portal windows

This commit is contained in:
2025-12-04 17:20:42 -06:00
parent 37f69e099a
commit 9c67e1c17b

View File

@@ -5,6 +5,9 @@
# Default rule that ships with hypr
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
# XDG desktop portal stuff, like file uploads, should float
windowrulev2 = float, center 1, class:^(xdg-desktop-portal-gtk)$
# Force pavucontrol to be the center of attention
windowrulev2 = float, center 1, class:^(.*pavucontrol.*)$
windowrulev2 = pin, class:^(.*pavucontrol.*)$