SHARE
TWEET

Untitled

a guest Jul 17th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. config defaultToCurrentScreen true
  2. config nudgePercentOf screenSize
  3. config resizePercentOf screenSize
  4.  
  5. # Resize Bindings
  6. # bind right:alt       resize +10% +0
  7. # bind left:alt        resize -10% +0
  8. # bind up:alt          resize +0   -10%
  9. # bind down:alt        resize +0   +10%
  10. # bind right:ctrl;alt  resize -10% +0 bottom-right
  11. # bind left:ctrl;alt   resize +10% +0 bottom-right
  12. # bind up:ctrl;alt     resize +0   +10% bottom-right
  13. # bind down:ctrl;alt   resize +0   -10% bottom-right
  14.  
  15. # Push Bindings
  16. # bind right:ctrl;cmd  push right bar-resize:screenSizeX/2
  17. # bind left:ctrl;cmd   push left  bar-resize:screenSizeX/2
  18. # bind up:ctrl;cmd     push up    bar-resize:screenSizeY/2
  19. # bind down:ctrl;cmd   push down  bar-resize:screenSizeY/2
  20.  
  21. # Nudge Bindings
  22. # bind right:shift;alt nudge +10% +0
  23. # bind left:shift;alt  nudge -10% +0
  24. # bind up:shift;alt    nudge +0   -10%
  25. # bind down:shift;alt  nudge +0   +10%
  26.  
  27. # Throw Bindings
  28. # bind 1:ctrl;alt         throw 0 resize
  29. # bind 2:ctrl;alt         throw 1 resize
  30. # bind 3:ctrl;alt         throw 2 resize
  31. # bind right:ctrl;alt;cmd throw right resize
  32. # bind left:ctrl;alt;cmd  throw left  resize
  33. # bind up:ctrl;alt;cmd    throw up    resize
  34. # bind down:ctrl;alt;cmd  throw down  resize
  35.  
  36. # Focus Bindings
  37. # bind right:cmd    focus right
  38. # bind left:cmd     focus left
  39. # bind up:cmd       focus up
  40. # bind down:cmd     focus down
  41. # bind up:cmd;alt   focus behind
  42. # bind down:cmd;alt focus behind
  43.  
  44. # Window Hints
  45. bind esc:cmd hint JKLNMUI
  46.  
  47. # Abstract positions
  48. alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
  49. alias lefthalf push left  bar-resize:screenSizeX/2
  50. alias righthalf push right bar-resize:screenSizeX/2
  51. alias tophalf push up bar-resize:screenSizeY/2
  52. alias bottomhalf push down bar-resize:screenSizeY/2
  53.  
  54. # Sizeup Push Bindings
  55. bind left:ctrl;alt;cmd    ${lefthalf}
  56. bind right:ctrl;alt;cmd   ${righthalf}
  57. bind up:ctrl;alt;cmd      ${tophalf}
  58. bind down:ctrl;alt;cmd    ${bottomhalf}
  59.  
  60. # Sizeup Resize Bindings
  61. bind m:ctrl;alt;cmd       ${full}
RAW Paste Data
Top