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

Preselect crop like flameshot #21

Closed
TD-Sky opened this issue Nov 29, 2023 · 4 comments
Closed

Preselect crop like flameshot #21

TD-Sky opened this issue Nov 29, 2023 · 4 comments

Comments

@TD-Sky
Copy link
Contributor

TD-Sky commented Nov 29, 2023

I use such command to capture screen area like flameshot in hyprland:

# nushell
grim -o (hyprctl monitors -j | from json | where focused | first | get name) - | satty -f - --fullscreen --output-filename $saved

But unlike flameshot, the default operation of satty is Pointer so I have to choose Crop and then crop the area. It takes more steps.

Are there any plans to support preselecting mode in command line or changing the default operation of satty?

@gabm
Copy link
Owner

gabm commented Nov 29, 2023

Indeed, the crop tool was default before the pointer tool was introduced. Then I figured that the pointer was a more sane default.

So I guess the easiest is to introduce an option to choose the default. I personally would also be fine to switch it to the crop tool but i am almost sure we will get this request for the other tools at some point...

Would you want to give it a shot?

@gabm
Copy link
Owner

gabm commented Nov 29, 2023

Apart from that I also want to introduced hotkeys for choosing the tools and options at some point - but that will only be a half-solution

@TD-Sky
Copy link
Contributor Author

TD-Sky commented Nov 29, 2023

I'm not familiar with GTK but can give a try.

@TD-Sky
Copy link
Contributor Author

TD-Sky commented Nov 29, 2023

Implement in this PR: #22

@TD-Sky TD-Sky closed this as completed Nov 30, 2023
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

No branches or pull requests

2 participants