Skip to content

Allow hiding the cursor#143

Open
m-vz wants to merge 2 commits intoGustash:mainfrom
m-vz:main
Open

Allow hiding the cursor#143
m-vz wants to merge 2 commits intoGustash:mainfrom
m-vz:main

Conversation

@m-vz
Copy link
Copy Markdown

@m-vz m-vz commented Jan 25, 2026

This uses a workaround by moving the cursor off-screen while the screenshot is taken since hyprctl keyword cursor:invisible has a delay making it unreliable.

this uses a workaround by moving the cursor off-screen while the
screenshot is taken since hyprctl keyword cursor:invisible has a delay
making it unreliable.
@Reagent992
Copy link
Copy Markdown

hyprshot -m region -c -s -z --clipboard-only
-c and -z together don't hide the cursor.

@m-vz
Copy link
Copy Markdown
Author

m-vz commented Mar 4, 2026

hmm this works for me, hyprshot -m region -c -s -z --clipboard-only:
image
vs hyprshot -m region -s -z --clipboard-only:
image
(tested on moving text to make sure -z works too)

Does it work without -z on your setup?

@Reagent992
Copy link
Copy Markdown

Reagent992 commented Mar 4, 2026

  • For me, hyprshot -m region -c -s --clipboard-only hides the cursor.
  • And hyprshot -m region -c -s -z --clipboard-only freezes the screen while keeping the cursor visible on it.
    image

By the way, I’m not sure why, but with your patch the selection crosshair (used to select screenshot the area(like in your second screenshot)) disappeared from my screenshots,

@m-vz
Copy link
Copy Markdown
Author

m-vz commented Mar 5, 2026

ah now i see what you mean! i didn't see that because my cursor hides whenever i type. so you get a "clone" of your mouse on the frozen screen. that means we need to hide the cursor also while freezing the screen with hyprpicker, should be fixed by 8432e40

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

Successfully merging this pull request may close these issues.

2 participants