Skip to content

Instantly share code, notes, and snippets.

@loshlee
loshlee / Slate Manager
Last active Mar 4, 2021
I use this AppleScript to launch Slate with the last used configuration, edit a slate configuration from a collection of .slate or .slate.js files using TextWrangler, or activate one of the collected configuration files in 10.8, 10.9 or 10.10. When first run, the script creates a Slate Sets folder in the Home folder containing a copy of the defa…
View Slate Manager
set default_settings to "# This is a sample .slate file.
# If no ~/.slate file exists, this is the file that will be used.
# Action summary
# ⌃⌥⌘0 - Show window locations for current screen
# ⌃⌥⌘1 - Move and resize front window to upper left corner
# ⌃⌥⌘2 - Move and resize front window to upper right corner
# ⌃⌥⌘3 - Move and resize front window to lower left corner
# ⌃⌥⌘4 - Move and resize front window to lower right corner
# ⌃⌘1 - Move and resize front window to left Half