2022-12-03 21:47:58 +01:00
|
|
|
# xdg-desktop-portal-hyprland
|
2018-12-12 22:29:57 +01:00
|
|
|
|
2022-12-03 21:47:58 +01:00
|
|
|
[xdg-desktop-portal] backend for hyprland
|
2020-03-10 13:40:27 +01:00
|
|
|
|
2022-12-03 21:47:58 +01:00
|
|
|
## What and why?
|
|
|
|
Due to reasons explained in [hyprland-protocols](https://github.com/hyprwm/hyprland-protocols),
|
|
|
|
we have a separate desktop portal impl for Hyprland.
|
|
|
|
|
|
|
|
Although `-wlr` **does** work with Hyprland, `-hyprland` offers more features.
|
2018-12-12 22:29:57 +01:00
|
|
|
|
|
|
|
## Building
|
|
|
|
|
2020-04-29 19:50:53 +02:00
|
|
|
```sh
|
2022-12-05 01:08:17 +01:00
|
|
|
meson build --prefix=/usr
|
2020-04-29 19:50:53 +02:00
|
|
|
ninja -C build
|
2022-12-03 22:27:49 +01:00
|
|
|
cd hyprland-share-picker && make all && cd ..
|
2020-04-29 19:50:53 +02:00
|
|
|
```
|
2018-12-12 22:29:57 +01:00
|
|
|
|
|
|
|
## Installing
|
|
|
|
|
2020-04-29 19:50:53 +02:00
|
|
|
### From Source
|
|
|
|
|
|
|
|
```sh
|
|
|
|
ninja -C build install
|
2022-12-03 22:27:49 +01:00
|
|
|
sudo cp ./hyprland-share-picker/build/hyprland-share-picker /usr/bin
|
2020-04-29 19:50:53 +02:00
|
|
|
```
|
|
|
|
|
2018-12-12 22:29:57 +01:00
|
|
|
## License
|
|
|
|
MIT
|
2019-12-09 12:45:30 +01:00
|
|
|
|
|
|
|
[xdg-desktop-portal]: https://github.com/flatpak/xdg-desktop-portal
|
2020-04-29 19:50:53 +02:00
|
|
|
[screencast compatibility]: https://github.com/emersion/xdg-desktop-portal-wlr/wiki/Screencast-Compatibility
|