2022-12-03 21:47:58 +01:00
|
|
|
# xdg-desktop-portal-hyprland
|
2024-01-04 16:20:11 +01:00
|
|
|
|
|
|
|
An [XDG Desktop Portal](https://github.com/flatpak/xdg-desktop-portal) backend
|
|
|
|
for Hyprland.
|
2022-12-05 01:43:40 +01:00
|
|
|
|
2018-12-12 22:29:57 +01:00
|
|
|
## Installing
|
2024-01-04 16:20:11 +01:00
|
|
|
|
|
|
|
First, make sure to install the required dependencies:
|
|
|
|
|
|
|
|
```
|
|
|
|
gbm
|
|
|
|
hyprland-protocols
|
|
|
|
hyprlang
|
|
|
|
libdrm
|
|
|
|
libpipewire-0.3
|
|
|
|
libspa-0.2
|
|
|
|
sdbus-cpp
|
|
|
|
wayland-client
|
|
|
|
wayland-protocols
|
|
|
|
```
|
|
|
|
|
|
|
|
Then run the build and install command:
|
|
|
|
|
2020-04-29 19:50:53 +02:00
|
|
|
```sh
|
2023-10-06 23:33:42 +02:00
|
|
|
git clone --recursive https://github.com/hyprwm/xdg-desktop-portal-hyprland
|
|
|
|
cd xdg-desktop-portal-hyprland/
|
2024-01-04 16:20:11 +01:00
|
|
|
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -B build
|
|
|
|
cmake --install /usr
|
2020-04-29 19:50:53 +02:00
|
|
|
```
|
|
|
|
|
2023-09-06 20:36:48 +02:00
|
|
|
## Running, FAQs, etc.
|
2019-12-09 12:45:30 +01:00
|
|
|
|
2024-01-04 16:20:11 +01:00
|
|
|
See
|
|
|
|
[the Hyprland wiki](https://wiki.hyprland.org/Useful-Utilities/Hyprland-desktop-portal)
|