Advertisement
Guest User

wmfsrc SkyZ

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