hyprwm / contrib

Community scripts and utilities for Hypr projects
MIT License
294 stars 39 forks source link

`--cursor` flag doesn't work in grimblast #92

Open ItsProfessional opened 8 months ago

ItsProfessional commented 8 months ago

Program

grimblast

Maintainers of the program

@fufexan, @Misterio77

Bug or Regression?

Bug

Description

There's no cursor in the screenshot (neither in the preview when selecting the area, nor in the final output) even if the --cursor flag is passed.

How to reproduce

Hyprland crash reports, program logs, images, videos

No response

fufexan commented 8 months ago

It works fine for me. Are you on Nvidia?

ItsProfessional commented 8 months ago

No. Just a laptop with intel integrated graphics.

fufexan commented 8 months ago

Ah, you're using --cursor with area. Which obviously doesn't work, as the cursor would be outside the area. Or be in the top-left corner, which looks very weird.

EDIT: Ah, I see what you mean now. We're using hyprpicker to capture the frozen image, and it does not support capturing the cursor as well. Perhaps grim could be used in a similar manner to watershot.