Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. # Configs
  2. # -----------------------------------
  3. config defaultToCurrentScreen true
  4. config nudgePercentOf screenSize
  5. config resizePercentOf screenSize
  6. config secondsBetweenRepeat 0.1
  7. config checkDefaultsOnLoad true
  8. config focusCheckWidthMax 3000
  9.  
  10. # config menuBarIconHidden true
  11.  
  12. config windowHintsTopLeftY 100
  13. config windowHintsShowIcons true
  14. config windowHintsBackgroundColor 96;96;64;0.5
  15. config windowHintsOrder none
  16. config windowHintsSpread true
  17. config windowHintsSpreadPadding 40
  18. config windowHintsSpreadSearchWidth 90
  19. config windowHintsSpreadSearchHeight 50
  20. config windowHintsIgnoreHiddenWindows false
  21.  
  22. config switchIconPadding 2
  23. config switchBackgroundColor 50;53;58;0.7
  24. config switchSelectedPadding 4
  25. config switchIconSize 96
  26. config switchShowTitles true
  27. config switchFontSize 11
  28. config switchRoundedCornerSize 4
  29. config undoOps move,resize
  30.  
  31. # Hyper key
  32. # -----------------------------------
  33. alias hyper ctrl;shift;alt;cmd
  34.  
  35.  
  36. bind help hint ASDFGERXC
  37. bind g:cmd grid padding:5 0:6,2 1:8,3
  38.  
  39. # Abstract positions
  40. # -----------------------------------
  41. alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
  42.  
  43. # Left
  44. alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
  45. alias leftthird move screenOriginX;screenOriginY screenSizeX/3;screenSizeY
  46. alias left2thirds move screenOriginX;screenOriginY 2*screenSizeX/3;screenSizeY
  47.  
  48. # Right
  49. alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
  50. alias rightthird corner top-right resize:screenSizeX/3;screenSizeY
  51. alias right2thirds corner top-right resize:2*screenSizeX/3;screenSizeY
  52.  
  53.  
  54. alias topleft corner top-left resize:screenSizeX/2;screenSizeY/2
  55. alias topright corner top-right resize:screenSizeX/2;screenSizeY/2
  56. alias bottomleft corner bottom-left resize:screenSizeX/2;screenSizeY/2
  57. alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2
  58.  
  59. # Use slate cmd tab
  60. # -----------------------------------
  61. bind tab:cmd switch
  62.  
  63. # Location Bindings
  64. # -----------------------------------
  65. bind 1:${hyper} ${bottomleft}
  66. bind 2:${hyper} push bottom bar-resize:screenSizeY/2
  67. bind 3:${hyper} ${bottomright}
  68. bind 4:${hyper} ${lefthalf}
  69. bind 5:${hyper} ${full}
  70. bind 6:${hyper} ${righthalf}
  71. bind 7:${hyper} ${topleft}
  72. bind 8:${hyper} push top bar-resize:screenSizeY/2
  73. bind 9:${hyper} ${topright}
  74.  
  75. bind up:${hyper} ${full}
  76. bind left:${hyper} chain ${lefthalf} | ${leftthird} | ${left2thirds}
  77. bind right:${hyper} chain ${righthalf} | ${rightthird} | ${right2thirds}
  78.  
  79.  
  80. bind z:${hyper} undo
  81.  
  82. # Throws
  83. # -----------------------------------
  84. bind n:${hyper} throw next
  85. # bind right:${hyper} throw right resize
  86. # bind left:${hyper} throw left resize
  87.  
  88. # bind f:${hyper} throw 1 resize
  89. bind g:${hyper} throw 0 resize
  90.  
  91. # Slate
  92. bind backslash:${hyper} relaunch
  93.  
  94. # Software
  95. # -----------------------------------
  96. bind a:${hyper} focus 'Google Chrome'
  97. bind r:${hyper} focus 'CocoaRestClient'
  98. bind s:${hyper} focus 'Sublime Text'
  99. bind f:${hyper} focus 'Finder'
  100. bind k:${hyper} focus 'KeePassX'
  101. bind i:${hyper} focus 'Textual'
  102. bind v:${hyper} focus 'MacVim'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement