I added an CLI option for copying to clipboard in background/dbus modes.
Depends on D9117
FEATURE: 385559
Spectacle |
I added an CLI option for copying to clipboard in background/dbus modes.
Depends on D9117
FEATURE: 385559
Execute " spectacle -bc "
Expected result:
Screenshot copied to clipboard.
Note:
As linux empties clipboard on application exit, use klipper with 'ignore images' unchecked.
No Linters Available |
No Unit Test Coverage |
Thanks for your contribution ;) Summary and test plan look nice.
Did not look too much at the code yet, but the bug you mentioned (eventually) links to a similar Diff touching the same topic, see D9117: Add shortcuts for copying screenshots to clipboard. I wonder if you could base your patch on that (see also here) and here merely add the CLI option? Note that we still might have to change the other Diff a bit, pending code review.
src/SpectacleCore.cpp | ||
---|---|---|
82 | Please add missing spaces at if/else braces. |