quickly move cursor between monitors
feel tired everytime when moving mouse cursor between monitors, especially the ultrawide monitor
App you need:
- Hammerspoon
- Karabiner Element (option, just for a quick access with hyper key)
local hyperShift = {'ctrl', 'alt', 'cmd', 'shift'}hs.hotkey.bind(hyperShift, '`', function()
local screen = hs.mouse.getCurrentScreen()
local nextScreen = screen:next()
local rect = nextScreen:fullFrame()
local center = hs.geometry.rectMidPoint(rect)hs.mouse.setAbsolutePosition(center)
end)
Website: jma.dev