xdg-desktop-portal backend for hyprland
Due to reasons explained in hyprland-protocols, we have a separate desktop portal impl for Hyprland.
Although -wlr
does work with Hyprland, -hyprland
offers more features.
XDPH depends on qt6
and qt6-wayland
for the sharing selector. Lack of either will
cause screensharing to not work at all.
meson build --prefix=/usr
ninja -C build
cd hyprland-share-picker && make all && cd ..
ninja -C build install
sudo cp ./hyprland-share-picker/build/hyprland-share-picker /usr/bin
yay -S xdg-desktop-portal-hyprland-git
Although should start automatically, consult the Hyprland wiki in case of issues.
If you are a developer and wish to support features that XDPH provides, make sure to support those protocols:
wlr_foreign_toplevel_management_unstable_v1
hyprland_toplevel_export_v1
- XDPH uses Rev2 exclusively (_with_toplevel_handle
)
MIT