Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.38 KB | None | 0 0
  1. # reload config
  2. cmd + alt + ctrl - r : khd -e "reload"
  3.  
  4. # open terminal, I am too stupid to use Kitty.app
  5. ctrl - return : open -na /Applications/iTerm.app
  6.  
  7. #focus window
  8. alt - h : chunkc tiling::window --focus west
  9. alt - j : chunkc tiling::window --focus south
  10. alt - k : chunkc tiling::window --focus north
  11. alt - l : chunkc tiling::window --focus east
  12.  
  13. cmd - j : chunkc tiling::window --focus prev
  14. cmd - k : chunkc tiling::window --focus next
  15.  
  16. # equalize size of windows
  17. shift + alt - 0 : chunkc tiling::desktop --equalize
  18.  
  19. # swap window
  20. shift + alt - h : chunkc tiling::window --swap west
  21. shift + alt - j : chunkc tiling::window --swap south
  22. shift + alt - k : chunkc tiling::window --swap north
  23. shift + alt - l : chunkc tiling::window --swap east
  24.  
  25. # move window
  26. shift + cmd - h : chunkc tiling::window --warp west
  27. shift + cmd - j : chunkc tiling::window --warp south
  28. shift + cmd - k : chunkc tiling::window --warp north
  29. shift + cmd - l : chunkc tiling::window --warp east
  30.  
  31. # move floating windows / windows on a floating space
  32. shift + alt - up : chunkc tiling::window --warp-floating fullscreen
  33. shift + alt - left : chunkc tiling::window --warp-floating left
  34. shift + alt - right : chunkc tiling::window --warp-floating right
  35. shift + cmd - left : chunkc tiling::window --warp-floating top-left
  36. shift + cmd - right : chunkc tiling::window --warp-floating top-right
  37. shift + ctrl - left : chunkc tiling::window --warp-floating bottom-left
  38. shift + ctrl - right : chunkc tiling::window --warp-floating bottom-right
  39.  
  40. # send window to desktop
  41. shift + alt - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop)
  42. shift + alt - z : chunkc tiling::window --send-to-desktop prev
  43. shift + alt - c : chunkc tiling::window --send-to-desktop next
  44. shift + alt - 1 : chunkc tiling::window --send-to-desktop 1
  45. shift + alt - 2 : chunkc tiling::window --send-to-desktop 2
  46. shift + alt - 3 : chunkc tiling::window --send-to-desktop 3
  47. shift + alt - 4 : chunkc tiling::window --send-to-desktop 4
  48. shift + alt - 5 : chunkc tiling::window --send-to-desktop 5
  49. shift + alt - 6 : chunkc tiling::window --send-to-desktop 6
  50.  
  51. # send window to desktop and switch desktop
  52. shift + ctrl - x : `id=$(chunkc get _last_active_desktop); chunkc tiling::window -d $id; khd -p "cmd + alt - $id" &> /dev/null`
  53. shift + ctrl - z : chunkc tiling::window -d prev; khd -p "cmd + alt - z"
  54. shift + ctrl - c : chunkc tiling::window -d next; khd -p "cmd + alt - c"
  55. shift + ctrl - 1 : chunkc tiling::window -d 1; khd -p "cmd + alt - 1"
  56. shift + ctrl - 2 : chunkc tiling::window -d 2; khd -p "cmd + alt - 2"
  57. shift + ctrl - 3 : chunkc tiling::window -d 3; khd -p "cmd + alt - 3"
  58. shift + ctrl - 4 : chunkc tiling::window -d 4; khd -p "cmd + alt - 4"
  59. shift + ctrl - 5 : chunkc tiling::window -d 5; khd -p "cmd + alt - 5"
  60. shift + ctrl - 6 : chunkc tiling::window -d 6; khd -p "cmd + alt - 6"
  61.  
  62. # switch to last active desktop
  63. cmd + alt - x : `id=$(chunkc get _last_active_desktop); khd -p "cmd + alt - $id" &> /dev/null`
  64.  
  65. # focus monitor
  66. ctrl + alt - z : chunkc tiling::monitor -f prev
  67. ctrl + alt - c : chunkc tiling::monitor -f next
  68. ctrl + alt - 1 : chunkc tiling::monitor -f 1
  69. ctrl + alt - 2 : chunkc tiling::monitor -f 2
  70. ctrl + alt - 3 : chunkc tiling::monitor -f 3
  71.  
  72. # send window to monitor and follow focus
  73. ctrl + cmd - z : chunkc tiling::window --send-to-monitor prev; chunkc tiling::monitor -f prev
  74. ctrl + cmd - c : chunkc tiling::window --send-to-monitor next; chunkc tiling::monitor -f next
  75. ctrl + cmd - 1 : chunkc tiling::window --send-to-monitor 1; chunkc tiling::monitor -f 1
  76. ctrl + cmd - 2 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2
  77. ctrl + cmd - 3 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3
  78.  
  79. # increase region size
  80. shift + alt - a : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge west
  81. shift + alt - s : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge south
  82. shift + alt - w : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge north
  83. shift + alt - d : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge east
  84.  
  85. # decrease region size
  86. shift + ctrl - a : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge west
  87. shift + ctrl - s : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge south
  88. shift + ctrl - w : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge north
  89. shift + ctrl - d : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge east
  90.  
  91. # set insertion point for focused container
  92. ctrl + alt - f : chunkc tiling::window --use-insertion-point cancel
  93. ctrl + alt - h : chunkc tiling::window --use-insertion-point west
  94. ctrl + alt - j : chunkc tiling::window --use-insertion-point south
  95. ctrl + alt - k : chunkc tiling::window --use-insertion-point north
  96. ctrl + alt - l : chunkc tiling::window --use-insertion-point east
  97.  
  98. # rotate tree
  99. alt - r : chunkc tiling::desktop --rotate 90
  100.  
  101. # mirror tree y-axis
  102. alt - y : chunkc tiling::desktop --mirror vertical
  103.  
  104. # mirror tree x-axis
  105. alt - x : chunkc tiling::desktop --mirror horizontal
  106.  
  107. # toggle desktop offset
  108. alt - a : chunkc tiling::desktop --toggle offset
  109.  
  110. # toggle window fullscreen
  111. alt - f : chunkc tiling::window --toggle fullscreen
  112.  
  113. # toggle window native fullscreen
  114. shift + alt - f : chunkc tiling::window --toggle native-fullscreen
  115.  
  116. # toggle window parent zoom
  117. alt - d : chunkc tiling::window --toggle parent
  118.  
  119. # toggle window split type
  120. alt - e : chunkc tiling::window --toggle split
  121.  
  122. # float / unfloat window
  123. alt - t : chunkc tiling::window --toggle float
  124.  
  125. # toggle sticky, float and resize to picture-in-picture size
  126. alt - s : chunkc tiling::window --toggle sticky;\
  127. chunkc tiling::window --warp-floating pip-right
  128.  
  129. # float next window to be tiled
  130. shift + alt - t : chunkc set window_float_next 1
  131.  
  132. # change layout of desktop
  133. ctrl + alt - a : chunkc tiling::desktop --layout bsp
  134. ctrl + alt - s : chunkc tiling::desktop --layout monocle
  135. ctrl + alt - d : chunkc tiling::desktop --layout float
  136.  
  137. ctrl + alt - w : chunkc tiling::desktop --deserialize ~/.chunkwm_layouts/dev_1
  138.  
  139. #Enable/Disable Follow Focus Mouse
  140. ctrl + alt - n : chunkc core::unload ffm.so
  141. ctrl + alt - m : chunkc core::load ffm.so
  142.  
  143. #Grab fix
  144. #cmd + shift - 4 -> : chunkc border::clear
  145. #cmd + ctrl + shift - 7 : chunkc border::clear; khd -p "cmd + ctrl + shift - 4"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement