Skip to content

Commit e9b13de

Browse files
committed
fix: simplify window rules for xdg-desktop-portal-gtk
1 parent 94e7383 commit e9b13de

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Configs/.local/share/hypr/windowrules.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ windowrule = size <60% <90%,tag:common-popups
1616
windowrule = float,tag:portal-dialogs
1717
windowrule = center,tag:portal-dialogs
1818

19-
2019
# Only add the Core applications here
2120
windowrule = float,class:^(com.gabm.satty)$
2221
windowrule = float,class:^(org.kde.dolphin)$,title:^(Progress Dialog — Dolphin)$
@@ -39,15 +38,14 @@ windowrule = float,class:^(blueman-manager)$
3938
windowrule = float,class:^(nm-applet)$
4039
windowrule = float,class:^(nm-connection-editor)$
4140
windowrule = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
42-
windowrule = float,class:^([Xx]dg-desktop-portal-gtk)$
4341

4442
# common popups
4543
windowrule = tag +common-popups,initialTitle:^(Open File)$
4644
windowrule = tag +common-popups,title:^(Choose Files)$
4745
windowrule = tag +common-popups,title:^(Save As)$
4846
windowrule = tag +common-popups,title:^(Confirm to replace files)$
4947
windowrule = tag +common-popups,title:^(File Operation Progress)$
50-
windowrule = tag +common-popups,class:^(xdg-desktop-portal-gtk)$
48+
windowrule = tag +common-popups,class:^([Xx]dg-desktop-portal-gtk)$
5149

5250
# portal-dialogs
5351
windowrule = tag +portal-dialogs,class:^(org.freedesktop.impl.portal.desktop.hyprland)$

0 commit comments

Comments
 (0)