emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Expose portal request arguments to chooser_cmd

monkz opened this issue · comments

commented

I like to create a chooser that is a little bit more "intelligent". Like preselecting sources in certain situations.
Therefore, it would be nice to gain information about the request that triggered the invocation of the chooser_cmd.

Would it be possible to hand over this kind of information via environment variables?

https://github.com/flatpak/xdg-desktop-portal/blob/main/data/org.freedesktop.impl.portal.ScreenCast.xml#L131

commented

Found #169 mine would be a duplicate then