2022-12-12 14:50:02 +00:00
2022-12-04 01:45:36 +02:00
2022-12-03 21:27:49 +00:00
2022-12-12 00:28:35 +02:00
2022-12-11 21:03:28 +04:00
2022-12-12 14:50:02 +00:00
2022-12-12 00:28:35 +02:00
2022-12-03 21:27:49 +00:00
2022-12-04 21:12:57 +00:00
2022-12-12 00:29:37 +02:00
2022-12-03 23:42:56 +00:00
2022-12-10 20:31:30 +00:00

xdg-desktop-portal-hyprland

xdg-desktop-portal backend for hyprland

What and why?

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.

Additional dependencies

XDPH depends on qt6 and qt6-wayland for the sharing selector. Lack of either will cause screensharing to not work at all.

Building

meson build --prefix=/usr
ninja -C build
cd hyprland-share-picker && make all && cd ..

Installing

From Source

ninja -C build install
sudo cp ./hyprland-share-picker/build/hyprland-share-picker /usr/bin

AUR

yay -S xdg-desktop-portal-hyprland-git

Usage

Although should start automatically, consult the Hyprland wiki in case of issues.

For other wlroots-based compositors

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)

License

MIT

Description
xdg-desktop-portal backend for hyprland
Readme BSD-3-Clause 2.6 MiB
Languages
C++ 89.6%
CMake 4.2%
Nix 3.1%
Meson 3%
Makefile 0.1%