gabm / Satty

Satty - Modern Screenshot Annotation. A tool inspired by Swappy and Flameshot.
Mozilla Public License 2.0
389 stars 18 forks source link

Preselect `crop` like flameshot #21

Closed TD-Sky closed 7 months ago

TD-Sky commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

TD-Sky commented 7 months ago

Implement in this PR: https://github.com/gabm/Satty/pull/22