.cwmrc 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # KEYBINDINGS:
  2. # 4 = mod (windows key)
  3. # S = shift
  4. # C = control
  5. # M = meta (alt)
  6. # Autogroups for windows.
  7. #autogroup 0 xconsole,XConsole
  8. #autogroup 0 "termbar,termbar"
  9. autogroup 1 "xterm,XTerm"
  10. autogroup 2 "Navigator,Firefox"
  11. autogroup 3 "chromium,Chromium"
  12. autogroup 5 "jetbrains-idea-ce,jetbrains-idea-ce"
  13. autogroup 7 "JDownloader,JDownloader"
  14. autogroup 9 "lutris,Lutris"
  15. # Add missing keybindings.
  16. #bind-key C-Up pointer-move-up
  17. #bind-key C-Down pointer-move-down
  18. #bind-key C-Right pointer-move-right
  19. #bind-key C-Left pointer-move-left
  20. #bind-key CS-Up pointer-move-up-big
  21. #bind-key CS-Down pointer-move-down-big
  22. #bind-key CS-Right pointer-move-right-big
  23. #bind-key CS-Left pointer-move-left-big
  24. unbind-key M-Tab
  25. unbind-key MS-Tab
  26. bind-key M-Tab window-cycle-ingroup
  27. bind-key MS-Tab window-rcycle-ingroup
  28. unbind-key MC-x
  29. bind-key MS-x window-close
  30. unbind-key MC-m
  31. bind-key MS-m window-maximize
  32. #unbind-key MC-w
  33. #bind-key MC-w menu-window
  34. bind-key MS-p menu-exec
  35. unbind-key MS-o
  36. bind-key MS-o "./src/scripts/dmenu_bookmarks.sh"
  37. unbind-key MC-o
  38. bind-key MC-o "./src/scripts/dmenu_bookmarks_noscript.sh"
  39. #unbind-key MS-k
  40. #bind-key MS-k "passmenu -fn monospace:size=10 -nb '#000000' -nf '#ff00f0' -sb '#8f00ff' -sf '#eeeeee'"
  41. unbind-key M-Return
  42. unbind-key MS-l
  43. bind-key MS-l slock
  44. #bind-key MC-Return terminal
  45. bind-key MS-Return "st -f 'Dejavu sans mono:pixelsize=12:antialias=true:autohint=false' -g 80x24"
  46. bind-key MCS-Return "st -f 'Dejavu sans mono:pixelsize=32:antialias=true:autohint=false' -g 80x24"
  47. #bind-key MS-Return xterm -fa 'Monospace' -fs 20 +sb
  48. bind-key MC-Return "st -f 'Dejavu sans mono:pixelsize=24:antialias=true:autohint=false' -g 80x24"
  49. bind-key MS-F5 "pactl set-sink-volume 1 -5%"
  50. bind-key MS-F6 "pactl set-sink-volume 1 +5%"
  51. bind-key MS-F11 "scrot"
  52. bind-key MS-F12 "scrot -s -f"
  53. unbind-key MS-w
  54. bind-key MS-w "firefox-esr -P default-esr"
  55. unbind-key MC-w
  56. bind-key MC-w "firefox-esr -P default-nojs"
  57. bind-key 4-1 group-only-1
  58. bind-key 4-2 group-only-2
  59. bind-key 4-3 group-only-3
  60. bind-key 4-4 group-only-4
  61. bind-key 4-5 group-only-5
  62. bind-key 4-6 group-only-6
  63. bind-key 4-7 group-only-7
  64. bind-key 4-8 group-only-8
  65. bind-key 4-9 group-only-9
  66. bind-key 4S-1 window-movetogroup-1
  67. bind-key 4S-2 window-movetogroup-2
  68. bind-key 4S-3 window-movetogroup-3
  69. bind-key 4S-4 window-movetogroup-4
  70. bind-key 4S-5 window-movetogroup-5
  71. bind-key 4S-6 window-movetogroup-6
  72. bind-key 4S-7 window-movetogroup-7
  73. bind-key 4S-8 window-movetogroup-8
  74. bind-key 4S-9 window-movetogroup-9
  75. #bind-mouse M-2 window-lower
  76. #bind-mouse M-3 window-resize
  77. ## Windows
  78. borderwidth 3
  79. color activeborder '#8f00ff'
  80. color font '#e53fe5'
  81. color selfont '#000000'
  82. color inactiveborder '#ff00f0'
  83. color menubg '#000000'
  84. color menufg '#ff00f0'
  85. fontname "monospace:size=10"
  86. #gap top bottom left right
  87. gap 5 5 0 0
  88. #ignore "xconsole"
  89. #ignore "termbar"
  90. command xterm "xterm -fa 'Monospace' -fs 10 +sb"
  91. command xterm-big "xterm -fa 'Monospace' -fs 20 +sb"
  92. command "firefox-esr -P default-esr" "firefox-esr -P default-esr"
  93. command "firefox-esr -P default-nojs" "firefox-esr -P default-nojs"
  94. command chromium "chromium"
  95. command keepassxc "keepassxc"
  96. command intellij-idea-ce "idea"
  97. command JDownloader "JDownloader"
  98. command slock "slock"
  99. #moveamount 4
  100. snapdist 25
  101. sticky yes