Skip to content
aaronlifton edited this page Oct 16, 2012 · 14 revisions

Example Slate Configs

User Configs

Inline Examples

Layout Definition Tricks

### use '|' and '>' in layout definitions
### eg. hide only the second instance of chrome but resize and move both
alias huge-main  move screenOriginX;screenOriginY                 screenSizeX;screenSizeY ${huge-monitor}
alias small-right move screenOriginX+screenSizeX/2;screenOriginY  screenSizeX/2;screenSizeY ${small-monitor}

layout 2monitors 'Google Chrome':SORT_TITLE     ${huge-main} | ${small-right} > hide current

### hide an app upon layout initialization
layout 2monitors 'Twitter':                     sequence focus down > hide current


### hide the second instance of an app
layout 2monitors 'Mail':SORT_TITLE              nudge +0 +0 > show current | nudge +0 +0 > hide current

Sequence Chains

### use sequences, focus, and pipes to switch 2 vertically split windows back and forth
bind 4:ctrl sequence push left bar-resize:screenSizeX/2 > focus right > push right bar-resize:screenSizeX/2 > push left > push right | push left

Moving

Resizing

Focusing

Automagic Stuff

Clone this wiki locally