# wmfsrc by SkyZ # Include file to split configuration # @include "~/.config/wmfs/menu-wmfsrc" [misc] font = "terminus-8" raisefocus = false focus_follow_mouse = true # background_command = /home/stephen/.config/wmfs/autostart.sh # focus_pointer_click: click on unfocused client area: # true -- default, set focus # false -- click go to client; including dockapps focus_pointer_click = true status_timing = 1 #seconds status_path = "/home/stephen/.config/wmfs/status.sh" [/misc] [bar] bg = "#252525" fg = "#ABABAB" height = 20 border = false selbar = true #not worked now, see section [selbar] [systray] # Enable/disable systray active = true # Screen of systray screen = 0 # Spacing between tray icons spacing = 2 [/systray] # Remove this section to disable the selbar. [selbar] bg = "#252525" fg = "#ABABAB" # Cut title length max_length = 60 # [mouse] button = "3" func = "clientlist" [/mouse] [mouse] button = "4" func = "client_next" [/mouse] [mouse] button = "5" func = "client_prev" [/mouse] [/selbar] [/bar] [layouts] bg = "#252525" fg = "#435159" # Border around the layout button. border = false # Value menu or switch. system = "menu" # Value left or right. placement = "left" # Keep layout geo for free layout keep_layout_geo = true # Symbol displayed for the selected layout in the list selected_layout_symbol = ">" # Width of layout button # layout_button_width = x # Tiling layouts. [layout] type = "tile_right" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/tr.png]\" [/layout] [layout] type = "tile_left" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/tl.png]\" [/layout] [layout] type = "tile_top" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/tt.png]\" [/layout] [layout] type = "tile_bottom" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/tb.png]\" [/layout] [layout] type = "tile_grid" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/tg.png]\" [/layout] [layout] type = "tile_grid_vertical" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/la.png]\" [/layout] [layout] type = "mirror_vertical" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/mv.png]\" [/layout] [layout] type = "mirror_horizontal" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/mh.png]\" [/layout] [layout] type = "max" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/mx.png]\" [/layout] [layout] type = "free" symbol = "\i[0;3;15;15;/home/stephen/.config/wmfs/icons/wh/fr.png]\" [/layout] [/layouts] [tags] [default_tag] name = "new tag" mwfact = 0.5 nmaster = 1 layout = "tile_right" resizehint = false infobar_position = "top" [/default_tag] tag_round = false sel_bg = "#252525" sel_fg = "#ABABAB" occupied_bg = "#252525" occupied_fg = "#424242" urgent_bg = "#FF4747" urgent_fg = "#5A5A5A" # If true, number of the tag will be used for name name_count = false #default_name = "new tag" # deprecated, use [default_tag] instead #default_layout = "tile_right" # deprecated, use [default_tag] instead # Border around the tag buttons. border = false # Hide empty tags in tag list autohide = true # Mouse buttons action on tag. mouse_button_tag_sel = "1" mouse_button_tag_transfert = "2" mouse_button_tag_add = "3" mouse_button_tag_next = "4" mouse_button_tag_prev = "5" [tag] name = "1" clients = {"firefox","chromium-browser","uzbl-tabbed","jumanji"} screen = 0 mwfact = 0.65 nmaster = 1 layout = "tile_bottom" resizehint = true infobar_position = "top" [/tag] [tag] name = "2" layout = "tile_grid_vertical" infobar_position = "top" clients = {} [/tag] [tag] name = "3" layout = "tile_grid_vertical" infobar_position = "top" clients = {} [/tag] [tag] name = "4" layout = "tile_bottom" infobar_position = "top" clients = {} [/tag] [tag] name = "5" layout = "tile_bottom" infobar_position = "top" clients = {} [/tag] [tag] name = "6" layout = "tile_bottom" infobar_position = "top" clients = {} [/tag] [tag] name = "7" layout = "tile_bottom" infobar_position = "top" clients = {} [/tag] [tag] name = "8" layout = "free" infobar_position = "top" clients = {} [/tag] [tag] name = "9" layout = "free" infobar_position = "top" clients = {} [/tag] [tag] name = "10" layout = "free" infobar_position = "top" clients = {} [/tag] # [tag] name = "" [/tag] # [tag] name = "" [/tag] # clients option is *DEPRECATED* but works, see [rules] section [/tags] [root] # Command you can execute to set the background. background_command = "xsetroot -solid black && /home/stephen/.config/wmfs/autostart.sh && /home/stephen/.config/wmfs/status.sh" # background_command = /home/stephen/.config/wmfs/autostart.sh [mouse] button = "4" func = "tag_next" [/mouse] [mouse] button = "5" func = "tag_prev" [/mouse] [mouse] button = "3" func = "menu" cmd = "rootmenu" [/mouse] [/root] [client] client_round = true client_auto_center = true set_new_win_master = false padding = 7 border_height = 1 border_shadow = false border_normal = "#252525" border_focus = "#555555" place_at_mouse = true resize_corner_normal = "#252525" resize_corner_focus = "#555555" # Modifier for mouse use modifier = "Mod4" # *DEPRECATED* but works, see [rules] section # Set automatic free or max client # autofree = "xterm|MPlayer" # automax = "Navigator" [mouse] button = "1" func = "client_raise" [/mouse] [mouse] button = "1" func = "mouse_move" [/mouse] [mouse] button = "3" func = "client_raise" [/mouse] [mouse] button = "3" func = "mouse_resize" [/mouse] # Remove this section to delete the titlebar. # [titlebar] # stipple = false # height = 5 # fg_normal = "#7E89A2" # fg_focus = "#9F9AB3" # [mouse] button = "1" func = "client_raise" [/mouse] # [mouse] button = "1" func = "mouse_move" [/mouse] # [mouse] button = "3" func = "client_raise" [/mouse] # [mouse] button = "3" func = "mouse_resize" [/mouse] # [button] # Available "free", "max", "tile" flags of button. # flags = "free,max,tile" # [mouse] button = "1" func = "client_kill" [/mouse] # [mouse] button = "3" func = "menu" cmd = "clientmenu" [/mouse] # [line] coord = {1, 1, 4, 1} [/line] # [line] coord = {1, 1, 1, 4} [/line] # [line] coord = {1, 4, 4, 4} [/line] # [/button] # [/titlebar] [/client] [rules] # Example of rule for Mplayer # [rule] # instance = "xv" # First part of WM_CLASS # class = "uzbl" # Seconf part of WM_CLASS, not needed if first part is correct # role = "" # WM_WINDOW_ROLE # screen = 0 # Screen to use # tag = 2 # Tag number of apps # free = true # Set automatic free client # max = false # Set automatic maximized client # [/rule] [/rules] [menu] # Default menu, binded on the root window, button 3. [set_menu] name = "rootmenu" # place_at_mouse = false # x = 40 y = 50 # Available "center", "left", "right" menu align. Default: "center". align = "left" fg_focus = "#333333" bg_focus = "#CCCCCC" fg_normal = "#333333" bg_normal = "#111111" [item] name = "Urxvtc" func = "spawn" cmd = "urxvtc" [/item] [item] name = "Applications" submenu = "appmenu" [/item] [item] name = "Next tag" func = "tag_next" [/item] [item] name = "Previous tag" func = "tag_prev" [/item] [item] name = "Next layout" func = "layout_next" [/item] [item] name = "Previous layout" func = "layout_prev" [/item] [item] name = "Toggle infobar" func = "toggle_infobar_position" [/item] [item] name = "Quit WMFS" func = "quit" [/item] [item] name = "Reboot" func = "spawn" cmd = "dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart" [/item] [item] name = "Shutdown" func = "spawn" cmd = "dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop" [/item] [item] name = "Sleep" func = "spawn" cmd = "dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend" [/item] [/set_menu] [set_menu] name = "appmenu" align = "left" fg_focus = "#191919" bg_focus = "#7E89A2" fg_normal = "#9F9AB3" bg_normal = "#191919" [item] name = "Browser" func = "spawn" cmd = "firefox" [/item] [item] name = "Calculator" func = "spawn" cmd = "xcalc" [/item] [/set_menu] [set_menu] name = "clientmenu" fg_focus = "#D4D4D4" bg_focus = "#003366" fg_normal = "#D4D4D4" bg_normal = "#191919" # Check items: possible 'check_max' or 'check_free'. [item] name = "Close" func = "client_kill" [/item] [item] name = "Maximize" func = "toggle_max" check = "check_max" [/item] [item] name = "Free" func = "toggle_free" check = "check_free" [/item] [/set_menu] [/menu] [launcher] [set_launcher] name = "launcher_exec" prompt = ">>> " command = "exec" [/set_launcher] #ViWMFS : manage wmfs with vi-based command. [set_launcher] name = "viwmfs" prompt = "> " command = "wmfs -V" [/set_launcher] [/launcher] [keys] # Reload the configuration of wmfs. [key] mod = {"Mod4", "Control"} key = "r" func = "reload" [/key] # Quit wmfs. [key] mod = {"Mod4", "Control"} key = "q" func = "quit" [/key] # Launch applications [key] mod = {"Mod4"} key = "x" func = "spawn" cmd = "urxvtc" [/key] [key] mod = {"Mod4"} key = "c" func = "spawn" cmd = "chromium-browser" [/key] [key] mod = {"Mod4"} key = "t" func = "spawn" cmd = "thunar" [/key] [key] mod = {"Mod4"} key = "g" func = "spawn" cmd = "gedit" [/key] [key] mod = {"Mod4"} key = "u" func = "spawn" cmd = "uzbl-tabbed" [/key] [key] mod = {"Mod4"} key = "f" func = "spawn" cmd = "firefox" [/key] [key] mod = {"Mod4"} key = "f" func = "spawn" cmd = "iceweasel" [/key] [key] mod = {"Mod4"} key = "v" func = "spawn" cmd = "urxvtc -e vim" [/key] [key] mod = {"Mod4"} key = "m" func = "spawn" cmd = "urxvtc -e mocp" [/key] [key] mod = {"Mod4"} key = "j" func = "spawn" cmd = "jumanji" [/key] [key] mod = {"Mod4"} key = "n" func = "spawn" cmd = "urxvtc -e newsbeuter" [/key] [key] mod = {"Mod4"} key = "w" func = "spawn" cmd = "urxvtc -e weechat-curses" [/key] [key] mod = {"Mod4"} key = "p" func = "spawn" cmd = "pcmanfm" [/key] [key] mod = {"Mod4"} key = "e" func = "spawn" cmd = "easytag" [/key] [key] mod = {"Mod4"} key = "r" func = "spawn" cmd = "urxvtc -e ranger" [/key] [key] mod = {"Mod4"} key = "i" func = "spawn" cmd = "java -jar /home/stephen/minecraft/minecraft.jar" [/key] [key] mod = {"Mod4"} key = "o" func = "launcher" cmd = "launcher_exec" [/key] # Control mocp [key] mod = {"Mod4", "Alt"} key = "p" func = "spawn" cmd = "mocp -G" [/key] [key] mod = {"Mod4", "Alt"} key = "m" func = "spawn" cmd = "mocp -s" [/key] [key] mod = {"Mod4", "Alt"} key = "n" func = "spawn" cmd = "mocp -f" [/key] [key] mod = {"Mod4", "Alt"} key = "b" func = "spawn" cmd = "mocp -r" [/key] # Client # Kill the selected client. [key] mod = {"Mod4", "Shift"} key = "q" func = "client_kill" [/key] # Swap current client with the next. [key] mod = {"Mod4", "Shift"} key = "j" func = "client_swap_next" [/key] # Swap current client with the previous. [key] mod = {"Mod4", "Shift"} key = "k" func = "client_swap_prev" [/key] # Toggle maximum the selected client [key] mod = {"Mod4", "Shift"} key = "m" func = "toggle_max" [/key] # Toggle free the selected client. [key] mod = {"Mod4", "Shift"} key = "f" func = "toggle_free" [/key] # Select the next client. [key] mod = {"Mod4"} key = "l" func = "client_next" [/key] [key] mod = {"Mod4"} key = "space" func = "client_next" [/key] # Select the previous client. [key] mod = {"Mod4"} key = "h" func = "client_prev" [/key] # Increase mwfact. [key] mod = {"Mod4", "Shift"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key] # Decrease mwfact. [key] mod = {"Mod4", "Shift"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key] # Tags # Select the next tag. [key] mod = {"Mod4", "Control"} key = "l" func = "tag_next" [/key] # Select the previous tag. [key] mod = {"Mod4", "Control"} key = "h" func = "tag_prev" [/key] # Select the next visible tag. [key] mod = {"Mod4", "Alt"} key = "l" func = "tag_next_visible" [/key] # Select the previous visible tag. [key] mod = {"Mod4","Alt"} key = "h" func = "tag_prev_visible" [/key] # Set the tag x. [key] mod = {"Mod4"} key = "F1" func = "tag" cmd = "1" [/key] [key] mod = {"Mod4"} key = "F2" func = "tag" cmd = "2" [/key] [key] mod = {"Mod4"} key = "F3" func = "tag" cmd = "3" [/key] [key] mod = {"Mod4"} key = "F4" func = "tag" cmd = "4" [/key] [key] mod = {"Mod4"} key = "F5" func = "tag" cmd = "5" [/key] [key] mod = {"Mod4"} key = "F6" func = "tag" cmd = "6" [/key] [key] mod = {"Mod4"} key = "F7" func = "tag" cmd = "7" [/key] [key] mod = {"Mod4"} key = "F8" func = "tag" cmd = "8" [/key] [key] mod = {"Mod4"} key = "F9" func = "tag" cmd = "9" [/key] [key] mod = {"Mod4"} key = "F10" func = "tag" cmd = "10" [/key] [key] mod = {"Mod4"} key = "F11" func = "tag" cmd = "11" [/key] [key] mod = {"Mod4"} key = "F12" func = "tag" cmd = "12" [/key] # Transfert selected client to x. [key] mod = {"Mod4", "Shift"} key = "F1" func = "tag_transfert" cmd ="1" [/key] [key] mod = {"Mod4", "Shift"} key = "F2" func = "tag_transfert" cmd ="2" [/key] [key] mod = {"Mod4", "Shift"} key = "F3" func = "tag_transfert" cmd ="3" [/key] [key] mod = {"Mod4", "Shift"} key = "F4" func = "tag_transfert" cmd ="4" [/key] [key] mod = {"Mod4", "Shift"} key = "F5" func = "tag_transfert" cmd ="5" [/key] [key] mod = {"Mod4", "Shift"} key = "F6" func = "tag_transfert" cmd ="6" [/key] [key] mod = {"Mod4", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key] [key] mod = {"Mod4", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key] [key] mod = {"Mod4", "Shift"} key = "F9" func = "tag_transfert" cmd ="9" [/key] [key] mod = {"Mod4", "Shift"} key = "F10" func = "tag_transfert" cmd ="10" [/key] [key] mod = {"Mod4", "Shift"} key = "F11" func = "tag_transfert" cmd ="11" [/key] [key] mod = {"Mod4", "Shift"} key = "F12" func = "tag_transfert" cmd ="12" [/key] # Toggle additional tags (x) on the current tag [key] mod = {"Mod4", "Control"} key = "F1" func = "tag_toggle_additional" cmd ="1" [/key] [key] mod = {"Mod4", "Control"} key = "F2" func = "tag_toggle_additional" cmd ="2" [/key] [key] mod = {"Mod4", "Control"} key = "F3" func = "tag_toggle_additional" cmd ="3" [/key] [key] mod = {"Mod4", "Control"} key = "F4" func = "tag_toggle_additional" cmd ="4" [/key] [key] mod = {"Mod4", "Control"} key = "F5" func = "tag_toggle_additional" cmd ="5" [/key] [key] mod = {"Mod4", "Control"} key = "F6" func = "tag_toggle_additional" cmd ="6" [/key] [key] mod = {"Mod4", "Control"} key = "F7" func = "tag_toggle_additional" cmd ="7" [/key] [key] mod = {"Mod4", "Control"} key = "F8" func = "tag_toggle_additional" cmd ="8" [/key] [key] mod = {"Mod4", "Control"} key = "F9" func = "tag_toggle_additional" cmd ="9" [/key] [key] mod = {"Mod4", "Control"} key = "F10" func = "tag_toggle_additional" cmd ="10" [/key] [key] mod = {"Mod4", "Control"} key = "F11" func = "tag_toggle_additional" cmd ="11" [/key] [key] mod = {"Mod4", "Control"} key = "F12" func = "tag_toggle_additional" cmd ="12" [/key] # layout # Set the next layout. [key] mod = {"Mod4"} key = "right" func = "layout_next" [/key] # Set the previous layout. [key] mod = {"Mod4", "Shift"} key = "left" func = "layout_prev" [/key] # Other # Toggle the position of the infobar. # Useless for now [key] mod = {"Alt"} key = "b" func = "toggle_infobar_position" [/key] # Toggle the resizehint of the current tag/screen [key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key] # Toggle the tag_autohide mode [key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key] # Increase nmaster. [key] mod = {"Alt"} key = "d" func = "set_nmaster" cmd = "+1" [/key] # Decease nmaster. [key] mod = {"Alt", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key] #ViWMFS [key] mod = {"Alt"} key = "space" func = "launcher" cmd = "viwmfs" [/key] [/keys]