hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
20.6k stars 874 forks source link

[Feature Request] Window Rule for movecursortocorner #760

Open wuyoli opened 2 years ago

wuyoli commented 2 years ago

I would like to set a window rule for for example terminals and similar primarily keyboard focused apps to move the mouse cursor to a corner of the window when focused through a keyboard bind. (this obviously should not happen when the focusing was caused by a mouse action.)

Btw: Thank you for this amazing piece of software!

vaxerski commented 2 years ago

that's not how window rules work though?

wuyoli commented 2 years ago

I would like to set specific windows to move the cursor out of the way automatically so i don't have to trigger my bind for the movecursortocorner everytime, since the cursor is teleported to the center of the window.

MightyPlaza commented 1 year ago

make a script that changes focus, checks new focused window title/class and put's the cursor in the corner

izmyname commented 3 weeks ago

Is this still actual? Judging from the answers, it's sorta solved.