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

Add a flag to hide the cursor in hyprpicker #65

Open
ItsProfessional opened this issue Mar 28, 2024 · 1 comment
Open

Add a flag to hide the cursor in hyprpicker #65

ItsProfessional opened this issue Mar 28, 2024 · 1 comment

Comments

@ItsProfessional
Copy link

ItsProfessional commented Mar 28, 2024

Resolves hyprwm/contrib#92

I know that the flag itself seems unnecessary/unfitting for this project, but considering that a good chunk of users use hyprpicker solely for "freezing" their monitors, I see this as necessary.

Because, without this (in the case of grimblast), the user's actual mouse cursor isn't captured in their screenshots. Instead, a part of a crosshair cursor is shown in the corner of their screenshot (when taking a screenshot of a region).

Requested changes: When the flag is passed,

  • Capture and show the user's original cursor (captured before running hyprpicker) as well in hyprpicker.
  • Hide the user's current cursor (the crosshair shown when the user moves around their mouse in hyprpicker).

I'm open to create a PR if maintainers aren't opposed to this proposal.

@SoSeDiK
Copy link

SoSeDiK commented Apr 9, 2024

Considering this was not a goal of a color picker utility, but it's still used as a workaround for freezing the screen, maybe this specific functionality (freeze screen & optionally hide cursor) could make it into a separate util, e.g. hyprfreeze, or even Hyprland's hyprctl dispatcher?
Would be quite useful for scripting. The only thing, I'd rather have it under hypr* umbrella, so anyone using that functionality wouldn't hesitate to switch.

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