Skip to content

Instantly share code, notes, and snippets.

@mauriciogardini
Last active December 13, 2015 20:48
Show Gist options
  • Save mauriciogardini/4972439 to your computer and use it in GitHub Desktop.
Save mauriciogardini/4972439 to your computer and use it in GitHub Desktop.
Slate dotfile - Layout section
# Layout's directive - layout name 'app name':OPTIONS operations
# Creates the aliases needed for this example
alias 0-full move screenOriginX;screenOriginY screenSizeX;screenSizeY 0
alias 1-full move screenOriginX;screenOriginY screenSizeX;screenSizeY 1
# oneDisplayLayout - Places iTerm in the left half and Firefox in the right half.
layout oneDisplayLayout 'iTerm':MAIN_FIRST #{lefthalf}
layout oneDisplayLayout 'Firefox':REPEAT #{righthalf}
# twoDisplayLayout - Places iTerm in full screen in the first display and Firefox in full screen in the second display
layout twoDisplayLayout 'iTerm':MAIN_FIRST #{0-full}
layout twoDisplayLayout 'Firefox':REPEAT #{1-full}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment