mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 01:39:49 +01:00
A read-only mirror of https://github.com/hyprwm/xdg-desktop-portal-hyprland
include | ||
.build.yml | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
main.c | ||
meson.build | ||
README.md | ||
request.c | ||
screenshot.c | ||
session.c | ||
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