Guest User

Hund WMFS

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