bilelmoussaoui / ashpd

A Rust wrapper around XDG portals DBus interfaces
https://bilelmoussaoui.github.io/ashpd/ashpd/
MIT License
242 stars 44 forks source link

Allow setting activation_token in supported portals #219

Closed apricotbucket28 closed 4 months ago

apricotbucket28 commented 4 months ago

Allow manually setting the activation_token option for the OpenURI and DynamicLauncher.Launch portals.

I saw that https://github.com/bilelmoussaoui/ashpd/pull/70 is opened but it also includes additional integration, while this just allows setting the token if we already got it from somewhere else (e.g. directly via the Wayland protocol)

(related commit: https://github.com/apricotbucket28/zed/commit/15489a03966b1c627c9596e0635c5f45c9411b9e)

bilelmoussaoui commented 4 months ago

Thanks a lot!