Advertisement
Guest User

slate configuration

a guest
Oct 3rd, 2015
1,167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. config
  2. ### Global Configuration
  3. ###
  4.  
  5. # Default to the current screen if the screen the reference does not exist.
  6. config defaultToCurrentScreen true
  7. # The base value for nudge percent calculation
  8. config nudgePercentOf screenSize
  9. # The base value for resize percent calculation
  10. config resizePercentOf screenSize
  11. #show icons on window hints
  12. config windowHintsShowIcons true
  13. #show icons for windows that are below focus
  14. config windowHintsIgnoreHiddenWindows false
  15. #spread out the window hint options
  16. config windowHintsSpread true
  17.  
  18.  
  19. ### Alises
  20. ###
  21.  
  22. # Monitor Aliases
  23. alias mon-laptop 1280x800
  24. alias mon-dell 0
  25. alias mon-nec 1
  26. alias editor 'MacVim'
  27.  
  28. # Positional Aliases
  29. alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
  30. alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
  31. alias leftthird move screenOriginX;screenOriginY screenSizeX/3;screenSizeY
  32. alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
  33. alias rightthird move screenOriginX+screenSizeX/3+screenSizeX/3;screenOriginY screenSizeX/3; screenSizeY
  34. alias middlethird move screenOriginX+screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
  35. alias tophalf move screenOriginX;screenOriginY screenSizeX;screenSizeY/2
  36. alias bottomhalf move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX;screenSizeY/2
  37. alias topleft corner top-left resize:screenSizeX/2;screenSizeY/2
  38. alias topright corner top-right resize:screenSizeX/2;screenSizeY/2
  39. alias bottomleft corner bottom-left resize:screenSizeX/2;screenSizeY/2
  40. alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2
  41.  
  42. #aliases for keymaps
  43. alias hyper ctrl;cmd;shift;alt
  44.  
  45. #Layouts
  46. layout 1monitor 'iTunes' ${lefthalf} ${mon-laptop}
  47. layout 1monitor 'Omnifocus' ${full} ${mon-laptop}
  48. layout 1monitor 'iTerm' ${full} ${mon-laptop}
  49. layout 1monitor 'Google Chrome' ${full} ${mon-laptop}
  50. layout 1monitor 'Firefox' ${full} ${mon-laptop}
  51. layout 1monitor 'Macvim' ${full} ${mon-laptop}
  52. layout 1monitor 'TweetDeck' ${full} ${mon-laptop}
  53. layout 1monitor 'Spotify' ${full} ${mon-laptop}
  54. layout 1monitor 'KeePassX' ${bottomhalf} ${mon-laptop}
  55. layout 1monitor 'Finder' ${bottomhalf} ${mon-laptop}
  56.  
  57. layout 2monitor 'iTerm' ${full} ${mon-dell}
  58. layout 2monitor 'Google Chrome' ${full} ${mon-nec}
  59. layout 2monitor 'Firefox' ${righthalf} ${mon-dell}
  60. layout 2monitor 'Macvim' ${lefthalf} ${mon-dell}
  61. layout 2monitor 'TweetDeck' ${full} ${mon-nec}
  62. layout 2monitor 'Spotify' ${full} ${mon-nec}
  63. layout 2monitor 'KeePassX' ${bottomhalf} ${mon-nec}
  64. layout 2monitor 'Finder' ${bottomhalf} ${mon-nec}
  65. layout 2monitor 'LimeChat' ${full} ${mon-nec}
  66. layout 2monitor 'Dash' ${righthalf} ${mon-nec}
  67. layout 2monitor 'VLC' ${full} ${mon-nec}
  68.  
  69.  
  70. # Default Layouts
  71. default 2monitor resolutions:${mon-dell};${mon-nec};
  72. default 1monitor resolutions:${mon-laptop}
  73.  
  74. #Bind positioning keys
  75. bind h:cmd;ctrl ${lefthalf}
  76. bind l:cmd;ctrl ${righthalf}
  77. bind m:cmd;ctrl ${full}
  78. bind j:cmd;ctrl ${tophalf}
  79. bind k:cmd;ctrl ${bottomhalf}
  80. bind f:${hyper} ${full}
  81.  
  82. bind p:cmd;ctrl throw 1
  83. bind o:cmd;ctrl throw 0
  84.  
  85.  
  86. #bind window switching ke
  87. bind e:cmd hint QWERTYUIOP
  88. bind b:cmd;alt focus 'Google Chrome'
  89. bind t:cmd;alt focus 'TweetDeck'
  90. bind c:cmd;alt focus 'iTerm'
  91. bind o:cmd;alt focus 'OmniFocus'
  92. bind x:cmd;alt focus 'LimeChat'
  93. bind f:cmd;alt focus 'Finder'
  94. bind m:cmd;alt focus 'Mail'
  95. bind s:cmd;alt focus 'Spotify'
  96. bind a:cmd;alt layout 1monitor
  97. bind y:cmd;alt layout 2monitor
  98.  
  99.  
  100. #maximize
  101. bind m:cmd;shift move screenOriginX;screenOriginY screenSizeX;screenSizeY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement