emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots
MIT License
579 stars 53 forks source link

contrib: Add portals config example #269

Closed columbarius closed 10 months ago

columbarius commented 1 year ago

This is an example configuration for choosing the portal implementations which should be used [1]. Compositors and distributions are expected to ship their modified version according to their choice of components.

[1] https://github.com/flatpak/xdg-desktop-portal/pull/955

Resolves: #268

emersion commented 1 year ago

LGTM

Consolatis commented 2 months ago

I have no experience with portals but I am a bit puzzled to see that the example config

Would this work as well, without making decisions for the user what kind of portals to use for interfaces that the -wlr implementation does not support? Or should it just be default=wlr without the ;* at the end?

[preferred]
default=wlr;*
emersion commented 2 months ago

The intent seems to provide an example configuration though?

columbarius commented 2 months ago

This was my config at that time as an example. Distributions should adopt this to their preference and users can place their prefered config in the home directory as an override.

Consolatis commented 2 months ago

Alright, thanks for the replies.