Guest User

Untitled

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