mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +01:00
readme: add links, improve formatting
This commit is contained in:
parent
13076d0c10
commit
03599925b6
1 changed files with 14 additions and 14 deletions
28
README.md
28
README.md
|
@ -1,36 +1,36 @@
|
|||
# xdg-desktop-portal-wlr
|
||||
|
||||
xdg-desktop-portal backend for wlroots
|
||||
[xdg-desktop-portal] backend for wlroots
|
||||
|
||||
## Building
|
||||
|
||||
```sh
|
||||
meson build
|
||||
ninja -C build
|
||||
```
|
||||
meson build
|
||||
ninja -C build
|
||||
|
||||
## Installing
|
||||
|
||||
```sh
|
||||
ninja -C build install
|
||||
```
|
||||
ninja -C build install
|
||||
|
||||
Make sure `XDG_CURRENT_DESKTOP=sway` is set.
|
||||
|
||||
```sh
|
||||
/usr/lib/xdg-desktop-portal -r &
|
||||
xdg-desktop-portal-wlr
|
||||
```
|
||||
/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](https://github.com/matthiasclasen/portal-test) flatpak app.
|
||||
You can test the integration with the [portal-test] Flatpak app.
|
||||
|
||||
Alternatively you can trigger it with [trigger-screen-shot.py](https://gitlab.gnome.org/snippets/814) and [xdp-screen-cast.py](https://gitlab.gnome.org/snippets/19).
|
||||
Alternatively you can trigger it with [trigger-screen-shot.py] and
|
||||
[xdp-screen-cast.py].
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
[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
|
||||
|
|
Loading…
Reference in a new issue