From d35c2a51b116320c1b8f06c9bb4343ebbcf35d6d Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 23 Jun 2024 08:42:48 +0700 Subject: [PATCH] center file dialogs (#636) --- .config/hypr/hyprland/rules.conf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.config/hypr/hyprland/rules.conf b/.config/hypr/hyprland/rules.conf index 92d3e17b9..74cb10a01 100644 --- a/.config/hypr/hyprland/rules.conf +++ b/.config/hypr/hyprland/rules.conf @@ -4,9 +4,15 @@ windowrule = noblur,.* windowrule = float, ^(blueberry.py)$ windowrule = float, ^(steam)$ windowrule = float, ^(guifetch)$ # FlafyDev/guifetch -windowrulev2 = tile,class:(dev.warp.Warp) -windowrulev2 = float,title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ -windowrule = center 1,floating:1 +windowrulev2 = tile, class:(dev.warp.Warp) +windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ +windowrule = center, title:^(Open File)(.*)$ +windowrule = center, title:^(Select a File)(.*)$ +windowrule = center, title:^(Choose wallpaper)(.*)$ +windowrule = center, title:^(Open Folder)(.*)$ +windowrule = center, title:^(Save As)(.*)$ +windowrule = center, title:^(Library)(.*)$ +windowrule = center, title:^(File Upload)(.*)$ # Dialogs windowrule=float,title:^(Open File)(.*)$