Last active
December 13, 2015 20:48
-
-
Save mauriciogardini/4972439 to your computer and use it in GitHub Desktop.
Slate dotfile - Layout section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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