Created
May 19, 2011 22:32
-
-
Save zoranzaric/981954 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This is the default wmfs config file, copy it to | |
# ~/.config/wmfs/wmfsrc and edit it. | |
# | |
# Include file to split configuration | |
# @include "~/.config/wmfs/menu-wmfsrc" | |
[misc]# {{{ | |
font = "terminus-10" | |
raisefocus = false | |
focus_follow_mouse = true | |
# 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 | |
[/misc]# }}} | |
[bar]# {{{ | |
bg = "#151515" | |
fg = "#e8e8d3" | |
border = false | |
# selbar = false #not worked now, see section [selbar] | |
[systray] | |
# Enable/disable systray | |
active = true | |
# Screen of systray | |
screen = 0 | |
# Spacing between tray icons | |
spacing = 3 | |
[/systray] | |
# Remove this section to disable the selbar. | |
[selbar] | |
bg = "#151515" | |
fg = "#e8e8d3" | |
# Cut title length | |
# max_length = 25 | |
[mouse] button = "3" func = "clientlist" [/mouse] | |
[mouse] button = "4" func = "client_next" [/mouse] | |
[mouse] button = "5" func = "client_prev" [/mouse] | |
[/selbar] | |
[/bar]# }}} | |
[layouts]# {{{ | |
fg = "#191919" | |
bg = "#7E89A2" | |
# Border around the layout button. | |
border = false | |
# Value menu or switch. | |
system = "menu" | |
# Value left or right. | |
placement = "right" | |
# Keep layout geo for free layout | |
keep_layout_geo = false | |
# 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 = "RIGHT" [/layout] | |
[layout] type = "tile_left" symbol = "LEFT" [/layout] | |
[layout] type = "tile_top" symbol = "TOP" [/layout] | |
[layout] type = "tile_bottom" symbol = "BOTTOM" [/layout] | |
[layout] type = "tile_grid" symbol = "GRID_H" [/layout] | |
[layout] type = "tile_grid_vertical" symbol = "GRID_V" [/layout] | |
[layout] type = "mirror_vertical" symbol = "MIRROR_V" [/layout] | |
[layout] type = "mirror_horizontal" symbol = "MIRROR_H" [/layout] | |
# Other layouts. | |
[layout] type = "max" symbol = "MAX" [/layout] | |
[layout] type = "free" symbol = "FREE" [/layout] | |
[/layouts]# }}} | |
[tags]# {{{ | |
[default_tag] | |
name = "new tag" | |
mwfact = 0.5 | |
nmaster = 1 | |
layout = "tile_right" | |
resizehint = false | |
infobar_position = "top" | |
autohide = true | |
[/default_tag] | |
tag_round = false | |
occupied_bg = "#003366" | |
sel_fg = "#191919" | |
sel_bg = "#7E89A2" | |
urgent_bg = "#DD1111" | |
urgent_fg = "#000000" | |
# 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 = false | |
# 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 = "z" | |
#screen = 0 | |
mwfact = 0.65 | |
nmaster = 1 | |
layout = "tile_right" | |
resizehint = false | |
infobar_position = "top" | |
#[mouse] [/mouse] Possible multi mouse section | |
[/tag] | |
[tag] name = "u" [/tag] #2 | |
[tag] name = "i" nmaster = 2 mwfact = 0.8 [/tag] #3 | |
[tag] name = "o" [/tag] #4 | |
[tag] name = "p" [/tag] #5 | |
[tag] name = "ü" [/tag] #6 | |
[tag] name = "+" [/tag] #7 | |
[tag] name = "6" [/tag] #8 | |
[tag] name = "7" [/tag] #9 | |
[tag] name = "8" layout = "tile_bottom" [/tag] #10 | |
[tag] name = "9" [/tag] #11 | |
[tag] name = "0" [/tag] #12 | |
[tag] name = "ß" [/tag] #13 | |
[tag] name = "-" [/tag] #17 | |
[/tags]# }}} | |
[root]# {{{ | |
# Command you can execute to set the background. | |
background_command = "xsetroot -solid black" | |
[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 | |
border_height = 2 | |
border_shadow = false | |
border_normal = "#191919" | |
border_focus = "#ff0000" | |
resize_corner_normal = "#191919" | |
resize_corner_focus = "#003366" | |
# Space between tiled clients | |
padding = 0 | |
# Modifier for mouse use | |
modifier = "Super" | |
# *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 = 0 | |
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 = "MPlayer" # 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 = "#191919" bg_focus = "#7E89A2" | |
fg_normal = "#9F9AB3" bg_normal = "#191919" | |
[item] name = "Terminal" func = "spawn" cmd = "xterm" [/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] | |
[/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 = "Exec: " | |
command = "exec" | |
[/set_launcher] | |
#ViWMFS : manage wmfs with vi-based command. | |
[set_launcher] | |
name = "viwmfs" | |
prompt = "> " | |
command = "wmfs -V" | |
[/set_launcher] | |
[set_launcher] | |
name = "dmenu" | |
prompt = "> " | |
command = "dmenu" | |
[/set_launcher] | |
[/launcher]# }}} | |
[keys]# {{{ | |
[key] mod = {"Super"} key = "q" func = "reload" [/key] # Reload the configuration of wmfs. | |
[key] mod = {"Super", "Shift"} key = "Return" func = "spawn" cmd = "urxvt" [/key] # Open a terminal. | |
[key] mod = {"Super", "Shift"} key = "c" func = "client_kill" [/key] # Kill the selected client. | |
[key] mod = {"Super", "Shift"} key = "q" func = "quit" [/key] # Quit wmfs. | |
[key] mod = {"Super"} key = "m" func = "toggle_max" [/key] # Toggle maximum the selected client | |
[key] mod = {"Super"} key = "f" func = "toggle_free" [/key] # Toggle free the selected client. | |
[key] mod = {"Super"} key = "b" func = "toggle_infobar_position" [/key] # Toggle the position of the infobar. | |
#[key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key] # Toggle the resizehint of the current tag/screen | |
#[key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key] # Toggle the tag_autohide mode | |
[key] mod = {"Super"} key = "j" func = "client_next" [/key] # Select the next client. | |
[key] mod = {"Super"} key = "k" func = "client_prev" [/key] # Select the previous client. | |
[key] mod = {"Super", "Shift"} key = "j" func = "client_swap_next" [/key] # Swap current client with the next. | |
[key] mod = {"Super", "Shift"} key = "k" func = "client_swap_prev" [/key] # Swap current client with the previous. | |
[key] mod = {"Super"} key = "odiaeresis" func = "screen_prev" [/key] # Select the previous screen. | |
[key] mod = {"Super"} key = "adiaeresis" func = "screen_next" [/key] # Select the next screen. | |
[key] mod = {"Super", "Shift" } key = "odiaeresis" func = "client_screen_prev" [/key] # Select the previous screen. | |
[key] mod = {"Super", "Shift" } key = "adiaeresis" func = "client_screen_next" [/key] # Select the next screen. | |
#[key] mod = {"Control"} key = "Right" func = "tag_next" [/key] # Select the next tag. | |
#[key] mod = {"Control"} key = "Left" func = "tag_prev" [/key] # Select the previous tag. | |
#[key] mod = {"Control","Alt"} key = "Right" func = "tag_next_visible" [/key] # Select the next visible tag. | |
#[key] mod = {"Control","Alt"} key = "Left" func = "tag_prev_visible" [/key] # Select the previous visible tag. | |
[key] mod = {"Super"} key = "n" func = "layout_next" [/key] # Set the next layout. | |
[key] mod = {"Super", "Shift"} key = "n" func = "layout_prev" [/key] # Set the previous layout. | |
[key] mod = {"Super"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key] # Increase mwfact. | |
[key] mod = {"Super"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key] # Decrease mwfact. | |
[key] mod = {"Super"} key = "comma" func = "set_nmaster" cmd = "+1" [/key] # Increase nmaster. | |
[key] mod = {"Super"} key = "period" func = "set_nmaster" cmd = "-1" [/key] # Decease nmaster. | |
[key] mod = {"Super"} key = "Return" func = "launcher" cmd = "launcher_exec" [/key] #Launcher. | |
[key] mod = {"Super"} key = "Escape" func = "launcher" cmd = "viwmfs" [/key] #ViWMFS | |
# Tags {{{ | |
# Set the tag x. | |
[key] mod = {"Super"} key = "z" func = "tag" cmd = "1" [/key] | |
[key] mod = {"Super"} key = "u" func = "tag" cmd = "2" [/key] | |
[key] mod = {"Super"} key = "i" func = "tag" cmd = "3" [/key] | |
[key] mod = {"Super"} key = "o" func = "tag" cmd = "4" [/key] | |
[key] mod = {"Super"} key = "p" func = "tag" cmd = "5" [/key] | |
[key] mod = {"Super"} key = "udiaeresis" func = "tag" cmd = "6" [/key] | |
[key] mod = {"Super"} key = "plus" func = "tag" cmd = "7" [/key] | |
[key] mod = {"Super"} key = "6" func = "tag" cmd = "8" [/key] | |
[key] mod = {"Super"} key = "7" func = "tag" cmd = "9" [/key] | |
[key] mod = {"Super"} key = "8" func = "tag" cmd = "10" [/key] | |
[key] mod = {"Super"} key = "9" func = "tag" cmd = "11" [/key] | |
[key] mod = {"Super"} key = "0" func = "tag" cmd = "12" [/key] | |
[key] mod = {"Super"} key = "ssharp" func = "tag" cmd = "13" [/key] | |
[key] mod = {"Super"} key = "minus" func = "tag" cmd = "14" [/key] | |
# Transfert selected client to x. | |
[key] mod = {"Super", "Shift"} key = "z" func = "tag_transfert" cmd = "1" [/key] | |
[key] mod = {"Super", "Shift"} key = "u" func = "tag_transfert" cmd = "2" [/key] | |
[key] mod = {"Super", "Shift"} key = "i" func = "tag_transfert" cmd = "3" [/key] | |
[key] mod = {"Super", "Shift"} key = "o" func = "tag_transfert" cmd = "4" [/key] | |
[key] mod = {"Super", "Shift"} key = "p" func = "tag_transfert" cmd = "5" [/key] | |
[key] mod = {"Super", "Shift"} key = "udiaeresis" func = "tag_transfert" cmd = "6" [/key] | |
[key] mod = {"Super", "Shift"} key = "plus" func = "tag_transfert" cmd = "7" [/key] | |
[key] mod = {"Super", "Shift"} key = "6" func = "tag_transfert" cmd = "8" [/key] | |
[key] mod = {"Super", "Shift"} key = "7" func = "tag_transfert" cmd = "9" [/key] | |
[key] mod = {"Super", "Shift"} key = "8" func = "tag_transfert" cmd = "10" [/key] | |
[key] mod = {"Super", "Shift"} key = "9" func = "tag_transfert" cmd = "11" [/key] | |
[key] mod = {"Super", "Shift"} key = "0" func = "tag_transfert" cmd = "12" [/key] | |
[key] mod = {"Super", "Shift"} key = "ssharp" func = "tag_transfert" cmd = "13" [/key] | |
[key] mod = {"Super", "Shift"} key = "minus" func = "tag_transfert" cmd = "14" [/key] | |
# Toggle additional tags (x) on the current tag | |
[key] mod = {"Super", "Alt"} key = "z" func = "tag_toggle_additional" cmd = "1" [/key] | |
[key] mod = {"Super", "Alt"} key = "u" func = "tag_toggle_additional" cmd = "2" [/key] | |
[key] mod = {"Super", "Alt"} key = "i" func = "tag_toggle_additional" cmd = "3" [/key] | |
[key] mod = {"Super", "Alt"} key = "o" func = "tag_toggle_additional" cmd = "4" [/key] | |
[key] mod = {"Super", "Alt"} key = "p" func = "tag_toggle_additional" cmd = "5" [/key] | |
[key] mod = {"Super", "Alt"} key = "udiaeresis" func = "tag_toggle_additional" cmd = "6" [/key] | |
[key] mod = {"Super", "Alt"} key = "plus" func = "tag_toggle_additional" cmd = "7" [/key] | |
[key] mod = {"Super", "Alt"} key = "6" func = "tag_toggle_additional" cmd = "8" [/key] | |
[key] mod = {"Super", "Alt"} key = "7" func = "tag_toggle_additional" cmd = "9" [/key] | |
[key] mod = {"Super", "Alt"} key = "8" func = "tag_toggle_additional" cmd = "10" [/key] | |
[key] mod = {"Super", "Alt"} key = "9" func = "tag_toggle_additional" cmd = "11" [/key] | |
[key] mod = {"Super", "Alt"} key = "0" func = "tag_toggle_additional" cmd = "12" [/key] | |
[key] mod = {"Super", "Alt"} key = "ssharp" func = "tag_toggle_additional" cmd = "13" [/key] | |
[key] mod = {"Super", "Alt"} key = "minus" func = "tag_toggle_additional" cmd = "14" [/key] | |
#}}} | |
# Custom Keybindings | |
[key] mod = {"Super"} key = "space" func = "spawn" cmd ="dmenu_run" [/key] | |
[key] mod = {"Control", "Alt"} key = "Delete" func = "spawn" cmd ="slock" [/key] | |
#[key] mod = {"Control", "Alt"} key = "space" func = "spawn" cmd ="toggleneo" [/key] | |
[/keys]# }}} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment