Created
May 24, 2017 19:58
-
-
Save rkpatel33/8c9d492387c4b71e7f7594c25df826ea to your computer and use it in GitHub Desktop.
Slate config file
This file contains 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
# config defaultToCurrentScreen true | |
config checkDefaultsOnLoad true | |
# ***************************************************************************** | |
# Screens resolutions | |
# ***************************************************************************** | |
alias screen_macbookpro_2017 1440x900 | |
alias screen_dell_4k 2560x1440 | |
# alias screen_dell_4k 3840x2160 | |
# ***************************************************************************** | |
# Layouts | |
# ***************************************************************************** | |
default macbookpro_2107_layout resolutions:${screen_macbookpro_2017} | |
default work_layout resolutions:${screen_macbookpro_2017},${screen_dell_4k} | |
# ***************************************************************************** | |
# Abstract positions | |
# ***************************************************************************** | |
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY | |
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY | |
alias tophalf move screenOriginX;screenOriginY screenSizeX;screenSizeY/2 | |
alias bottomhalf move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX;screenSizeY/2 | |
alias topleft corner top-left resize:screenSizeX/2;screenSizeY/2 | |
alias topright corner top-right resize:screenSizeX/2;screenSizeY/2 | |
alias bottomleft corner bottom-left resize:screenSizeX/2;screenSizeY/2 | |
alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2 | |
alias center move screenOriginX+screenSizeX/6;screenOriginY+screenSizeY/6 2*screenSizeX/3;2*screenSizeY/3 | |
alias bigCenter move screenOriginX+screenSizeX/12;screenOriginY+screenSizeY/12 10*screenSizeX/12;10*screenSizeY/12 | |
alias bigCenter move screenOriginX+screenSizeX/12;screenOriginY+screenSizeY/12 10*screenSizeX/12;10*screenSizeY/12 | |
alias maximize move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias maximize_leftscreen move screenOriginX;screenOriginY screenSizeX;screenSizeY 0 | |
alias maximize_rightscreen move screenOriginX;screenOriginY screenSizeX;screenSizeY 1 | |
alias center_x50 move screenOriginX+(screenSizeX*.25);screenOriginY screenSizeX*.50;screenSizeY | |
alias center_x50_leftscreen move screenOriginX+(screenSizeX*.25);screenOriginY screenSizeX*.50;screenSizeY 0 | |
alias center_x60_y100 move screenOriginX+(screenSizeX*.20);screenOriginY screenSizeX*.60;screenSizeY | |
alias center_x60_y100_leftscreen move screenOriginX+(screenSizeX*.40/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.60;screenSizeY*1.00 0 | |
alias center_x60_y100_rightscreen move screenOriginX+(screenSizeX*.40/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.60;screenSizeY*1.00 1 | |
alias center_x60_y80_leftscreen move screenOriginX+(screenSizeX*.40/2);screenOriginY+(screenSizeY*.20/2) screenSizeX*.60;screenSizeY*.80 0 | |
alias center_x60_y80_rightscreen move screenOriginX+(screenSizeX*.40/2);screenOriginY+(screenSizeY*.20/2) screenSizeX*.60;screenSizeY*.80 1 | |
alias center_x60y100 move screenOriginX+(screenSizeX*(1-.60)/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.60;screenSizeY*1.00 | |
alias center_x60y60 move screenOriginX+(screenSizeX*(1-.60)/2);screenOriginY+(screenSizeY*(1-.60)/2) screenSizeX*.60;screenSizeY*.60 | |
alias center_x70 move screenOriginX+(screenSizeX*.15);screenOriginY screenSizeX*.70;screenSizeY | |
alias center_x70y100 move screenOriginX+(screenSizeX*(1-.70)/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.70;screenSizeY*1.00 | |
alias center_x70y100_leftscreen move screenOriginX+(screenSizeX*.15);screenOriginY screenSizeX*.70;screenSizeY 0 | |
alias center_x70y100_rightscreen move screenOriginX+(screenSizeX*.15);screenOriginY screenSizeX*.70;screenSizeY 1 | |
alias center_x70y70 move screenOriginX+(screenSizeX*(1-.70)/2);screenOriginY+(screenSizeY*(1-.70)/2) screenSizeX*.70;screenSizeY*.70 | |
alias center_x80 move screenOriginX+(screenSizeX*.20/2);screenOriginY screenSizeX*.80;screenSizeY | |
alias center_x80_leftscreen move screenOriginX+(screenSizeX*.20/2);screenOriginY screenSizeX*.80;screenSizeY 0 | |
alias center_x80_rightscreen move screenOriginX+(screenSizeX*.20/2);screenOriginY screenSizeX*.80;screenSizeY 1 | |
alias center_x80_y100 move screenOriginX+(screenSizeX*.20/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.80;screenSizeY*1.00 | |
alias center_x80_y100_leftscreen move screenOriginX+(screenSizeX*.20/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.80;screenSizeY*1.00 0 | |
alias center_x80_y100_rightscreen move screenOriginX+(screenSizeX*.20/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.80;screenSizeY*1.00 1 | |
alias center_x80_y90 move screenOriginX+(screenSizeX*.20/2);screenOriginY+(screenSizeY*(1-0.9)/2) screenSizeX*.80;screenSizeY*(0.9) | |
alias center_x80y100 move screenOriginX+(screenSizeX*(1-.80)/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.80;screenSizeY*1.00 | |
alias center_x80y80 move screenOriginX+(screenSizeX*(1-.80)/2);screenOriginY+(screenSizeY*(1-.80)/2) screenSizeX*.80;screenSizeY*.80 | |
alias center_x90y100 move screenOriginX+(screenSizeX*(1-.90)/2);screenOriginY+(screenSizeY*.00/2) screenSizeX*.90;screenSizeY*1.00 | |
alias center_x90y90 move screenOriginX+(screenSizeX*(1-.90)/2);screenOriginY+(screenSizeY*(1-.90)/2) screenSizeX*.90;screenSizeY*.90 | |
alias center_x90y90_leftscreen move screenOriginX+(screenSizeX*.05);screenOriginY+(screenSizeY*.05) screenSizeX*.90;screenSizeY*.90 0 | |
alias center_x90y90_rightscreen move screenOriginX+(screenSizeX*.05);screenOriginY+(screenSizeY*.05) screenSizeX*.90;screenSizeY*.90 1 | |
alias right_x70 move screenOriginX+(screenSizeX*(1-.70));screenOriginY screenSizeX*.70;screenSizeY | |
alias right_x70_leftscreen move screenOriginX+(screenSizeX*(1-.70));screenOriginY screenSizeX*.70;screenSizeY 0 | |
alias right_x70_rightscreen move screenOriginX+(screenSizeX*(1-.70));screenOriginY screenSizeX*.70;screenSizeY 1 | |
alias right_x60 move screenOriginX+(screenSizeX*(1-.60));screenOriginY screenSizeX*.60;screenSizeY | |
alias right_x70 move screenOriginX+(screenSizeX*(1-.70));screenOriginY screenSizeX*.70;screenSizeY | |
alias right_x80 move screenOriginX+(screenSizeX*(1-.80));screenOriginY screenSizeX*.80;screenSizeY | |
alias right_x90 move screenOriginX+(screenSizeX*(1-.90));screenOriginY screenSizeX*.90;screenSizeY | |
alias right_x60_leftscreen move screenOriginX+(screenSizeX*(1-.60));screenOriginY screenSizeX*.60;screenSizeY 0 | |
alias right_x60_rightscreen move screenOriginX+(screenSizeX*(1-.60));screenOriginY screenSizeX*.60;screenSizeY 1 | |
alias right_x50 move screenOriginX+(screenSizeX*.50);screenOriginY screenSizeX*.50;screenSizeY | |
alias right_x50_leftscreen move screenOriginX+(screenSizeX*.50);screenOriginY screenSizeX*.50;screenSizeY 0 | |
alias right_x50_rightscreen move screenOriginX+(screenSizeX*.50);screenOriginY screenSizeX*.50;screenSizeY 1 | |
alias left_x50 move screenOriginX+(screenSizeX*0);screenOriginY screenSizeX*.50;screenSizeY | |
alias left_x50_leftscreen move screenOriginX+(screenSizeX*0);screenOriginY screenSizeX*.50;screenSizeY 0 | |
alias left_x50_rightscreen move screenOriginX+(screenSizeX*0);screenOriginY screenSizeX*.50;screenSizeY 1 | |
# ***************************************************************************** | |
# Layout for Macbook Pro 2017 standalone | |
# ***************************************************************************** | |
layout macbookpro_2107_layout 'Terminal': ${bigCenter} | |
# ***************************************************************************** | |
# Layout for Work | |
# ***************************************************************************** | |
layout work_layout 'Calendar': ${lefthalf} 1 | |
layout work_layout 'Chrome': ${center_x80_y100_rightscreen} | |
layout work_layout 'Evernote': ${center_x80_y90} 1 | |
layout work_layout 'Firefox': ${center_x60_y100_rightscreen} | |
layout work_layout 'Mailplane 3': ${center_x60_y100_rightscreen} | |
layout work_layout 'Sonos': ${maximize} 0 | |
layout work_layout 'Spotify': ${maximize} 0 | |
layout work_layout 'Slack': ${maximize} 0 | |
layout work_layout 'Sublime Text': ${center_x80_y100_rightscreen} | |
layout work_layout 'Terminal': ${center} 1 | |
layout work_layout 'iTerm2': ${center} 1 | |
layout work_layout 'Finder': ${center_x70y70} 1 | |
layout work_layout 'Preview': ${center_x60y100} | |
# # ************************************************************************** | |
# # Shortcuts | |
# # ***************************************************************************** | |
# # bind 6:ctrl;alt ${center_x60y100} | |
# # bind 7:ctrl;alt ${center_x70y100} | |
# # bind 8:ctrl;alt ${center_x80y100} | |
# # bind 8:ctrl;alt ${center_x80y100} | |
# # bind 9:ctrl;alt ${center_x90y100} | |
bind 6:cmd;alt ${center_x60y100} | |
bind 7:cmd;alt ${center_x70y100} | |
bind 8:cmd;alt ${center_x80y100} | |
bind 9:cmd;alt ${center_x90y100} | |
# # EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment