Skip to content
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

Add a screenshot button #54

Closed
wants to merge 2 commits into from
Closed

Conversation

leolost2605
Copy link
Member

Will just launch the screenshot app.
TODO: add a symbolic icon

try {
AppInfo.create_from_commandline ("io.elementary.screenshot", null, NONE).launch (null, null);
} catch (Error e) {
critical ("Failed to open system settings: %s", e.message);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
critical ("Failed to open system settings: %s", e.message);
critical ("Failed to open Screenshot: %s", e.message);

@danirabbit
Copy link
Member

I'm not super convinced on this since screenshot is already available from the panel in the applications menu and can be pinned to the Dock. Unless there was like some new novel usage here or screenshot was for some reason not accessible as an app

@leolost2605
Copy link
Member Author

leolost2605 commented Aug 31, 2024

can be pinned to the Dock

Yeah that's fair enough I kinda always forget about that since it's currently not that useful on touch (although I'm looking into changing that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants