hypr: Adding xdph token default of true (#3404)

* hypr: Adding xdph token default of true

The `allow_token_by_default` configuration option under `screencopy` within
`xdg-dektop-portal-hyprland` (xdph) enables the "Allow restore token" checkbox
by default in the screen sharing section dialog. Enabling it to `true` ensures
the checkbox is pre-ticked, which can help avoid repeated selection prompts
during screen sharing sessions, such as those reported with Slack, Google Meet,
Zoom, etc. on Hyprland.

Signed-off-by: Larry Dewey <larry.j.dewey@gmail.com>

* Enable the XDPH config on existing installations

---------

Signed-off-by: Larry Dewey <larry.j.dewey@gmail.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Larry Dewey
2025-11-18 16:20:08 +01:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent 5ab2a69722
commit c1fca69de5
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
screencopy {
allow_token_by_default = true
}
+4
View File
@@ -0,0 +1,4 @@
echo "Configure XDPH config for screensharing to remember token selection"
cp $OMARCHY_PATH/config/hypr/xdph.conf ~/.config/hypr/
systemctl --user restart xdg-desktop-portal-hyprland