Skip to content

pablopunk/SwiftShift

Repository files navigation

Sweet window management for macOS

demo-light.mp4

Installation

There are several ways:

Features

  • Launch at login
  • Hide menubar icon
  • Focus on window
  • Smart resizing with quadrants

Quadrants

quadrants-light.mp4

Contributing

You can either use Xcode (be careful with signing) or build it directly from the command line:

Build and run from the command line

make run

Accessibility permissions running locally

Make sure you don't have Swift Shift running already. If you have 2 versions of Swift Shift, only one will get Accessibility permissions. To fix it:

  • Quit all Swift Shift instances
  • Remove Swift Shift from the System Preferences > Security & Privacy > Accessibility
  • Run the app you want to test
  • Enable Accessibility permissions

I'm open to PRs and requests. If you are looking for something to do, take a look at the issues marked as help wanted.

Release

  1. Xcode > Swift Shift > General > Targets > Swift Shift > bump the version and the build (e.g. 0.26.0)
  2. Xcode > Product > Archive
  3. Select latest build and Distribute App > Direct Distribution > Distribute
  4. Wait for Apple service to notarize it
  5. Go to Distribute App again > Distribute > Export > Save it somewhere in your computer
  6. make appcast "path/to/the/folder/you/saved" (make sure to use quotes)
  7. Create a new branch (e.g. git checkout -b 0.26.0)
  8. Commit it (e.g. git commit -am "bump version and add appcast")
  9. Tag it (e.g. git tag 0.26.0)
  10. Push branch and tags git push && git push --tags
  11. Create a PR from that branch
  12. Draft a new release and select that new tag
  13. Click "Generate release notes"
  14. Upload the SwiftShift.zip from the folder you saved the notarized app
  15. Publish release
  16. Merge PR

header header