Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

cursor-screen-switcher

Move your mouse cursor to the center of the next/previous screen with a keyboard shortcut on macOS.

Shortcut Action
Cmd + Option + Shift + . (>) Cursor to center of next screen
Cmd + Option + Shift + , (<) Cursor to center of previous screen

Wraps around: pressing "next" on the last screen jumps back to the first.

Setup

Requires Homebrew (used to install Hammerspoon if it's not already installed).

git clone git@github.com:iandjx/cursor-screen-switcher.git
cd cursor-screen-switcher
./setup.sh

The first time Hammerspoon runs, macOS will prompt you to grant it Accessibility permission (System Settings → Privacy & Security → Accessibility). The shortcuts won't work until you allow it.

Tip: enable "Launch Hammerspoon at login" from the Hammerspoon menu-bar icon so the shortcuts survive reboots.

What setup.sh does

  1. Installs Hammerspoon via Homebrew if it isn't installed.
  2. Copies cursor-screen-switcher.lua into ~/.hammerspoon/init.lua — if you already have a Hammerspoon config, it backs it up and appends instead of overwriting.
  3. Launches Hammerspoon.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages