wmfsrc.in 9.5 KB

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