diff --git a/config/xdg-desktop-portal/hyprland-portals.conf b/config/xdg-desktop-portal/hyprland-portals.conf new file mode 100644 index 0000000000..0c6960952d --- /dev/null +++ b/config/xdg-desktop-portal/hyprland-portals.conf @@ -0,0 +1,3 @@ +[preferred] +default = hyprland;gtk +org.freedesktop.impl.portal.FileChooser = gnome diff --git a/install/omarchy-base.packages b/install/omarchy-base.packages index 3e68b2f598..9d8b84f7a6 100644 --- a/install/omarchy-base.packages +++ b/install/omarchy-base.packages @@ -145,6 +145,7 @@ wiremix wireplumber wl-clipboard woff2-font-awesome +xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-hyprland xdg-terminal-exec diff --git a/migrations/1780365321.sh b/migrations/1780365321.sh new file mode 100644 index 0000000000..98bca2db05 --- /dev/null +++ b/migrations/1780365321.sh @@ -0,0 +1,7 @@ +echo "Use GNOME file picker portal for previews in Open/Save dialogs" + +omarchy-pkg-add xdg-desktop-portal-gnome + +omarchy-refresh-config xdg-desktop-portal/hyprland-portals.conf + +systemctl --user restart xdg-desktop-portal