Skip to main content
1 of 2
Cestarian
  • 2.6k
  • 5
  • 32
  • 50

Is there a way to find the mouse/cursor state with a command?

I'm trying to make a bash script that requires the ability to probe the cursor state, e.g. if it's hovering over a link or a folder I need it to behave differently than if it's neutral or hovering text.

How could I go about doing this?

Cestarian
  • 2.6k
  • 5
  • 32
  • 50