xdg-desktop-portal-hyprland/README.md

39 lines
970 B
Markdown
Raw Normal View History

2018-12-12 11:46:19 +01:00
# xdg-desktop-portal-wlr
2018-12-12 22:29:57 +01:00
2020-03-10 13:40:27 +01:00
[![builds.sr.ht status](https://builds.sr.ht/~emersion/xdg-desktop-portal-wlr.svg)](https://builds.sr.ht/~emersion/xdg-desktop-portal-wlr?)
2019-12-09 12:45:30 +01:00
[xdg-desktop-portal] backend for wlroots
2018-12-12 22:29:57 +01:00
## Building
2019-12-09 12:45:30 +01:00
meson build
ninja -C build
2018-12-12 22:29:57 +01:00
## Installing
2019-12-09 12:45:30 +01:00
ninja -C build install
2018-12-12 22:29:57 +01:00
Make sure `XDG_CURRENT_DESKTOP=sway` is set.
2019-12-09 12:45:30 +01:00
/usr/lib/xdg-desktop-portal -r &
xdg-desktop-portal-wlr
2018-12-12 22:29:57 +01:00
## Tooling
Useful tools include `dbus-monitor` to watch requests being made,
and `dbus-send` and the similar `busctl call` for manual dbus calls.
2019-12-09 12:45:30 +01:00
You can test the integration with the [portal-test] Flatpak app.
2019-12-09 12:45:30 +01:00
Alternatively you can trigger it with [trigger-screen-shot.py] and
[xdp-screen-cast.py].
2018-12-12 22:29:57 +01:00
## License
MIT
2019-12-09 12:45:30 +01:00
[portal-test]: https://github.com/matthiasclasen/portal-test
[xdg-desktop-portal]: https://github.com/flatpak/xdg-desktop-portal
[trigger-screen-shot.py]: https://gitlab.gnome.org/snippets/814
[xdp-screen-cast.py]: https://gitlab.gnome.org/snippets/19