I tend to reuse the same screenshot settings much like the users in the linked issue. Currently, the portal uses a reasonable default, but it would be ideal to restore the last used options.
This patch implements the plumbing for configs as well as adds a config for the screenshot endpoint. It currently works, but I have to rebase the patch on master and support saving the selected output. The latter is a planned feature as per a comment in screenshot.rs.
The plumbing for configs should be useful in the future as well since there will likely be other settings to store for different endpoints.
To do:
[x] Rebase on master
[x] Store last selected output
Updates:
Force pushed to remove a finished to do and an unneeded clone
Closes: pop-os/cosmic-screenshot#29
I tend to reuse the same screenshot settings much like the users in the linked issue. Currently, the portal uses a reasonable default, but it would be ideal to restore the last used options.
This patch implements the plumbing for configs as well as adds a config for the screenshot endpoint. It currently works, but I have to rebase the patch on master and support saving the selected output. The latter is a planned feature as per a comment in
screenshot.rs
.The plumbing for configs should be useful in the future as well since there will likely be other settings to store for different endpoints.
To do:
Updates: