hyprland-wiki/pages/Hypr Ecosystem/xdg-desktop-portal-hyprland.md

30 lines
617 B
Markdown
Raw Permalink Normal View History

---
2024-03-17 13:44:39 +01:00
weight: 6
title: xdg-desktop-portal-hyprland
---
2024-02-19 17:52:58 +01:00
xdg-desktop-portal-hyprland is Hyprland's xdg-desktop-portal implementation. It
allows for screensharing, global shortcuts, etc.
2024-02-19 17:52:58 +01:00
## Configuration
2024-05-02 21:14:19 +02:00
Example:
```ini
screencopy {
max_fps = 60
}
```
Config file `~/.config/hypr/xdph.conf` allows for these variables:
### category screencopy
| variable | description | type | default value |
| -- | -- | -- | -- |
| max_fps | Maximum fps of a screensharing session. 0 means no limit. | int | 120 |
2024-02-19 17:52:58 +01:00
## Troubleshooting
See the
2024-03-17 13:44:39 +01:00
[XDG Desktop Portal wiki page](../../Useful-Utilities/xdg-desktop-portal-hyprland).