The aptly named.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.9 KiB

  1. # enable kwm compatibility mode
  2. khd kwm on
  3. # suppress unregistered keybinds outside default mode
  4. # enabled by default! must be explicitly set to 'off'
  5. khd void_unlisted_bind off
  6. # set border color for different modes
  7. khd mode default color 0xddd5c4a1
  8. khd mode switcher color 0xddbdd322
  9. khd mode swap color 0xdd458588
  10. # toggle between modes
  11. ctrl - f : khd -e "mode activate switcher"
  12. switcher + ctrl - f : khd -e "mode activate default"
  13. swap + ctrl - f : khd -e "mode activate default"
  14. ytd + ctrl - f : khd -e "mode activate default"
  15. space + ctrl - f : khd -e "mode activate default"
  16. tree + ctrl - f : khd -e "mode activate default"
  17. info + ctrl -f : khd -e "mode activate default"
  18. switcher - a : khd -e "mode activate swap"
  19. #switcher - w : khd -e "mode activate ytd"
  20. #switcher - s : khd -e "mode activate space"
  21. #switcher - d : khd -e "mode activate tree"
  22. #switcher - q : khd -e "mode activate info"
  23. ### MINE
  24. # i3 style
  25. lalt - up : kwmc window -f north
  26. lalt - right : kwmc window -f east
  27. lalt - down : kwmc window -f south
  28. lalt - left : kwmc window -f west
  29. # move window
  30. lalt + shift - up : kwmc window -m north
  31. lalt + shift - right : kwmc window -m east
  32. lalt + shift - down : kwmc window -m south
  33. lalt + shift - left : kwmc window -m west
  34. #Move windows between spaces
  35. lalt + ctrl - right : kwmc window -m space right;\
  36. kwmc space -fExperimental right
  37. lalt + ctrl - left : kwmc window -m space left;\
  38. kwmc space -fExperimental left
  39. # Toggle float mode for window
  40. lalt + cmd - f : kwmc window -t focused
  41. # Toggle tiling modes
  42. lalt + cmd - a : kwmc space -t bsp
  43. lalt + cmd - s : kwmc space -t monocle
  44. lalt + cmd - d : kwmc space -t float
  45. ### /MINE
  46. # switcher mode
  47. switcher - r : khd -e "reload" # reload config
  48. switcher - h : kwmc window -f west
  49. switcher - l : kwmc window -f east
  50. switcher - j : kwmc window -f south
  51. switcher - k : kwmc window -f north
  52. switcher - n : kwmc window -fm prev
  53. switcher - m : kwmc window -fm next
  54. switcher - 1 : kwmc space -fExperimental 1
  55. switcher - 2 : kwmc space -fExperimental 2
  56. switcher - 3 : kwmc space -fExperimental 3
  57. switcher - 4 : kwmc space -fExperimental 4
  58. switcher - 5 : kwmc space -fExperimental 5
  59. switcher - 6 : kwmc space -fExperimental 6
  60. switcher - z : kwmc space -fExperimental left
  61. switcher - c : kwmc space -fExperimental right
  62. switcher - f : kwmc space -fExperimental previous
  63. switcher + shift - z : kwmc window -m space left;\
  64. kwmc space -fExperimental left
  65. switcher + shift - c : kwmc window -m space right;\
  66. kwmc space -fExperimental right
  67. switcher + shift - 1 : kwmc display -f 0
  68. switcher + shift - 2 : kwmc display -f 1
  69. switcher + shift - 3 : kwmc display -f 2
  70. switcher - return : osascript ~/bin/iterm.scpt
  71. # swap mode
  72. swap - h : kwmc window -s west
  73. swap - j : kwmc window -s south
  74. swap - k : kwmc window -s north
  75. swap - l : kwmc window -s east
  76. swap - m : kwmc window -s mark
  77. swap + shift - k : kwmc window -m north
  78. swap + shift - l : kwmc window -m east
  79. swap + shift - j : kwmc window -m south
  80. swap + shift - h : kwmc window -m west
  81. swap + shift - m : kwmc window -m mark
  82. swap - 1 : kwmc window -m space 1
  83. swap - 2 : kwmc window -m space 2
  84. swap - 3 : kwmc window -m space 3
  85. swap - 4 : kwmc window -m space 4
  86. swap - 5 : kwmc window -m space 5
  87. swap - z : kwmc window -m space left
  88. swap - c : kwmc window -m space right