Skip to content

Instantly share code, notes, and snippets.

@wolf0403
Last active December 8, 2018 10:44
Show Gist options
  • Save wolf0403/4b8317d03d02227c902f to your computer and use it in GitHub Desktop.
Save wolf0403/4b8317d03d02227c902f to your computer and use it in GitHub Desktop.
Slate WM config to replace Spectacle
# I'm getting Amethyst for my dual-monitor work setup
#
# For laptop, I'm replacing good-old Spectacle with Slate
# just for its Grid / Hint and versionable configuration
# to start with.
# https://github.com/jigish/slate
bind 0:alt,cmd relaunch
bind 1:alt,cmd grid 0:6,4
bind 2:alt,cmd hint
bind right:alt,cmd push right bar-resize:screenSizeX/2
bind left:alt,cmd push left bar-resize:screenSizeX/2
bind up:alt,cmd corner top-left resize:screenSizeX;screenSizeY # fix orientation when Docker on left.
bind down:alt,cmd move screenSizeX/4;0 screenSizeX/2;screenSizeY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment