Guest User

Untitled

a guest
Oct 17th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.41 KB | None | 0 0
  1. #
  2. # This is the default wmfs config file, copy it to
  3. # ~/.config/wmfs/wmfsrc and edit it.
  4. # ## author: Ivo
  5. #
  6.  
  7. # Include file to split configuration
  8. # @include "~/.config/wmfs/menu-wmfsrc"
  9.  
  10. [misc]
  11. font = "dejavu-9"
  12. raisefocus = false
  13. focus_follow_mouse = false
  14. focus_follow_movement = false
  15. #opacity = 255
  16.  
  17. # focus_pointer_click: click on unfocused client area:
  18. # true -- default, set focus
  19. # false -- click go to client; including dockapps
  20. focus_pointer_click = true
  21. status_timing = 3 #seconds
  22. status_path = "~/.config/wmfs/status.sh"
  23. [/misc]
  24.  
  25. [bar]
  26. bg = "#242424"
  27. fg = "#125232"
  28. border = false
  29. #height = "30"
  30.  
  31. light_shade = 0.10
  32. dark_shade = -0.10
  33.  
  34. [systray]
  35. # Enable/disable systray
  36. active = true
  37.  
  38. # Screen of systray
  39. screen = 0
  40.  
  41. # Spacing between tray icons
  42. spacing = 3
  43. [/systray]
  44.  
  45. [/bar]
  46.  
  47. [layouts]
  48. fg = "#E1D3AC"
  49. bg = "#242424"
  50.  
  51. # Border around the layout button.
  52. border = false
  53.  
  54. # Value menu or switch.
  55. system = "switch"
  56.  
  57. # Value left or right.
  58. placement = "left"
  59.  
  60. # Keep layout geo for free layout
  61. keep_layout_geo = false
  62.  
  63. # Symbol displayed for the selected layout in the list
  64. selected_layout_symbol = ">"
  65.  
  66. # Width of layout button
  67. # layout_button_width = 20
  68.  
  69. # Tiling layouts.
  70. [layout] type = "tile_right" symbol = "|>]" [/layout]
  71. [layout] type = "tile_left" symbol = "[<|" [/layout]
  72. [layout] type = "tile_top" symbol = "[T]" [/layout]
  73. [layout] type = "tile_bottom" symbol = "[B]" [/layout]
  74. [layout] type = "tile_grid" symbol = "[#]" [/layout]
  75. [layout] type = "tile_grid_vertical" symbol = "[=]" [/layout]
  76. [layout] type = "mirror_vertical" symbol = "|||" [/layout]
  77. [layout] type = "mirror_horizontal" symbol = "=|=" [/layout]
  78.  
  79.  
  80. # Other layouts.
  81. [layout] type = "max" symbol = "[M]" [/layout]
  82. [layout] type = "free" symbol = "><" [/layout]
  83.  
  84. [/layouts]
  85.  
  86. [tags]
  87. [default_tag]
  88. name = "new tag"
  89. mwfact = 0.5
  90. nmaster = 1
  91. layout = "tile_right"
  92. resizehint = false
  93. infobar_position = "top"
  94. [/default_tag]
  95.  
  96. # whether client_next on the last tag will send you on the first
  97. # and client_prev on the first tag will send you on the last one
  98. tag_round = false
  99.  
  100. # Going twice on the same tag will bring you back on the previous one
  101. tag_auto_prev = true
  102.  
  103. occupied_bg = "#A45209"
  104. occupied_fg = "#E1D3AC"
  105. sel_fg = "#E1D3AC"
  106. sel_bg = "#125232"
  107. urgent_bg = "#663333"
  108. urgent_fg = "#F9CFAD"
  109.  
  110. # If true, number of the tag will be used for name
  111. name_count = false
  112. #default_name = "new tag" # deprecated, use [default_tag] instead
  113. #default_layout = "tile_right" # deprecated, use [default_tag] instead
  114.  
  115. expose_name = "EXPOSE"
  116. expose_layout = "tile_left"
  117.  
  118. # Border around the tag buttons.
  119. border = false
  120.  
  121. # Hide empty tags in tag list
  122. autohide = false
  123.  
  124. # Mouse buttons action on tag.
  125. mouse_button_tag_sel = "1"
  126. mouse_button_tag_transfert = "2"
  127. mouse_button_tag_add = "3"
  128. mouse_button_tag_next = "4"
  129. mouse_button_tag_prev = "5"
  130.  
  131. [tag] name = "|1T|" screen = 0 layout = "tile_bottom"
  132. [/tag]
  133. [tag] name = "|2W|"
  134. [/tag]
  135. [tag] name = "|3E|" screen = 0 layout = "tile_grid"
  136. [/tag]
  137. [tag] name = "|4M|" screen = 0 layout = "tile_bottom"
  138. [/tag]
  139. [tag] name = "|5G|" screen = 0 layout = "mirror_vertical"
  140. [/tag]
  141. [tag] name = "|6V|" screen = 0 layout = "free"
  142. [/tag]
  143.  
  144.  
  145. [/tags]
  146.  
  147.  
  148. [client]
  149. client_round = true
  150. client_auto_center = false
  151. border_height = 2
  152. border_shadow = false
  153. border_normal = "#242424"
  154. border_focus = "#E1D3AC"
  155. place_at_mouse = false
  156. resize_corner_normal = "#242424"
  157. resize_corner_focus = "#E1D3AC"
  158. set_new_win_master = true
  159. client_tile_raise = false
  160. new_client_get_mouse = false
  161.  
  162. # send all client that have no tag rule in this default tag
  163. #default_open_tag = 4
  164. # same as above but for the screen
  165. #default_open_screen = 1
  166.  
  167. # Space between tiled clients
  168. padding = 2
  169.  
  170. # Modifier for mouse use
  171. modifier = "Mod4"
  172.  
  173. light_shade = 0.10
  174. dark_shade = -0.10
  175.  
  176. # *DEPRECATED* but works, see [rules] section
  177. # Set automatic free or max client
  178. # autofree = "xterm|MPlayer"
  179. # automax = "Navigator"
  180.  
  181. [mouse] button = "1" func = "client_raise" [/mouse]
  182. [mouse] button = "1" func = "mouse_move" [/mouse]
  183. [mouse] button = "3" func = "client_raise" [/mouse]
  184. [mouse] button = "3" func = "mouse_resize" [/mouse]
  185.  
  186.  
  187. [/client]
  188.  
  189. [rules]
  190.  
  191. [rule]
  192. instance = "urxvt"
  193. class = "urxvt"
  194. screen = 0
  195. tag = "1"
  196. layout = "tile_right"
  197. [/rule]
  198.  
  199. [rule]
  200. instance = "luakit"
  201. class = "luakit"
  202. screen = 0
  203. tag = "2"
  204. max = false
  205. [/rule]
  206.  
  207. [rule]
  208. instance = "chromium"
  209. class = "chromium"
  210. screen = 0
  211. tag = "2"
  212. max = false
  213. [/rule]
  214.  
  215. [rule]
  216. instance = "leafpad"
  217. class = "leafpad"
  218. screen = 0
  219. tag = "3"
  220. max = false
  221. [/rule]
  222.  
  223. [rule]
  224. instance = "skype"
  225. class = "skype"
  226. screen = 0
  227. tag = "4"
  228. max = false
  229. layout = "free"
  230. [/rule]
  231.  
  232. [rule]
  233. instance = "gimp"
  234. class = "gimp"
  235. screen = 0
  236. tag = "5"
  237. max = false
  238. layout = "free"
  239. [/rule]
  240.  
  241. [rule]
  242. instance = "zathura"
  243. class = "zathura"
  244. screen = 0
  245. tag = "4"
  246. max = false
  247. layout = "free"
  248. [/rule]
  249.  
  250. [rule]
  251. instance = "VirtualBox"
  252. class = "VirtualBox"
  253. screen = 0
  254. tag = "6"
  255. max = false
  256. layout = "free"
  257. [/rule]
  258. [/rules]
  259.  
  260. [launcher]
  261. [set_launcher]
  262. # Limit size of the launcher window (px)
  263. width_limit = 300
  264.  
  265. name = "launcher_exec"
  266. prompt = "Exec: "
  267. command = "exec"
  268. [/set_launcher]
  269.  
  270. #ViWMFS : manage wmfs with vi-based command.
  271. [set_launcher]
  272. name = "viwmfs"
  273. prompt = "> "
  274. command = "wmfs -V"
  275. [/set_launcher]
  276. [/launcher]
  277.  
  278. [keys]
  279.  
  280. # Root menu
  281. [key] mod = {"Alt"} key = "r" func = "menu" cmd = "rootmenu" [/key]
  282.  
  283. # Reload the configuration of wmfs.
  284. [key] mod = {"Mod4", "Control"} key = "r" func = "reload" [/key]
  285.  
  286. # Open a terminal.
  287. [key] mod = {"Mod4"} key = "x" func = "spawn" cmd = "urxvt" [/key]
  288.  
  289. # Kill the selected client.
  290. [key] mod = {"Mod4"} key = "q" func = "client_kill" [/key]
  291.  
  292. # Quit wmfs.
  293. [key] mod = {"Control", "Alt", "Shift"} key = "q" func = "quit" [/key]
  294.  
  295. # Swap current client with the next.
  296. [key] mod = {"Mod4"} key = "n" func = "client_swap_next" [/key]
  297.  
  298. # Swap current client with the previous.
  299. [key] mod = {"Mod4", "Shift"} key = "b" func = "client_swap_prev" [/key]
  300.  
  301. # Set the selected client as Master
  302. [key] mod = {"Mod4", "Shift"} key = "m" func = "client_set_master" [/key]
  303.  
  304. # Toggle maximum the selected client
  305. [key] mod = {"Mod4"} key = "m" func = "toggle_max" [/key]
  306.  
  307. # Toggle free the selected client.
  308. [key] mod = {"Mod4"} key = "f" func = "toggle_free" [/key]
  309.  
  310. # Toggle the position of the infobar.
  311. [key] mod = {"Mod4"} key = "v" func = "toggle_infobar_position" [/key]
  312.  
  313.  
  314. # Toggle the resizehint of the current tag/screen
  315. [key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key]
  316.  
  317. # Toggle the tag_autohide mode
  318. [key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key]
  319.  
  320. # Select the next client.
  321. [key] mod = {"Mod4"} key = "Tab" func = "client_next" [/key]
  322.  
  323. # Select the previous client.
  324. [key] mod = {"Mod4","Shift"} key = "Tab" func = "client_prev" [/key]
  325.  
  326. # Select the next tag.
  327. [key] mod = {"Mod4"} key = "Right" func = "tag_next" [/key]
  328.  
  329. # Select the previous tag.
  330. [key] mod = {"Mod4"} key = "Left" func = "tag_prev" [/key]
  331.  
  332. # Select the next visible tag.
  333. [key] mod = {"Control","Mod4"} key = "Right" func = "tag_next_visible" [/key]
  334.  
  335. # Select the previous visible tag.
  336. [key] mod = {"Control","Mod4"} key = "Left" func = "tag_prev_visible" [/key]
  337.  
  338. # Set the next layout.
  339. [key] mod = {"Mod4"} key = "space" func = "layout_next" [/key]
  340.  
  341. # Set the previous layout.
  342. [key] mod = {"Mod4", "Shift"} key = "space" func = "layout_prev" [/key]
  343.  
  344. # Increase mwfact.
  345. [key] mod = {"Mod4"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key]
  346.  
  347. # Decrease mwfact.
  348. [key] mod = {"Mod4"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key]
  349.  
  350. # Increase nmaster.
  351. [key] mod = {"Mod4"} key = "d" func = "set_nmaster" cmd = "+1" [/key]
  352.  
  353. # Decease nmaster.
  354. [key] mod = {"Mod4", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key]
  355.  
  356. #Launcher.
  357. [key] mod = {"Mod4"} key = "p" func = "launcher" cmd = "launcher_exec" [/key]
  358.  
  359. #ViWMFS
  360. [key] mod = {"Mod4"} key = "Escape" func = "launcher" cmd = "viwmfs" [/key]
  361.  
  362. # Open
  363. [key] mod = {"Mod4"} key = "u" func = "spawn" cmd = "urxvt -e ranger" [/key]
  364. [key] mod = {"Mod4"} key = "i" func = "spawn" cmd = "jumanji" [/key]
  365. [key] mod = {"Mod4"} key = "c" func = "spawn" cmd = "chromium" [/key]
  366. [key] mod = {"Mod4"} key = "w" func = "spawn" cmd = "urxvt -e feh --bg-scale /home/ivo/fotos/rtc7.png" [/key]
  367.  
  368.  
  369. # Set the tag x.
  370. [key] mod = {"Mod4"} key = "1" func = "tag" cmd = "1" [/key]
  371. [key] mod = {"Mod4"} key = "2" func = "tag" cmd = "2" [/key]
  372. [key] mod = {"Mod4"} key = "3" func = "tag" cmd = "3" [/key]
  373. [key] mod = {"Mod4"} key = "4" func = "tag" cmd = "4" [/key]
  374. [key] mod = {"Mod4"} key = "5" func = "tag" cmd = "5" [/key]
  375. [key] mod = {"Mod4"} key = "6" func = "tag" cmd = "6" [/key]
  376. [key] mod = {"Mod4"} key = "7" func = "tag" cmd = "7" [/key]
  377. [key] mod = {"Mod4"} key = "8" func = "tag" cmd = "8" [/key]
  378.  
  379. # Transfert selected client to x.
  380. [key] mod = {"Mod4", "Shift"} key = "F1" func = "tag_transfert" cmd ="1" [/key]
  381. [key] mod = {"Mod4", "Shift"} key = "F2" func = "tag_transfert" cmd ="2" [/key]
  382. [key] mod = {"Mod4", "Shift"} key = "F3" func = "tag_transfert" cmd ="3" [/key]
  383. [key] mod = {"Mod4", "Shift"} key = "F4" func = "tag_transfert" cmd ="4" [/key]
  384. [key] mod = {"Mod4", "Shift"} key = "F5" func = "tag_transfert" cmd ="5" [/key]
  385. [key] mod = {"Mod4", "Shift"} key = "F6" func = "tag_transfert" cmd ="6" [/key]
  386. [key] mod = {"Mod4", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key]
  387. [key] mod = {"Mod4", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key]
  388.  
  389. # Toggle additional tags (x) on the current tag
  390. [key] mod = {"Alt", "Super"} key = "F1" func = "tag_toggle_additional" cmd ="1" [/key]
  391. [key] mod = {"Alt", "Super"} key = "F2" func = "tag_toggle_additional" cmd ="2" [/key]
  392. [key] mod = {"Alt", "Super"} key = "F3" func = "tag_toggle_additional" cmd ="3" [/key]
  393. [key] mod = {"Alt", "Super"} key = "F4" func = "tag_toggle_additional" cmd ="4" [/key]
  394.  
  395. # change screen
  396. [key] mod = {"Super"} key = "Tab" func = "screen_next" [/key]
  397. [key] mod = {"Super", "Shift"} key = "Tab" func = "screen_prev" [/key]
  398.  
  399. # swap client in the next/prev screen
  400. [key] mod = {"Super", "Shift"} key = "a" func = "client_screen_next" [/key]
  401. [key] mod = {"Super", "Shift"} key = "z" func = "client_screen_prev" [/key]
  402.  
  403. # client_ignore_tag (display the client on all tags)
  404. [key] mod = {"Mod4", "Shift"} key = "i" func = "client_ignore_tag" [/key]
  405.  
  406. # unlisted fonctions that can be used in [key] func = ""
  407. # client_focus_{right, left, top, bottom}
  408. # client_ignore_tag # Toggle the client in ignore_tag (display the client on all tags)
  409. # tag_prev_sel # go back to the previous selected tag
  410. # tag_transfert_{next, prev}
  411. # tag_urgent # go to the urgent tag
  412. # tag_swap_{next, prev} # swap tag with the previous/next one
  413. # tag_last # go to the last tag
  414. # tag_stay_last # toggle the current tag as the last one
  415. # toggle_abovefc
  416. # screen_prev_sel # go to the previous screen selected
  417. # set_layout # set layout. need to be called with cmd = "<layout_name>"
  418. # ignore_next_client_rules # ignore the rule the next time a rule is called
  419. [/keys]
Add Comment
Please, Sign In to add comment