diff --git a/general/configs/xdg-desktop-portal-termfilechooser/config b/general/configs/xdg-desktop-portal-termfilechooser/config new file mode 100644 index 0000000..ec3efae --- /dev/null +++ b/general/configs/xdg-desktop-portal-termfilechooser/config @@ -0,0 +1,3 @@ +[filechooser] +cmd=yazi-wrapper.sh +default_dir=$HOME diff --git a/general/hyprland/windowrules.conf b/general/hyprland/windowrules.conf index 0830682..2b59840 100644 --- a/general/hyprland/windowrules.conf +++ b/general/hyprland/windowrules.conf @@ -39,6 +39,11 @@ windowrule = size 0 0, title:^(.*)hidden-terminator*(.*)$ windowrule = move 0 0, title:^(.*)hidden-terminator*(.*)$ windowrule = float, title:^(.*)hidden-terminator*(.*)$ +# Set rule for yazi filepicker +windowrule = float, title:^(.*)termfilechooser*(.*)$ +windowrule = size 1400 800, title:^(.*)termfilechooser*(.*)$ +windowrule = center, title:^(.*)termfilechooser*(.*)$ + # Set floating windows & position them centered windowrule = float, class:file_progress windowrule = center, class:file_progress