1. # This is the default wmfs config file, copy it to
  2. # ~/.config/wmfs/wmfsrc and edit it.
  3. #
  4.  
  5. # Include file to split configuration
  6. # @include "~/.config/wmfs/menu-wmfsrc"
  7.  
  8. [misc]
  9. font = "ubuntu-8"
  10. raisefocus = false
  11. focus_follow_mouse = true
  12. # background_command = /home/stephen/.config/wmfs/autostart.sh
  13. # focus_pointer_click: click on unfocused client area:
  14. # true -- default, set focus
  15. # false -- click go to client; including dockapps
  16. focus_pointer_click = true
  17. status_timing = 1 #seconds
  18. status_path = "/home/stephen/.config/wmfs/status.sh"
  19. [/misc]
  20.  
  21. [bar]
  22. bg = "#111111"
  23. fg = "#ABABAB"
  24. height = 20
  25. border = false
  26. # selbar = false #not worked now, see section [selbar]
  27.  
  28. [systray]
  29. # Enable/disable systray
  30. active = true
  31.  
  32. # Screen of systray
  33. screen = 0
  34.  
  35. # Spacing between tray icons
  36. spacing = 3
  37. [/systray]
  38.  
  39. # Remove this section to disable the selbar.
  40. # [selbar]
  41. # bg = "#333333"
  42. # fg = "#999999"
  43.  
  44. # Cut title length
  45. # max_length = 25
  46.  
  47. # [mouse] button = "3" func = "clientlist" [/mouse]
  48. # [mouse] button = "4" func = "client_next" [/mouse]
  49. # [mouse] button = "5" func = "client_prev" [/mouse]
  50. # [/selbar]
  51.  
  52. [/bar]
  53.  
  54. [layouts]
  55. fg = "#ABABAB"
  56. bg = "#111111"
  57.  
  58. # Border around the layout button.
  59. border = false
  60.  
  61. # Value menu or switch.
  62. system = "menu"
  63.  
  64. # Value left or right.
  65. placement = "right"
  66.  
  67. # Keep layout geo for free layout
  68. keep_layout_geo = false
  69.  
  70. # Symbol displayed for the selected layout in the list
  71. selected_layout_symbol = "*"
  72.  
  73. # Width of layout button
  74. # layout_button_width = x
  75.  
  76. # Tiling layouts.
  77. [layout] type = "tile_right" symbol = "Right" [/layout]
  78. [layout] type = "tile_left" symbol = "Left" [/layout]
  79. [layout] type = "tile_top" symbol = "Top" [/layout]
  80. [layout] type = "tile_bottom" symbol = "Bottom" [/layout]
  81. [layout] type = "tile_grid" symbol = "Grid_H" [/layout]
  82. [layout] type = "tile_grid_vertical" symbol = "Grid_V" [/layout]
  83. [layout] type = "mirror_vertical" symbol = "Mirror_V" [/layout]
  84. [layout] type = "mirror_horizontal" symbol = "Mirror_H" [/layout]
  85.  
  86. # Other layouts.
  87. [layout] type = "max" symbol = "MAX" [/layout]
  88. [layout] type = "free" symbol = "FREE" [/layout]
  89.  
  90. [/layouts]
  91.  
  92. [tags]
  93. [default_tag]
  94. name = "new tag"
  95. mwfact = 0.5
  96. nmaster = 1
  97. layout = "tile_right"
  98. resizehint = false
  99. infobar_position = "top"
  100. [/default_tag]
  101.  
  102. tag_round = false
  103. occupied_bg = "#F4D461"
  104. occupied_fg = "#5A5A5A"
  105. sel_fg = "#554444"
  106. sel_bg = "#BFC81C"
  107. urgent_bg = "#FF4747"
  108. urgent_fg = "#5A5A5A"
  109. # If true, number of the tag will be used for name
  110. name_count = false
  111. #default_name = "new tag" # deprecated, use [default_tag] instead
  112. #default_layout = "tile_right" # deprecated, use [default_tag] instead
  113.  
  114. # Border around the tag buttons.
  115. border = false
  116.  
  117. # Hide empty tags in tag list
  118. autohide = false
  119.  
  120. # Mouse buttons action on tag.
  121. mouse_button_tag_sel = "1"
  122. mouse_button_tag_transfert = "2"
  123. mouse_button_tag_add = "3"
  124. mouse_button_tag_next = "4"
  125. mouse_button_tag_prev = "5"
  126.  
  127. [tag]
  128. name = "web"
  129. clients = {"firefox","chromium-browser","uzbl-tabbed","jumanji"}
  130. screen = 0
  131. mwfact = 0.65
  132. nmaster = 1
  133. layout = "tile_bottom"
  134. resizehint = true
  135. infobar_position = "top"
  136. [/tag]
  137.  
  138. [tag]
  139. name = "dev"
  140. layout = "tile_grid_vertical"
  141. infobar_position = "top"
  142. clients = {"vim","eclipse","geany"}
  143. [/tag]
  144.  
  145. [tag]
  146. name = "irc"
  147. layout = "tile_grid_vertical"
  148. infobar_position = "top"
  149. clients = {"weechat-curses","pidgin"}
  150. [/tag]
  151.  
  152. [tag]
  153. name = "news"
  154. layout = "tile_grid_vertical"
  155. infobar_position = "top"
  156. clients = {"newsbeuter","mutt","snownews","alpine"}
  157. [/tag]
  158.  
  159. [tag]
  160. name = "zik"
  161. layout = "tile_grid_vertical"
  162. infobar_position = "top"
  163. clients = {"quodlibet","mdp"}
  164. [/tag]
  165.  
  166. [tag]
  167. name = "fold"
  168. layout = "tile_bottom"
  169. infobar_position = "top"
  170. clients = {"thunar","pcmanfm"}
  171. [/tag]
  172.  
  173. [tag]
  174. name = "any"
  175. layout = "free"
  176. infobar_position = "top"
  177. [/tag]
  178.  
  179. # [tag] name = "" [/tag]
  180. # [tag] name = "" [/tag]
  181. # clients option is *DEPRECATED* but works, see [rules] section
  182. [/tags]
  183.  
  184. [root]
  185. # Command you can execute to set the background.
  186. background_command = "xsetroot -solid black && /home/stephen/.config/wmfs/autostart.sh && /home/stephen/.config/wmfs/status.sh"
  187.  
  188. # background_command = /home/stephen/.config/wmfs/autostart.sh
  189. [mouse] button = "4" func = "tag_next" [/mouse]
  190. [mouse] button = "5" func = "tag_prev" [/mouse]
  191. [mouse] button = "3" func = "menu" cmd = "rootmenu" [/mouse]
  192. [/root]
  193.  
  194. [client]
  195. client_round = false
  196. border_height = 0
  197. border_shadow = false
  198. border_normal = "#000000"
  199. border_focus = "#000000"
  200. resize_corner_normal = "#000000"
  201. resize_corner_focus = "#000000"
  202.  
  203. # Space between tiled clients
  204. padding = 0
  205.  
  206. # Modifier for mouse use
  207. modifier = "Alt"
  208.  
  209. # *DEPRECATED* but works, see [rules] section
  210. # Set automatic free or max client
  211. # autofree = "xterm|MPlayer"
  212. # automax = "Navigator"
  213.  
  214. [mouse] button = "1" func = "client_raise" [/mouse]
  215. [mouse] button = "1" func = "mouse_move" [/mouse]
  216. [mouse] button = "3" func = "client_raise" [/mouse]
  217. [mouse] button = "3" func = "mouse_resize" [/mouse]
  218.  
  219. # Remove this section to delete the titlebar.
  220. # [titlebar]
  221. # stipple = false
  222. # height = 5
  223. # fg_normal = "#7E89A2"
  224. # fg_focus = "#9F9AB3"
  225. # [mouse] button = "1" func = "client_raise" [/mouse]
  226. # [mouse] button = "1" func = "mouse_move" [/mouse]
  227. # [mouse] button = "3" func = "client_raise" [/mouse]
  228. # [mouse] button = "3" func = "mouse_resize" [/mouse]
  229. # [button]
  230. # Available "free", "max", "tile" flags of button.
  231. # flags = "free,max,tile"
  232. # [mouse] button = "1" func = "client_kill" [/mouse]
  233. # [mouse] button = "3" func = "menu" cmd = "clientmenu" [/mouse]
  234. # [line] coord = {1, 1, 4, 1} [/line]
  235. # [line] coord = {1, 1, 1, 4} [/line]
  236. # [line] coord = {1, 4, 4, 4} [/line]
  237. # [/button]
  238. # [/titlebar]
  239. [/client]
  240.  
  241. [rules]
  242. # Example of rule for Mplayer
  243. [rule]
  244. instance = "xv" # First part of WM_CLASS
  245. class = "MPlayer" # Seconf part of WM_CLASS, not needed if first part is correct
  246. # role = "" # WM_WINDOW_ROLE
  247. screen = 0 # Screen to use
  248. tag = 2 # Tag number of apps
  249. free = true # Set automatic free client
  250. max = false # Set automatic maximized client
  251. [/rule]
  252. [/rules]
  253.  
  254. [menu]
  255. # Default menu, binded on the root window, button 3.
  256. [set_menu]
  257. name = "rootmenu"
  258.  
  259. # place_at_mouse = false
  260. # x = 40 y = 50
  261.  
  262. # Available "center", "left", "right" menu align. Default: "center".
  263. align = "left"
  264.  
  265. fg_focus = "#191919" bg_focus = "#7E89A2"
  266. fg_normal = "#9F9AB3" bg_normal = "#191919"
  267.  
  268. [item] name = "Terminal" func = "spawn" cmd = "urxvt || xterm || gnome-terminal" [/item]
  269. [item] name = "Applications" submenu = "appmenu" [/item]
  270. [item] name = "Next tag" func = "tag_next" [/item]
  271. [item] name = "Previous tag" func = "tag_prev" [/item]
  272. [item] name = "Next layout" func = "layout_next" [/item]
  273. [item] name = "Previous layout" func = "layout_prev" [/item]
  274. [item] name = "Toggle infobar" func = "toggle_infobar_position" [/item]
  275. [item] name = "Quit WMFS" func = "quit" [/item]
  276. [item] name = "Reboot" func = "spawn" cmd = "dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart" [/item]
  277. [item] name = "Shutdown" func = "spawn" cmd = "dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop" [/item]
  278. [/set_menu]
  279.  
  280. [set_menu]
  281. name = "appmenu"
  282. align = "left"
  283.  
  284. fg_focus = "#191919" bg_focus = "#7E89A2"
  285. fg_normal = "#9F9AB3" bg_normal = "#191919"
  286.  
  287. [item] name = "Browser" func = "spawn" cmd = "firefox" [/item]
  288. [item] name = "Calculator" func = "spawn" cmd = "xcalc" [/item]
  289. [/set_menu]
  290.  
  291. [set_menu]
  292. name = "clientmenu"
  293.  
  294. fg_focus = "#D4D4D4" bg_focus = "#003366"
  295. fg_normal = "#D4D4D4" bg_normal = "#191919"
  296.  
  297. # Check items: possible 'check_max' or 'check_free'.
  298. [item] name = "Close" func = "client_kill" [/item]
  299. [item] name = "Maximize" func = "toggle_max" check = "check_max" [/item]
  300. [item] name = "Free" func = "toggle_free" check = "check_free" [/item]
  301. [/set_menu]
  302. [/menu]
  303.  
  304. [launcher]
  305. [set_launcher]
  306. name = "launcher_exec"
  307. prompt = ">>> "
  308. command = "exec"
  309. [/set_launcher]
  310.  
  311. #ViWMFS : manage wmfs with vi-based command.
  312. [set_launcher]
  313. name = "viwmfs"
  314. prompt = "> "
  315. command = "wmfs -V"
  316. [/set_launcher]
  317. [/launcher]
  318.  
  319. [keys]
  320.  
  321. # Reload the configuration of wmfs.
  322. [key] mod = {"Mod4", "Control"} key = "r" func = "reload" [/key]
  323.  
  324. # Quit wmfs.
  325. [key] mod = {"Mod4", "Control"} key = "q" func = "quit" [/key]
  326.  
  327.  
  328. # Launch applications
  329. [key] mod = {"Mod4"} key = "x" func = "spawn" cmd = "urxvtc" [/key]
  330. [key] mod = {"Mod4"} key = "c" func = "spawn" cmd = "chromium-browser" [/key]
  331. [key] mod = {"Mod4"} key = "t" func = "spawn" cmd = "thunar" [/key]
  332. [key] mod = {"Mod4"} key = "l" func = "spawn" cmd = "liferea" [/key]
  333. [key] mod = {"Mod4"} key = "g" func = "spawn" cmd = "gedit" [/key]
  334. [key] mod = {"Mod4"} key = "h" func = "spawn" cmd = "thunderbird" [/key]
  335. [key] mod = {"Mod4"} key = "p" func = "spawn" cmd = "pidgin" [/key]
  336. [key] mod = {"Mod4"} key = "q" func = "spawn" cmd = "quodlibet" [/key]
  337. [key] mod = {"Mod4"} key = "u" func = "spawn" cmd = "uzbl-tabbed" [/key]
  338. [key] mod = {"Mod4"} key = "f" func = "spawn" cmd = "firefox" [/key]
  339. [key] mod = {"Mod4"} key = "v" func = "spawn" cmd = "urxvtc -e vim" [/key]
  340. [key] mod = {"Mod4"} key = "n" func = "spawn" cmd = "urxvtc -e newsbeuter" [/key]
  341. [key] mod = {"Mod4"} key = "w" func = "spawn" cmd = "urxvtc -e weechat-curses" [/key]
  342. [key] mod = {"Mod4"} key = "e" func = "spawn" cmd = "eclipse" [/key]
  343. [key] mod = {"Mod4"} key = "i" func = "spawn" cmd = "nm-applet" [/key]
  344. [key] mod = {"Mod4"} key = "o" func = "launcher" cmd = "launcher_exec" [/key]
  345.  
  346.  
  347.  
  348. # Client
  349.  
  350. # Kill the selected client.
  351. [key] mod = {"Mod4", "Shift"} key = "q" func = "client_kill" [/key]
  352.  
  353. # Swap current client with the next.
  354. [key] mod = {"Mod4", "Shift"} key = "k" func = "client_swap_next" [/key]
  355.  
  356. # Swap current client with the previous.
  357. [key] mod = {"Mod4", "Shift"} key = "j" func = "client_swap_prev" [/key]
  358.  
  359. # Toggle maximum the selected client
  360. [key] mod = {"Mod4", "Shift"} key = "m" func = "toggle_max" [/key]
  361.  
  362. # Toggle free the selected client.
  363. [key] mod = {"Mod4", "Shift"} key = "f" func = "toggle_free" [/key]
  364.  
  365. # Select the next client.
  366. [key] mod = {"Alt"} key = "Tab" func = "client_next" [/key]
  367.  
  368. # Select the previous client.
  369. [key] mod = {"Alt","Shift"} key = "Tab" func = "client_prev" [/key]
  370.  
  371. # Increase mwfact.
  372. [key] mod = {"Mod4", "Shift"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key]
  373.  
  374. # Decrease mwfact.
  375. [key] mod = {"Mod4", "Shift" } key = "h" func = "set_mwfact" cmd = "-0.025" [/key]
  376.  
  377.  
  378.  
  379. # Tags
  380.  
  381. # Select the next tag.
  382. [key] mod = {"Mod4", "Control"} key = "l" func = "tag_next" [/key]
  383.  
  384. # Select the previous tag.
  385. [key] mod = {"Mod4", "Control"} key = "h" func = "tag_prev" [/key]
  386.  
  387. # Select the next visible tag.
  388. [key] mod = {"Alt", "Control"} key = "l" func = "tag_next_visible" [/key]
  389.  
  390. # Select the previous visible tag.
  391. [key] mod = {"Control","Alt"} key = "h" func = "tag_prev_visible" [/key]
  392.  
  393. # Set the tag x.
  394. [key] mod = {"Mod4"} key = "F1" func = "tag" cmd = "1" [/key]
  395. [key] mod = {"Mod4"} key = "F2" func = "tag" cmd = "2" [/key]
  396. [key] mod = {"Mod4"} key = "F3" func = "tag" cmd = "3" [/key]
  397. [key] mod = {"Mod4"} key = "F4" func = "tag" cmd = "4" [/key]
  398. [key] mod = {"Mod4"} key = "F5" func = "tag" cmd = "5" [/key]
  399. [key] mod = {"Mod4"} key = "F6" func = "tag" cmd = "6" [/key]
  400. [key] mod = {"Mod4"} key = "F7" func = "tag" cmd = "7" [/key]
  401. [key] mod = {"Mod4"} key = "F8" func = "tag" cmd = "8" [/key]
  402. [key] mod = {"Mod4"} key = "F9" func = "tag" cmd = "9" [/key]
  403. [key] mod = {"Mod4"} key = "F10" func = "tag" cmd = "10" [/key]
  404. [key] mod = {"Mod4"} key = "F11" func = "tag" cmd = "11" [/key]
  405. [key] mod = {"Mod4"} key = "F12" func = "tag" cmd = "12" [/key]
  406.  
  407. # Transfert selected client to x.
  408. [key] mod = {"Mod4", "Shift"} key = "F1" func = "tag_transfert" cmd ="1" [/key]
  409. [key] mod = {"Mod4", "Shift"} key = "F2" func = "tag_transfert" cmd ="2" [/key]
  410. [key] mod = {"Mod4", "Shift"} key = "F3" func = "tag_transfert" cmd ="3" [/key]
  411. [key] mod = {"Mod4", "Shift"} key = "F4" func = "tag_transfert" cmd ="4" [/key]
  412. [key] mod = {"Mod4", "Shift"} key = "F5" func = "tag_transfert" cmd ="5" [/key]
  413. [key] mod = {"Mod4", "Shift"} key = "F6" func = "tag_transfert" cmd ="6" [/key]
  414. [key] mod = {"Mod4", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key]
  415. [key] mod = {"Mod4", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key]
  416. [key] mod = {"Mod4", "Shift"} key = "F9" func = "tag_transfert" cmd ="9" [/key]
  417. [key] mod = {"Mod4", "Shift"} key = "F10" func = "tag_transfert" cmd ="10" [/key]
  418. [key] mod = {"Mod4", "Shift"} key = "F11" func = "tag_transfert" cmd ="11" [/key]
  419. [key] mod = {"Mod4", "Shift"} key = "F12" func = "tag_transfert" cmd ="12" [/key]
  420.  
  421. # Toggle additional tags (x) on the current tag
  422. [key] mod = {"Mod4", "Control"} key = "F1" func = "tag_toggle_additional" cmd ="1" [/key]
  423. [key] mod = {"Mod4", "Control"} key = "F2" func = "tag_toggle_additional" cmd ="2" [/key]
  424. [key] mod = {"Mod4", "Control"} key = "F3" func = "tag_toggle_additional" cmd ="3" [/key]
  425. [key] mod = {"Mod4", "Control"} key = "F4" func = "tag_toggle_additional" cmd ="4" [/key]
  426. [key] mod = {"Mod4", "Control"} key = "F5" func = "tag_toggle_additional" cmd ="5" [/key]
  427. [key] mod = {"Mod4", "Control"} key = "F6" func = "tag_toggle_additional" cmd ="6" [/key]
  428. [key] mod = {"Mod4", "Control"} key = "F7" func = "tag_toggle_additional" cmd ="7" [/key]
  429. [key] mod = {"Mod4", "Control"} key = "F8" func = "tag_toggle_additional" cmd ="8" [/key]
  430. [key] mod = {"Mod4", "Control"} key = "F9" func = "tag_toggle_additional" cmd ="9" [/key]
  431. [key] mod = {"Mod4", "Control"} key = "F10" func = "tag_toggle_additional" cmd ="10" [/key]
  432. [key] mod = {"Mod4", "Control"} key = "F11" func = "tag_toggle_additional" cmd ="11" [/key]
  433. [key] mod = {"Mod4", "Control"} key = "F12" func = "tag_toggle_additional" cmd ="12" [/key]
  434.  
  435.  
  436.  
  437. # Layout
  438.  
  439. # Set the next layout.
  440. [key] mod = {"Mod4"} key = "space" func = "layout_next" [/key]
  441.  
  442. # Set the previous layout.
  443. [key] mod = {"Mod4", "Shift"} key = "space" func = "layout_prev" [/key]
  444.  
  445.  
  446.  
  447. # Other
  448.  
  449. # Toggle the position of the infobar.
  450. # Useless for now
  451. [key] mod = {"Alt"} key = "b" func = "toggle_infobar_position" [/key]
  452.  
  453. # Toggle the resizehint of the current tag/screen
  454. [key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key]
  455.  
  456. # Toggle the tag_autohide mode
  457. [key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key]
  458.  
  459.  
  460.  
  461.  
  462. # Increase nmaster.
  463. [key] mod = {"Alt"} key = "d" func = "set_nmaster" cmd = "+1" [/key]
  464.  
  465. # Decease nmaster.
  466. [key] mod = {"Alt", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key]
  467.  
  468.  
  469. #ViWMFS
  470. [key] mod = {"Alt"} key = "Escape" func = "launcher" cmd = "viwmfs" [/key]
  471.  
  472.  
  473. [/keys]