-
-
Notifications
You must be signed in to change notification settings - Fork 198
Add option to select the default action for tray icon left click #502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I like the idea of configurable default action for tray icon left click. |
@DamirPorobic If I understand this properly, instead of the 'Show Editor' action, the action performed when left-clicking would be configurable to 'Show Editor', 'Rectangular Area', 'Last Rectangular Area', etc. |
Yes. |
Yes, exactly. I had a drop down menu in mind where you can select what's going to be opened. The tricky part is resolving this in code. Usually you would have an enum for the selection but here the capture options are dynamic, depending on OS and DE. |
Understood. I would like to start working on this one. |
@fnkabit I think I would go for the enum, like DefaultTryIconActions consting of the ShowEditor and all existing CaptureOptions. Then, in the settings, I would filter out all not supported CaptureOptions from this new enum and allow the user only to select those that are supported. |
PR merged, thanks @fnkabit for implementing! |
For example, in Flameshot, the default action for tray icon left click is selecting rectangular area, which is quite convenient. Other people may want to select full screen or other actions as default action as well.
P.S.: Thanks for ksnip and the new features in v1.8.
The text was updated successfully, but these errors were encountered: