Skip to content

add screenshot button and command line argument#14

Merged
AlexanderVanhee merged 1 commit intomasterfrom
screenshot
May 30, 2025
Merged

add screenshot button and command line argument#14
AlexanderVanhee merged 1 commit intomasterfrom
screenshot

Conversation

@AlexanderVanhee
Copy link
Owner

This pull request implements the screenshot image loader. This loader can be accessed via a traditional icon button in the top bar, replacing the paste icon button. It can also be activated on launch by using the --screenshot argument, allowing the user to emulate a screenshot shortcut that opens the app after taking one.

The screenshot loader itself is just a wrapper around the screenshot portal, enabling usage in Flatpaks and saving us the effort of implementing our own screenshot tool. However, this approach has the disadvantage of offering less control, for example, it cannot prevent the screenshot tool from saving the image to a file.
Kasasa solves this issue by auto-deleting the files afterward, but this would necessitate the need for additional folder permissions.

@AlexanderVanhee AlexanderVanhee self-assigned this May 30, 2025
@AlexanderVanhee AlexanderVanhee added the enhancement New feature or request label May 30, 2025
@AlexanderVanhee AlexanderVanhee marked this pull request as ready for review May 30, 2025 10:34
@AlexanderVanhee AlexanderVanhee merged commit 9c9c74e into master May 30, 2025
1 check passed
@AlexanderVanhee AlexanderVanhee deleted the screenshot branch May 30, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant