Gustash / Hyprshot

Hyprshot is an utility to easily take screenshots in Hyprland using your mouse.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Canceling screenshot with escape clearing clipboard

Spiderfffun opened this issue · comments

When pressing escape while the -m region gui is opened, it leaves the screenshot tool, but still copies a screenshot (which doesn't exist) to the clipboard, clearing it.

I looked into the code a little and it seems like all that has to be done is handling for this behaviour:

$ slurp -d
selection cancelled

It's problem only with --clipboard-only. I think save_geometry logic must be refactored

I'll try a bit later