wmfsrc.in 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. #
  2. # This is the default wmfs config file, copy it to
  3. # ~/.config/wmfs/wmfsrc and edit it.
  4. #
  5. [misc]
  6. font = "dejavu-10"
  7. raisefocus = false
  8. focus_follow_mouse = true
  9. [/misc]
  10. [bar]
  11. bg = "#191919"
  12. fg = "#D4D4D4"
  13. border = true
  14. [/bar]
  15. [layouts]
  16. fg = "#191919"
  17. bg = "#7E89A2"
  18. # Border around the layout button.
  19. border = true
  20. # Value menu or switch.
  21. system = "menu"
  22. # Tiling layouts.
  23. [layout] type = "tile_right" symbol = "RIGHT" [/layout]
  24. [layout] type = "tile_left" symbol = "LEFT" [/layout]
  25. [layout] type = "tile_top" symbol = "TOP" [/layout]
  26. [layout] type = "tile_bottom" symbol = "BOTTOM" [/layout]
  27. [layout] type = "tile_grid" symbol = "GRID" [/layout]
  28. [layout] type = "mirror_vertical" symbol = "MIRROR_V" [/layout]
  29. [layout] type = "mirror_horizontal" symbol = "MIRROR_H" [/layout]
  30. # Other layouts.
  31. [layout] type = "max" symbol = "MAX" [/layout]
  32. [layout] type = "free" symbol = "FREE" [/layout]
  33. [/layouts]
  34. [tags]
  35. tag_round = false
  36. occupied_bg = "#003366"
  37. sel_fg = "#191919"
  38. sel_bg = "#7E89A2"
  39. # Border around the tag buttons.
  40. border = true
  41. [tag]
  42. name = "one"
  43. screen = 0
  44. mwfact = 0.65
  45. nmaster = 1
  46. layout = "tile_right"
  47. resizehint = false
  48. infobar_position = "top"
  49. [/tag]
  50. [tag] name = "two" clients = {"Browser"} [/tag]
  51. [tag] name = "three" [/tag]
  52. [tag] name = "four" [/tag]
  53. [tag] name = "five" [/tag]
  54. [tag] name = "six" [/tag]
  55. [tag] name = "seven" [/tag]
  56. [tag] name = "eight" [/tag]
  57. [tag] name = "nine" [/tag]
  58. [/tags]
  59. [root]
  60. # Command you can execute to set the background.
  61. background_command = "xsetroot -solid black"
  62. [mouse] button = "4" func = "tag_next" [/mouse]
  63. [mouse] button = "5" func = "tag_prev" [/mouse]
  64. [mouse] button = "3" func = "menu" cmd = "rootmenu" [/mouse]
  65. [/root]
  66. [client]
  67. border_height = 3
  68. border_shadow = true
  69. border_normal = "#191919"
  70. border_focus = "#003366"
  71. resize_corner_normal = "#191919"
  72. resize_corner_focus = "#003366"
  73. modifier = "Alt"
  74. [mouse] button = "1" func = "client_raise" [/mouse]
  75. [mouse] button = "1" func = "mouse_move" [/mouse]
  76. [mouse] button = "3" func = "client_raise" [/mouse]
  77. [mouse] button = "3" func = "mouse_resize" [/mouse]
  78. # Remove this section to delete the titlebar.
  79. [titlebar]
  80. stipple = false
  81. height = 12
  82. fg_normal = "#7E89A2"
  83. fg_focus = "#9F9AB3"
  84. [mouse] button = "1" func = "client_raise" [/mouse]
  85. [mouse] button = "1" func = "mouse_move" [/mouse]
  86. [mouse] button = "3" func = "client_raise" [/mouse]
  87. [mouse] button = "3" func = "mouse_resize" [/mouse]
  88. [button]
  89. [mouse] button = "1" func = "client_kill" [/mouse]
  90. [mouse] button = "3" func = "menu" cmd = "clientmenu" [/mouse]
  91. [line] coord = {1, 1, 4, 1} [/line]
  92. [line] coord = {1, 1, 1, 4} [/line]
  93. [line] coord = {1, 4, 4, 4} [/line]
  94. [/button]
  95. [/titlebar]
  96. [/client]
  97. [menu]
  98. # Default menu, binded on the root window, button 3.
  99. [set_menu]
  100. name = "rootmenu"
  101. # place_at_mouse = false
  102. # x = 40 y = 50
  103. fg_focus = "#191919" bg_focus = "#7E89A2"
  104. fg_normal = "#9F9AB3" bg_normal = "#191919"
  105. [item] name = "Terminal" func = "spawn" cmd = "@WMFS_TERM@" [/item]
  106. [item] name = "Next tag" func = "tag_next" [/item]
  107. [item] name = "Previous tag" func = "tag_prev" [/item]
  108. [item] name = "Next layout" func = "layout_next" [/item]
  109. [item] name = "Previous layout" func = "layout_prev" [/item]
  110. [item] name = "Toggle infobar" func = "toggle_infobar_position" [/item]
  111. [item] name = "Quit WMFS" func = "quit" [/item]
  112. [/set_menu]
  113. [set_menu]
  114. name = "clientmenu"
  115. fg_focus = "#D4D4D4" bg_focus = "#003366"
  116. fg_normal = "#D4D4D4" bg_normal = "#191919"
  117. [item] name = "Close" func = "client_kill" [/item]
  118. [item] name = "Maximize" func = "toggle_max" [/item]
  119. [item] name = "Free" func = "toggle_free" [/item]
  120. [/set_menu]
  121. [/menu]
  122. [launcher]
  123. [set_launcher]
  124. name = "launcher_exec"
  125. prompt = "Exec: "
  126. command = "exec"
  127. [/set_launcher]
  128. #ViWMFS : manage wmfs with vi-based command.
  129. [set_launcher]
  130. name = "viwmfs"
  131. prompt = "> "
  132. command = "wmfs -V"
  133. [/set_launcher]
  134. [/launcher]
  135. [keys]
  136. # Reload the configuration of wmfs.
  137. [key] mod = {"Alt", "Control"} key = "r" func = "reload" [/key]
  138. # Open a terminal.
  139. [key] mod = {"Control"} key = "Return" func = "spawn" cmd = "@WMFS_TERM@" [/key]
  140. # Kill the selected client.
  141. [key] mod = {"Alt"} key = "q" func = "client_kill" [/key]
  142. # Quit wmfs.
  143. [key] mod = {"Control", "Alt", "Shift"} key = "q" func = "quit" [/key]
  144. # Swap current client with the next.
  145. [key] mod = {"Alt"} key = "t" func = "client_swap_next" [/key]
  146. # Swap current client with the previous.
  147. [key] mod = {"Alt", "Shift"} key = "t" func = "client_swap_prev" [/key]
  148. # Toggle maximum the selected client
  149. [key] mod = {"Alt"} key = "m" func = "toggle_max" [/key]
  150. # Toggle free the selected client.
  151. [key] mod = {"Alt"} key = "f" func = "toggle_free" [/key]
  152. # Toggle the position of the infobar.
  153. [key] mod = {"Alt"} key = "b" func = "toggle_infobar_position" [/key]
  154. # Toggle the resizehint of the current tag/screen
  155. [key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key]
  156. # Select the next client.
  157. [key] mod = {"Alt"} key = "Tab" func = "client_next" [/key]
  158. # Select the previous client.
  159. [key] mod = {"Alt","Shift"} key = "Tab" func = "client_prev" [/key]
  160. # Select the next tag.
  161. [key] mod = {"Control"} key = "Right" func = "tag_next" [/key]
  162. # Select the previous tag.
  163. [key] mod = {"Control"} key = "Left" func = "tag_prev" [/key]
  164. # Set the next layout.
  165. [key] mod = {"Alt"} key = "space" func = "layout_next" [/key]
  166. # Set the previous layout.
  167. [key] mod = {"Alt", "Shift"} key = "space" func = "layout_prev" [/key]
  168. # Increase mwfact.
  169. [key] mod = {"Alt"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key]
  170. # Decrease mwfact.
  171. [key] mod = {"Alt"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key]
  172. # Increase nmaster.
  173. [key] mod = {"Alt"} key = "d" func = "set_nmaster" cmd = "+1" [/key]
  174. # Decease nmaster.
  175. [key] mod = {"Alt", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key]
  176. #Launcher.
  177. [key] mod = {"Alt"} key = "p" func = "launcher" cmd = "launcher_exec" [/key]
  178. #ViWMFS
  179. [key] mod = {"Alt"} key = "Escape" func = "launcher" cmd = "viwmfs" [/key]
  180. # Set the tag x.
  181. [key] mod = {"Alt"} key = "F1" func = "tag" cmd = "1" [/key]
  182. [key] mod = {"Alt"} key = "F2" func = "tag" cmd = "2" [/key]
  183. [key] mod = {"Alt"} key = "F3" func = "tag" cmd = "3" [/key]
  184. [key] mod = {"Alt"} key = "F4" func = "tag" cmd = "4" [/key]
  185. [key] mod = {"Alt"} key = "F5" func = "tag" cmd = "5" [/key]
  186. [key] mod = {"Alt"} key = "F6" func = "tag" cmd = "6" [/key]
  187. [key] mod = {"Alt"} key = "F7" func = "tag" cmd = "7" [/key]
  188. [key] mod = {"Alt"} key = "F8" func = "tag" cmd = "8" [/key]
  189. [key] mod = {"Alt"} key = "F9" func = "tag" cmd = "9" [/key]
  190. # Transfert selected client to x.
  191. [key] mod = {"Alt", "Shift"} key = "F1" func = "tag_transfert" cmd ="1" [/key]
  192. [key] mod = {"Alt", "Shift"} key = "F2" func = "tag_transfert" cmd ="2" [/key]
  193. [key] mod = {"Alt", "Shift"} key = "F3" func = "tag_transfert" cmd ="3" [/key]
  194. [key] mod = {"Alt", "Shift"} key = "F4" func = "tag_transfert" cmd ="4" [/key]
  195. [key] mod = {"Alt", "Shift"} key = "F5" func = "tag_transfert" cmd ="5" [/key]
  196. [key] mod = {"Alt", "Shift"} key = "F6" func = "tag_transfert" cmd ="6" [/key]
  197. [key] mod = {"Alt", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key]
  198. [key] mod = {"Alt", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key]
  199. [key] mod = {"Alt", "Shift"} key = "F9" func = "tag_transfert" cmd ="9" [/key]
  200. [/keys]