bismuth
bismuth copied to clipboard
[FEATURE]: Warp mouse when selecting another window
Summary
Currently, window selection doesn't involve any warping of mouse position. This is fine for single-monitor use, but a hassle for multi-monitor use because part of the benefit of tiling is being faster to switch between screens, and having to move the mouse pointer over reduces that benefit. This also works oddly if focus-follows-mouse is used.
A clear and concise description of what you want to happen
Either:
- When a window is focused, warp the mouse to the center of the window (any window)
- When focus moves to a different screen, warp the mouse to the center of the screen
Both would help (configurable option would be good as well so this doesn't disrupt single-monitor users, though I believe number 1 would be helpful to everyone
A clear and concise description of any alternative solutions or features you've considered.
No response
Additional info
Some discussion on a python script for this was available here - https://www.reddit.com/r/kde/comments/q2grrp/mouse_auto_follows_focused_window_python/
Am I right in thinking that the linked Python script wouldn't work on Wayland? It references Xlib.
Yes, it would not work on Wayland, unfortunately.
What I'd like is to warp the mouse only when a shortcut changes the focus - windows, screen or desktop focus