[FEATURE]: QoL improvements to noctalia's own screenshot tool
Submission checklist
- [x] I have searched existing issues and confirmed this has not been requested before.
- [x] I have checked existing pull requests for similar changes.
Feature type
UI / visual improvement
Feature summary
It would be nice if the notification given when taking a screenshot using noctalia's own screenshot utility had the following additions;
- Show a preview of the screenshot
- Have a left click action to open the screenshot in some program the user can specify, e.g satty
Motivation / use case
The preview of the screenshot is more of just a bit of visual polish that is common with other screenshot utilities both in Linux, and other OS's.
Left clicking to open in a program is convenient as sometimes you may only want to take a screenshot and have it save to your clipboard, while other times, you may want to make annotations, then copy to clipboard, or actually save the screenshot. Adds a lot more flexibility and is a lot less intrusive than always piping to some output command.
Proposed solution
Since notifications in noctalia already have the ability to display images alongside them, I imagine it would just be a case of displaying the captured screenshot here when the notification is displayed.
For the other functionality, there are already notifications that have an action on left click, so this could probably just be done by having a config action to specify what happens when a screenshot notification is left-clicked – probably very similar in functionality to the current pipe_command option, but executed on a click, rather than every time.
Additional context
There is some similarity here to #3273, but I feel this is different enough to warrant its own request.
I would want the preview to be a notification action, not a tiny image embedded in the notification. So, clicking on the notif opens the image in your image viewer of choice, e.g. Gnome Sushi.
Having an 'open in editor' action would be great too. Like you I don't want to just set a pipe cmd since I only edit screenshots occasionally.
With the new annotation tool built-in to noctalia, you can do that with noctalia msg screenshot-annotate.
Is there still something you are missing ?
Also, one feature per feature request. Please create a separate request specifically for the notification preview.
I think we now cover most use cases.