mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 17:59:47 +01:00
A read-only mirror of https://github.com/hyprwm/xdg-desktop-portal-hyprland
6ecb5dffc7
Alpine uses musl, which may behave differently than glibc. Add Alpine to the CI to make sure we don't rely on glibc-specific behaviour. References: https://github.com/emersion/xdg-desktop-portal-wlr/issues/28 |
||
---|---|---|
.builds | ||
contrib/systemd | ||
include | ||
protocols | ||
src | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
meson.build | ||
meson_options.txt | ||
org.freedesktop.impl.portal.desktop.wlr.service.in | ||
README.md | ||
wlr.portal |
xdg-desktop-portal-wlr
xdg-desktop-portal backend for wlroots
Building
meson build
ninja -C build
Installing
ninja -C build install
Make sure XDG_CURRENT_DESKTOP=sway
is set.
/usr/lib/xdg-desktop-portal -r &
xdg-desktop-portal-wlr
Tooling
Useful tools include dbus-monitor
to watch requests being made,
and dbus-send
and the similar busctl call
for manual dbus calls.
You can test the integration with the portal-test Flatpak app.
Alternatively you can trigger it with trigger-screen-shot.py and xdp-screen-cast.py.
License
MIT