[FEATURE] Use Hyprpicker to freeze screen contents when taking a screenshot
Is your feature request related to a problem? Please describe.
Title explains it well, taking a screenshot is usually more helpful when the contents aren't changing while I take the photo, and navigating through the menu correctly when time limited isn't very useful.
Describe the solution you'd like
I propose using Hyprpicker to freeze the screen contents on pressing the screenshot bind, solving the issue of screenshot timing.
Describe alternatives you've considered
No response
Additional context
No response
Support or Contribution
grimblast does this and you are right its a much needed function
# Grimblast freeze the screen copy/save
bind = $mainMod, P, exec, grimblast --freeze copysave area
Being a web developer, having the screen hold position while I snap a screenshot seems like a great feature for productivity. Thank you for suggesting it, setting up now. 😄😀👍🏻💪🏻😎
I will tryt as well.
grimblast does this and you are right its a much needed function
# Grimblast freeze the screen copy/save bind = $mainMod, P, exec, grimblast --freeze copysave area
Does it make sense to add the --freeze option as a default to the grimblast commands of the screenshot script? https://github.com/mylinuxforwork/dotfiles/blob/main/dotfiles/.config/hypr/scripts/screenshot.sh
What do you think?
That would be nice, yes.
That would be nice, yes.
OK. I will add it to the rolling release soon. Then we can test together.
Apologies for the late response, I've been busy getting packed and then settled into college. The suggested command (as in, the one from j5onrf) fixes my issue with the current freeze implementation, wherein it seems to let a frame pass before taking a screenshot, preventing me from taking pictures of things that disappear when your mouse stops hovering over it.
Using dotfiles / hyprshot to take a screenshot of something that requires mouse hovering:
Using the grimblast command:
My best guess is that grimblast unfreezes the screen only after taking the screenshot, and I think your script taking the screenshot after you unfreeze the screen is why it messes up.
Oh my. I didn't even notice but the cursor gets captured twice with grimblast. I'll see if there's a fix without a delay.