Advertisement
Guest User

Untitled

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