Show HN: Smove – a smol macOS window mover for Spectacle users

edgar_ortega1 pts0 comments

GitHub - SmolNero/smove · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

SmolNero

smove

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>3 Commits<br>3 Commits

Resources

Resources

Sources/smove

Sources/smove

assets

assets

.gitignore

.gitignore

Info.plist

Info.plist

LICENSE

LICENSE

Makefile

Makefile

Package.swift

Package.swift

README.md

README.md

View all files

Repository files navigation

smove

smove is a small native macOS app that recreates Spectacle-style window shortcuts.

It uses:

Carbon global hotkeys for the keyboard shortcuts.

macOS Accessibility APIs to move and resize the focused window.

~/Library/Application Support/smove/Shortcuts.json for its active shortcut config.

~/Library/Application Support/Spectacle/Shortcuts.json as the first-run import source.

Build

make app

The app bundle is created at:

dist/smove.app

Run

make run

On first launch, macOS will require Accessibility permission:

Open System Settings.

Go to Privacy & Security > Accessibility.

Enable smove.

Quit Spectacle before using smove, because Spectacle may already own the same global hotkeys.

Relaunch smove or choose Reload Shortcuts from the menu-bar item.

Install

make install

This copies the app to /Applications/smove.app.

Signing

The Makefile uses ad-hoc signing by default:

make install

For stable Accessibility permissions across local rebuilds, sign with your own Apple Development certificate:

make install SIGN_IDENTITY="Apple Development: Your Name (TEAMID)"

Imported Spectacle Shortcuts

These match Spectacle-style shortcuts and can be overridden by editing ~/Library/Application Support/smove/Shortcuts.json:

Action<br>Shortcut

Left Half<br>alt+cmd+left

Right Half<br>alt+cmd+right

Top Half<br>alt+cmd+up

Bottom Half<br>alt+cmd+down

Fullscreen<br>alt+cmd+f

Center<br>alt+cmd+c

Next Display<br>ctrl+alt+cmd+right

Previous Display<br>ctrl+alt+cmd+left

Next Third<br>ctrl+alt+right

Previous Third<br>ctrl+alt+left

Upper Left<br>ctrl+cmd+left

Upper Right<br>ctrl+cmd+right

Lower Left<br>ctrl+shift+cmd+left

Lower Right<br>ctrl+shift+cmd+right

Make Larger<br>ctrl+alt+shift+right

Make Smaller<br>ctrl+alt+shift+left

Undo Last Move<br>alt+cmd+z

Redo Last Move<br>alt+shift+cmd+z

About

No description, website, or topics provided.

Resources

Readme

License

GPL-3.0 license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Swift<br>97.2%

Makefile<br>2.8%

You can’t perform that action at this time.

smove ctrl left right shortcuts spectacle

Related Articles