daily pastebin goal
62%
SHARE
TWEET

wmfsrc

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