Open wwaltb opened 4 months ago
You can check where the cursor is with hyprctl cursorpos
, which gives you x, y
coordinates of the entire screen (all outputs combined). Depending on how you've laid out the monitors, you can make a script to check which screen the cursor is on.
An alternative/easier solution is to listen on the socket for focusedmon
events.
Description
Is there a way to check if the cursor is active (shown on screen) using hyprctl? I am wanting to use this information to add a keyboard layer whenever the cursors is active.