diff --git a/default/hypr/windows.conf b/default/hypr/windows.conf index 3364a7f..5dad14d 100644 --- a/default/hypr/windows.conf +++ b/default/hypr/windows.conf @@ -4,12 +4,14 @@ windowrule = suppressevent maximize, class:.* # Force chromium into a tile to deal with --app bug windowrule = tile, class:^(Chromium)$ -# Float sound, bluetooth, and wifi settings -windowrule = float, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala)$ -windowrule = size 800 600, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala)$ +# Float and center sound, bluetooth, and wifi settings, as well as nautilus previews +windowrule = float, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer)$ +windowrule = size 800 600, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer)$ +windowrule = center, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer)$ -# Float nautilus previews -windowrule = float, class:^(org.gnome.NautilusPreviewer)$ +# Float and center file pickers +windowrule = float, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?) +windowrule = center, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?) # Float Steam, fullscreen RetroArch windowrule = float, class:^(steam)$ @@ -27,7 +29,3 @@ windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned # Proper background blur for wofi layerrule = blur,wofi - -# Float and cneter file pickers -windowrule = float, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?) -windowrule = center, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?)