mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
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:
3
config/hypr/xdph.conf
Normal file
3
config/hypr/xdph.conf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
screencopy {
|
||||||
|
allow_token_by_default = true
|
||||||
|
}
|
||||||
4
migrations/1763478660.sh
Normal file
4
migrations/1763478660.sh
Normal 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
|
||||||
Reference in New Issue
Block a user