diff --git a/Makefile b/Makefile index 1262e234..3c8811ad 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ install: cd subprojects/wlroots/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots && cd ../../../.. cp ./protocols/*-protocol.h ${PREFIX}/include/hyprland/protocols cp ./build/hyprland.pc ${PREFIX}/share/pkgconfig + cp ./assets/hyprland-portals.conf ${PREFIX}/share/xdg-desktop-portal/ if [ -d /usr/share/pkgconfig ]; then cp ./build/hyprland.pc /usr/share/pkgconfig 2>/dev/null || true; fi cleaninstall: diff --git a/assets/hyprland-portals.conf b/assets/hyprland-portals.conf new file mode 100644 index 00000000..e88b8d4c --- /dev/null +++ b/assets/hyprland-portals.conf @@ -0,0 +1,2 @@ +[preferred] +default=Hyprland \ No newline at end of file