When taking screenshots with grim using region provided by slurp, even if I specify -c, cursor is not captured.
What command, exactly, are you using? Also, what cursor theme, and which Wayland compositor?
I can't reproduce this myself; however, if I make a screenshot with
grim -g "$(slurp -d)"
over some text input region, the screenshot uses the I-beam cursor shape (I) instead of the regular ( 🮰) cursor that is seen while selecting a region withslurp
. So if the underlying program sets an invisible cursor, the screenshot will use that invisible cursor.
This is my command grim -c -g "$(slurp -d)" - | wl-copy Cursor theme is Adwaita and I'm on Sway 1.6