Advertisement
Guest User

wmfsrc-villor

a guest
Jun 5th, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.08 KB | None | 0 0
  1. #
  2. # This is the default wmfs config file, copy it to
  3. # ~/.config/wmfs/wmfsrc and edit it.
  4. #
  5.  
  6. # Include file to split configuration
  7. # @include "~/.config/wmfs/menu-wmfsrc"
  8.  
  9. [misc]
  10. font = "dejavu-10"
  11. raisefocus = true
  12. raiseswitch = false
  13. focus_follow_mouse = true
  14. focus_follow_movement = false
  15. opacity = 255
  16. status_timing = 2
  17. status_path = "/home/villor/.config/wmfs/status.sh"
  18.  
  19. # focus_pointer_click: click on unfocused client area:
  20. # true -- default, set focus
  21. # false -- click go to client; including dockapps
  22. focus_pointer_click = true
  23.  
  24. [/misc]
  25.  
  26. [bar]
  27. bg = "#191919"
  28. fg = "#D4D4D4"
  29. border = true
  30. #height = "-1"
  31.  
  32. light_shade = 0.10
  33. dark_shade = -0.10
  34.  
  35. [systray]
  36. # Enable/disable systray
  37. active = true
  38.  
  39. # Screen of systray
  40. screen = 0
  41.  
  42. # Spacing between tray icons
  43. spacing = 3
  44. [/systray]
  45.  
  46. # Remove this section to disable the selbar.
  47. [selbar]
  48. bg = "#191919"
  49. fg = "#D4D4ff"
  50.  
  51. # Cut title length
  52. # max_length = 25
  53.  
  54. [mouse] button = "3" func = "clientlist" [/mouse]
  55. [mouse] button = "4" func = "client_next" [/mouse]
  56. [mouse] button = "5" func = "client_prev" [/mouse]
  57. [/selbar]
  58.  
  59. [/bar]
  60.  
  61. [layouts]
  62. fg = "#FF0A95"
  63. bg = "#191919"
  64.  
  65. # Border around the layout button.
  66. border = false
  67.  
  68. # Value menu or switch.
  69. system = "menu"
  70.  
  71. # Value left or right.
  72. placement = "right"
  73.  
  74. # Keep layout geo for free layout
  75. keep_layout_geo = false
  76.  
  77. # Symbol displayed for the selected layout in the list
  78. selected_layout_symbol = "*"
  79.  
  80. # Width of layout button
  81. # layout_button_width = x
  82.  
  83. # Tiling layouts.
  84. [layout] type = "tile_right" symbol = "RIGHT" [/layout]
  85. [layout] type = "tile_left" symbol = "LEFT" [/layout]
  86. [layout] type = "tile_top" symbol = "TOP" [/layout]
  87. [layout] type = "tile_bottom" symbol = "BOTTOM" [/layout]
  88. [layout] type = "tile_grid" symbol = "GRID_H" [/layout]
  89. [layout] type = "tile_grid_vertical" symbol = "GRID_V" [/layout]
  90. [layout] type = "mirror_vertical" symbol = "MIRROR_V" [/layout]
  91. [layout] type = "mirror_horizontal" symbol = "MIRROR_H" [/layout]
  92.  
  93. # Other layouts.
  94. [layout] type = "max" symbol = "MAX" [/layout]
  95. [layout] type = "free" symbol = "FREE" [/layout]
  96.  
  97. [/layouts]
  98.  
  99. [tags]
  100. [default_tag]
  101. name = "new tag"
  102. mwfact = 0.5
  103. nmaster = 1
  104. layout = "tile_right"
  105. resizehint = false
  106. infobar_position = "top"
  107. [/default_tag]
  108.  
  109. # whether client_next on the last tag will send you on the first
  110. # and client_prev on the first tag will send you on the last one
  111. tag_round = false
  112.  
  113. # Going twice on the same tag will bring you back on the previous one
  114. tag_auto_prev = true
  115.  
  116. occupied_bg = "#191919"
  117. occupied_fg = "#1B9EE0"
  118. sel_fg = "#07DB51"
  119. sel_bg = "#191919"
  120. urgent_bg = "#191919"
  121. urgent_fg = "#ff0000"
  122.  
  123. # If true, number of the tag will be used for name
  124. name_count = false
  125. #default_name = "new tag" # deprecated, use [default_tag] instead
  126. #default_layout = "tile_right" # deprecated, use [default_tag] instead
  127.  
  128. expose_name = "EXPOSE"
  129. expose_layout = "tile_left"
  130.  
  131. # Border around the tag buttons.
  132. border = false
  133.  
  134. # Hide empty tags in tag list
  135. autohide = false
  136.  
  137. # Mouse buttons action on tag.
  138. mouse_button_tag_sel = "1"
  139. mouse_button_tag_transfert = "2"
  140. mouse_button_tag_add = "3"
  141. mouse_button_tag_next = "4"
  142. mouse_button_tag_prev = "5"
  143.  
  144. [tag]
  145. name = "General"
  146. screen = 0
  147. mwfact = 0.65
  148. nmaster = 1
  149. layout = "tile_right"
  150. resizehint = false
  151. infobar_position = "top"
  152. above_fc = false
  153. #[mouse] [/mouse] Possible multi mouse section
  154. [/tag]
  155. [tag]
  156. name = "Web"
  157. screen = 0
  158. mwfact = 0.65
  159. nmaster = 1
  160. layout = "grid"
  161. resizehint = false
  162. infobar_position = "top"
  163. above_fc = false
  164. #[mouse] [/mouse] Possible multi mouse section
  165. [/tag]
  166. [tag]
  167. name = "Dev"
  168. screen = 0
  169. mwfact = 0.65
  170. nmaster = 1
  171. layout = "grid"
  172. resizehint = false
  173. infobar_position = "top"
  174. above_fc = false
  175. #[mouse] [/mouse] Possible multi mouse section
  176. [/tag]
  177. [tag]
  178. name = "Terminal"
  179. screen = 0
  180. mwfact = 0.65
  181. nmaster = 1
  182. layout = "grid"
  183. resizehint = false
  184. infobar_position = "top"
  185. above_fc = false
  186. #[mouse] [/mouse] Possible multi mouse section
  187. [/tag]
  188. [tag]
  189. name = "IRC"
  190. screen = 0
  191. mwfact = 0.65
  192. nmaster = 1
  193. layout = "grid"
  194. resizehint = false
  195. infobar_position = "top"
  196. above_fc = false
  197. #[mouse] [/mouse] Possible multi mouse section
  198. [/tag]
  199. [tag]
  200. name = "Skype"
  201. screen = 0
  202. mwfact = 0.65
  203. nmaster = 1
  204. layout = "tile_right"
  205. resizehint = false
  206. infobar_position = "top"
  207. above_fc = false
  208. #[mouse] [/mouse] Possible multi mouse section
  209. [/tag]
  210.  
  211. #[tag] name = "Web" [/tag]
  212. #[tag] name = "Music" [/tag]
  213. #[tag] name = "Terminal" [/tag]
  214. #[tag] name = "IRC" [/tag]
  215. #[tag] name = "six" [/tag]
  216. #[tag] name = "seven" [/tag]
  217. #[tag] name = "eight" [/tag]
  218. #[tag] name = "nine" [/tag]
  219. [/tags]
  220.  
  221. [root]
  222. # Command you can execute to set the background.
  223. background_command = "feh --bg-fill /home/villor/thearcher.png"
  224.  
  225. [mouse] button = "4" func = "tag_next" [/mouse]
  226. [mouse] button = "5" func = "tag_prev" [/mouse]
  227. [mouse] button = "3" func = "menu" cmd = "rootmenu" [/mouse]
  228. [/root]
  229.  
  230. [client]
  231. client_round = true
  232. client_auto_center = false
  233. border_height = 1
  234. border_shadow = true
  235. border_normal = "#191919"
  236. border_focus = "#1B9EE0"
  237. place_at_mouse = false
  238. resize_corner_normal = "#191919"
  239. resize_corner_focus = "#003366"
  240. set_new_win_master = true
  241. client_tile_raise = false
  242. new_client_get_mouse = false
  243.  
  244. # send all client that have no tag rule in this default tag
  245. #default_open_tag = 4
  246. # same as above but for the screen
  247. #default_open_screen = 1
  248.  
  249. # Space between tiled clients
  250. padding = 0
  251.  
  252. # Modifier for mouse use
  253. modifier = "Alt"
  254.  
  255. light_shade = 0.10
  256. dark_shade = -0.10
  257.  
  258. # *DEPRECATED* but works, see [rules] section
  259. # Set automatic free or max client
  260. # autofree = "xterm|MPlayer"
  261. # automax = "Navigator"
  262.  
  263. [mouse] button = "1" func = "client_raise" [/mouse]
  264. [mouse] button = "1" func = "mouse_move" [/mouse]
  265. [mouse] button = "3" func = "client_raise" [/mouse]
  266. [mouse] button = "3" func = "mouse_resize" [/mouse]
  267.  
  268. # Remove this section to delete the titlebar.
  269. #[titlebar]
  270. # stipple = false
  271. # height = 12
  272. # fg_normal = "#7E89A2"
  273. # fg_focus = "#9F9AB3"
  274.  
  275. # [mouse] button = "1" func = "client_raise" [/mouse]
  276. # [mouse] button = "1" func = "mouse_move" [/mouse]
  277. # [mouse] button = "3" func = "client_raise" [/mouse]
  278. # [mouse] button = "3" func = "mouse_resize" [/mouse]
  279.  
  280. # [button]
  281. # Available "free", "max", "tile" flags or button.
  282. # flags = "free,max,tile"
  283. # [mouse] button = "1" func = "client_kill" [/mouse]
  284. # [mouse] button = "3" func = "menu" cmd = "clientmenu" [/mouse]
  285.  
  286. # [line] coord = {1, 1, 4, 1} [/line]
  287. # [line] coord = {1, 1, 1, 4} [/line]
  288. # [line] coord = {1, 4, 4, 4} [/line]
  289. # [/button]
  290. #[/titlebar]
  291. [/client]
  292.  
  293. [rules]
  294. # Example of rule for MPlayer
  295. [rule]
  296. instance = "xv" # First part of WM_CLASS
  297. class = "MPlayer" # Seconf part of WM_CLASS, not needed if first part is correct
  298. # role = "" # WM_WINDOW_ROLE
  299. screen = 0 # Screen to use
  300. tag = 2 # Tag number of apps
  301. free = true # Set automatic free client
  302. max = false # Set automatic maximized client
  303. follow_client = false # follow the client
  304. ignore_tags = false # ignore tag (free mode)
  305. [/rule]
  306. [/rules]
  307.  
  308. [menu]
  309. # Default menu, binded on the root window, button 3.
  310. [set_menu]
  311. name = "rootmenu"
  312.  
  313. # place_at_mouse = false
  314. # x = 40 y = 50
  315.  
  316. # Available "center", "left", "right" menu align. Default: "center".
  317. align = "left"
  318.  
  319. fg_focus = "#191919" bg_focus = "#7E89A2"
  320. fg_normal = "#9F9AB3" bg_normal = "#191919"
  321.  
  322. [item] name = "Terminal" func = "spawn" cmd = "urxvt || xterm || gnome-terminal" [/item]
  323. [item] name = "Applications" submenu = "appmenu" [/item]
  324. [item] name = "Next tag" func = "tag_next" [/item]
  325. [item] name = "Previous tag" func = "tag_prev" [/item]
  326. [item] name = "Next layout" func = "layout_next" [/item]
  327. [item] name = "Previous layout" func = "layout_prev" [/item]
  328. [item] name = "Toggle infobar" func = "toggle_infobar_position" [/item]
  329. [item] name = "Quit WMFS" func = "quit" [/item]
  330. [/set_menu]
  331.  
  332. [set_menu]
  333. name = "appmenu"
  334. align = "left"
  335.  
  336. fg_focus = "#191919" bg_focus = "#7E89A2"
  337. fg_normal = "#9F9AB3" bg_normal = "#191919"
  338.  
  339. [item] name = "Firefox" func = "spawn" cmd = "firefox" [/item]
  340. [item] name = "GEdit" func = "spawn" cmd = "gedit" [/item]
  341. [item] name = "Eclipse" func = "spawn" cmd = "eclipse" [/item]
  342. [item] name = "Konversation" func = "spawn" cmd = "konversation" [/item]
  343. [item] name = "Calculator" func = "spawn" cmd = "xcalc" [/item]
  344. [/set_menu]
  345.  
  346. [set_menu]
  347. name = "clientmenu"
  348.  
  349. fg_focus = "#D4D4D4" bg_focus = "#003366"
  350. fg_normal = "#D4D4D4" bg_normal = "#191919"
  351.  
  352. # Check items: possible 'check_max' or 'check_free'.
  353. [item] name = "Close" func = "client_kill" [/item]
  354. [item] name = "Maximize" func = "toggle_max" check = "check_max" [/item]
  355. [item] name = "Free" func = "toggle_free" check = "check_free" [/item]
  356. [/set_menu]
  357. [/menu]
  358.  
  359. [launcher]
  360. [set_launcher]
  361. # Limit size of the launcher window (px)
  362. width_limit = 300
  363.  
  364. name = "launcher_exec"
  365. prompt = "Exec: "
  366. command = "exec"
  367. [/set_launcher]
  368.  
  369. #ViWMFS : manage wmfs with vi-based command.
  370. [set_launcher]
  371. name = "viwmfs"
  372. prompt = "> "
  373. command = "wmfs -V"
  374. [/set_launcher]
  375. [/launcher]
  376.  
  377. [keys]
  378. # Reload the configuration of wmfs.
  379. [key] mod = {"Alt", "Control"} key = "r" func = "reload" [/key]
  380.  
  381. # Open a terminal.
  382. [key] mod = {"Control"} key = "Return" func = "spawn" cmd = "urxvt" [/key]
  383.  
  384. # Kill the selected client.
  385. [key] mod = {"Alt"} key = "q" func = "client_kill" [/key]
  386.  
  387. # Quit wmfs.
  388. [key] mod = {"Control", "Alt", "Shift"} key = "q" func = "quit" [/key]
  389.  
  390. # Swap current client with the next.
  391. [key] mod = {"Alt"} key = "t" func = "client_swap_next" [/key]
  392.  
  393. # Swap current client with the previous.
  394. [key] mod = {"Alt", "Shift"} key = "t" func = "client_swap_prev" [/key]
  395.  
  396. # Set the selected client as Master
  397. [key] mod = {"Control"} key = "m" func = "client_set_master" [/key]
  398.  
  399. # Toggle maximum the selected client
  400. [key] mod = {"Alt"} key = "m" func = "toggle_max" [/key]
  401.  
  402. # Toggle free the selected client.
  403. [key] mod = {"Alt"} key = "f" func = "toggle_free" [/key]
  404.  
  405. # Toggle the position of the infobar.
  406. [key] mod = {"Alt"} key = "b" func = "toggle_infobar_position" [/key]
  407. [key] mod = {"Alt", "Shift"} key = "b" func = "toggle_infobar_display" [/key]
  408.  
  409. # Toggle the resizehint of the current tag/screen
  410. [key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key]
  411.  
  412. # Toggle the tag_autohide mode
  413. [key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key]
  414.  
  415. # Select the next client.
  416. [key] mod = {"Alt"} key = "Tab" func = "client_next" [/key]
  417.  
  418. # Select the previous client.
  419. [key] mod = {"Alt","Shift"} key = "Tab" func = "client_prev" [/key]
  420.  
  421. # Select the next tag.
  422. [key] mod = {"Control"} key = "Right" func = "tag_next" [/key]
  423.  
  424. # Select the previous tag.
  425. [key] mod = {"Control"} key = "Left" func = "tag_prev" [/key]
  426.  
  427. # Select the next visible tag.
  428. [key] mod = {"Control","Alt"} key = "Right" func = "tag_next_visible" [/key]
  429.  
  430. # Select the previous visible tag.
  431. [key] mod = {"Control","Alt"} key = "Left" func = "tag_prev_visible" [/key]
  432.  
  433. # Set the next layout.
  434. [key] mod = {"Alt"} key = "space" func = "layout_next" [/key]
  435.  
  436. # Set the previous layout.
  437. [key] mod = {"Alt", "Shift"} key = "space" func = "layout_prev" [/key]
  438.  
  439. # Increase mwfact.
  440. [key] mod = {"Alt"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key]
  441.  
  442. # Decrease mwfact.
  443. [key] mod = {"Alt"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key]
  444.  
  445. # Increase nmaster.
  446. [key] mod = {"Alt"} key = "d" func = "set_nmaster" cmd = "+1" [/key]
  447.  
  448. # Decease nmaster.
  449. [key] mod = {"Alt", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key]
  450.  
  451. #Launcher.
  452. [key] mod = {"Alt"} key = "p" func = "launcher" cmd = "launcher_exec" [/key]
  453.  
  454. #ViWMFS
  455. [key] mod = {"Alt"} key = "Escape" func = "launcher" cmd = "viwmfs" [/key]
  456.  
  457. # Set the tag x.
  458. [key] mod = {"Alt"} key = "F1" func = "tag" cmd = "1" [/key]
  459. [key] mod = {"Alt"} key = "F2" func = "tag" cmd = "2" [/key]
  460. [key] mod = {"Alt"} key = "F3" func = "tag" cmd = "3" [/key]
  461. [key] mod = {"Alt"} key = "F4" func = "tag" cmd = "4" [/key]
  462. [key] mod = {"Alt"} key = "F5" func = "tag" cmd = "5" [/key]
  463. [key] mod = {"Alt"} key = "F6" func = "tag" cmd = "6" [/key]
  464. [key] mod = {"Alt"} key = "F7" func = "tag" cmd = "7" [/key]
  465. [key] mod = {"Alt"} key = "F8" func = "tag" cmd = "8" [/key]
  466. [key] mod = {"Alt"} key = "F9" func = "tag" cmd = "9" [/key]
  467.  
  468. # Transfert selected client to x.
  469. [key] mod = {"Alt", "Shift"} key = "F1" func = "tag_transfert" cmd ="1" [/key]
  470. [key] mod = {"Alt", "Shift"} key = "F2" func = "tag_transfert" cmd ="2" [/key]
  471. [key] mod = {"Alt", "Shift"} key = "F3" func = "tag_transfert" cmd ="3" [/key]
  472. [key] mod = {"Alt", "Shift"} key = "F4" func = "tag_transfert" cmd ="4" [/key]
  473. [key] mod = {"Alt", "Shift"} key = "F5" func = "tag_transfert" cmd ="5" [/key]
  474. [key] mod = {"Alt", "Shift"} key = "F6" func = "tag_transfert" cmd ="6" [/key]
  475. [key] mod = {"Alt", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key]
  476. [key] mod = {"Alt", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key]
  477. [key] mod = {"Alt", "Shift"} key = "F9" func = "tag_transfert" cmd ="9" [/key]
  478.  
  479. # Toggle additional tags (x) on the current tag
  480. [key] mod = {"Alt", "Super"} key = "F1" func = "tag_toggle_additional" cmd ="1" [/key]
  481. [key] mod = {"Alt", "Super"} key = "F2" func = "tag_toggle_additional" cmd ="2" [/key]
  482. [key] mod = {"Alt", "Super"} key = "F3" func = "tag_toggle_additional" cmd ="3" [/key]
  483. [key] mod = {"Alt", "Super"} key = "F4" func = "tag_toggle_additional" cmd ="4" [/key]
  484. [key] mod = {"Alt", "Super"} key = "F5" func = "tag_toggle_additional" cmd ="5" [/key]
  485. [key] mod = {"Alt", "Super"} key = "F6" func = "tag_toggle_additional" cmd ="6" [/key]
  486. [key] mod = {"Alt", "Super"} key = "F7" func = "tag_toggle_additional" cmd ="7" [/key]
  487. [key] mod = {"Alt", "Super"} key = "F8" func = "tag_toggle_additional" cmd ="8" [/key]
  488. [key] mod = {"Alt", "Super"} key = "F9" func = "tag_toggle_additional" cmd ="9" [/key]
  489.  
  490. # change screen
  491. [key] mod = {"Super"} key = "Tab" func = "screen_next" [/key]
  492. [key] mod = {"Super", "Shift"} key = "Tab" func = "screen_prev" [/key]
  493.  
  494. # swap client in the next/prev screen
  495. [key] mod = {"Super", "Shift"} key = "a" func = "client_screen_next" [/key]
  496. [key] mod = {"Super", "Shift"} key = "z" func = "client_screen_prev" [/key]
  497.  
  498. [key] mod = {"Alt"} key = "e" func = "toggle_tag_expose" [/key]
  499.  
  500. # unlisted fonctions that can be used in [key] func = ""
  501. # client_focus_{right, left, top, bottom}
  502. # client_ignore_tag # Toggle the client in ignore_tag (display the client on all tags)
  503. # tag_prev_sel # go back to the previous selected tag
  504. # tag_transfert_{next, prev}
  505. # tag_urgent # go to the urgent tag
  506. # tag_swap_{next, prev} # swap tag with the previous/next one
  507. # tag_last # go to the last tag
  508. # tag_stay_last # toggle the current tag as the last one
  509. # toggle_abovefc
  510. # screen_prev_sel # go to the previous screen selected
  511. # set_layout # set layout. need to be called with cmd = "<layout_name>"
  512. # ignore_next_client_rules # ignore the rule the next time a rule is called
  513. [/keys]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement