#---------------------------------------------------- # file: ~/.config/wmfs/wmfsrc # author: jason ryan - http://jasonwryan.com/ # vim:fenc=utf-8:nu:ai:si:et:ts=4:sw=4:fdn=1:ft=conf: #---------------------------------------------------- # @include "~/.config/wmfs/menu-wmfsrc" [misc] font = "envy code r:medium:size=9.5" raisefocus = true focus_follow_mouse = false focus_pointer_click = true status_timing = 5 #seconds status_path = "~/Scripts/wmfs-status" [/misc] [bar] bg = "#121212" fg = "#777777" border = false [systray] active = true # Enable/disable systray screen = 0 # Screen of systray spacing = 4 # Spacing between tray icons [/systray] [selbar] bg = "#121212" fg = "#C0C0C0" max_length = 36 [/selbar] [/bar] [layouts] fg = "#666666" bg = "#121212" border = false # Border around the layout button. system = "menu" # Value menu or switch. placement = "right" # Value left or right. keep_layout_geo = false # Keep layout geo for free layout selected_layout_symbol = "*" # Symbol displayed for the selected layout in the list layout_button_width = 20 # Width of layout button # Tiling layouts. [layout] type = "tile_right" symbol = " \i[0;3;14;14;/home/jason/.config/wmfs/icons/tile.png]\" [/layout] [layout] type = "tile_left" symbol = " \i[0;3;14;14;/home/jason/.config/wmfs/icons/tileleft.png]\" [/layout] [layout] type = "tile_top" symbol = " \i[0;3;14;14;/home/jason/.config/wmfs/icons/tiletop.png]\" [/layout] [layout] type = "tile_bottom" symbol = " \i[0;3;14;14;/home/jason/.config/wmfs/icons/tilebottom.png]\" [/layout] [layout] type = "max" symbol = " \i[0;3;14;14;/home/jason/.config/wmfs/icons/max.png]\" [/layout] [layout] type = "free" symbol = " \i[0;3;14;14;/home/jason/.config/wmfs/icons/floating.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 = true occupied_bg = "#121212" occupied_fg = "#395573" sel_fg = "#C0C0C0" sel_bg = "#121212" urgent_bg = "#121212" urgent_fg = "#BF4D80" name_count = false # If true, number of the tag will be used for name border = false # Border around the tag buttons. autohide = false # Hide empty tags in tag list [tag] name = "web" screen = 0 layout = "max" [/tag] [tag] name = "term" screen = 0 layout = "tile_right" [/tag] [tag] name = "mail" screen = 0 layout = "max" [/tag] [tag] name = "misc" screen = 0 layout = "free" [/tag] [/tags] [rules] [rule] instance = "vimprobable2" class = "vimprobable2" screen = 0 tag = "1" max = "true" [/rule] [rule] instance = "tabbed" class = "tabbed" screen = 0 tag = "1" max = "true" [/rule] [rule] instance = "tmux" class = "tmux" screen = 0 tag = "2" max = "false" [/rule] [rule] instance = "mutt" class = "mutt" screen = 0 tag = "3" max = "true" [/rule] [rule] instance = "skype" class = "skype" screen = 0 tag = "4" free = "true" [/rule] [rule] instance = "mplayer" class = "mplayer" screen = 0 tag = "4" free = "true" [/rule] [rule] instance = "filezilla" class = "filezilla" screen = 0 tag = "4" free = "true" [/rule] [rule] instance = "gimp" class = "gimp" screen = 0 tag = "4" free = "true" [/rule] [rule] instance = "scratchpad" name = "scratchpad" free = "true" [/rule] [rule] instance = "netspeed" name = "netspeed" free = "true" [/rule] [/rules] [root] # Command you can execute to set the background. # background_command = "xsetroot -solid '#333333'" [/root] [client] client_round = true border_height = 1 border_shadow = false border_normal = "#222222" border_focus = "#666666" resize_corner_normal = "#222222" resize_corner_focus = "#666666" # Space between tiled clients padding = 0 # Modifier for mouse use modifier = "Mod4" [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 = 1 fg_normal = "#121212" fg_focus = "#899CA1" [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] [/titlebar] [/client] [menu] # Default menu, binded on the root window, button 3. [set_menu] name = "rootmenu" # Available "center", "left", "right" menu align. Default: "center". align = "left" fg_focus = "#899CA1" bg_focus = "#121212" fg_normal = "#888888" bg_normal = "#333333" [item] name = "Terminal" func = "spawn" cmd = "urxvtc" [/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 = "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] # Limit size of the launcher window (px) width_limit = 300 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] [/launcher] [keys] # Reload the configuration of wmfs. [key] mod = {"Mod4", "Shift"} key = "r" func = "reload" [/key] # Open a terminal. [key] mod = {"Mod4", "Shift"} key = "Return" func = "spawn" cmd = "urxvtc" [/key] # Kill the selected client. [key] mod = {"Mod4", "Shift"} key = "c" func = "client_kill" [/key] # Quit wmfs. [key] mod = {"Mod4", "Shift"} key = "q" func = "quit" [/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 layouts [key] mod = {"Mod4"} key = "t" func = "set_layout" cmd = "tile_right" [/key] [key] mod = {"Mod4"} key = "s" func = "set_layout" cmd = "tile_bottom" [/key] [key] mod = {"Mod4"} key = "m" func = "set_layout" cmd = "max" [/key] [key] mod = {"Mod4"} key = "f" func = "set_layout" cmd = "free" [/key] # Toggle the position of the infobar. [key] mod = {"Mod4"} 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] # Select the next client. [key] mod = {"Mod4"} key = "j" func = "client_next" [/key] # Select the previous client. [key] mod = {"Mod4"} key = "k" func = "client_prev" [/key] # Select the next tag. [key] mod = {"Mod4"} key = "Right" func = "tag_next" [/key] # Select the previous tag. [key] mod = {"Mod4"} key = "Left" func = "tag_prev" [/key] # Select the next visible tag. [key] mod = {"Mod4","Shift"} key = "Right" func = "tag_next_visible" [/key] # Select the previous visible tag. [key] mod = {"Mod4","Shift"} key = "Left" func = "tag_prev_visible" [/key] # Set the next layout. [key] mod = {"Mod4"} key = "space" func = "layout_next" [/key] # Set the previous layout. [key] mod = {"Alt", "Shift"} key = "space" func = "layout_prev" [/key] # Increase mwfact. [key] mod = {"Mod4"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key] # Decrease mwfact. [key] mod = {"Mod4"} key = "h" func = "set_mwfact" cmd = "-0.025" [/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] #Launcher. [key] mod = {"0"} key = "Menu" func = "launcher" cmd = "launcher_exec" [/key] #ViWMFS [key] mod = {"Mod4"} key = "Menu" func = "launcher" cmd = "viwmfs" [/key] # Open [key] mod = {"Mod4", "Shift"} key = "Menu" func = "spawn" cmd = "dmenu_run -fn '-*-dina-medium-r-*-*-*-100-*-*-*-*-*-*' -nb '#1A1A1A' -nf '#696969' -sb '#1A1A1A' -sf '#D3D7Cf'" [/key] [key] mod = {"Control", "Alt"} key = "w" func = "spawn" cmd = "TID=`tabbed -d 2>/dev/null`; vimprobable2 -e $TID" [/key] [key] mod = {"Control", "Alt"} key = "t" func = "spawn" cmd = "urxvtc -name tmux -e tmux -f /home/jason/.tmux/conf" [/key] [key] mod = {"Control", "Alt"} key = "p" func = "spawn" cmd = "urxvtc -name scratchpad -geometry 64x10+480+34" [/key] [key] mod = {"Control", "Alt"} key = "n" func = "spawn" cmd = "urxvtc -name netspeed -geometry 30x2+764+14 -e $HOME/Scripts/netspeed.sh wlan0" [/key] [key] mod = {"Control", "Alt"} key = "m" func = "spawn" cmd = "urxvtc -name mutt -e mutt" [/key] [key] mod = {"Control", "Alt"} key = "l" func = "spawn" cmd = "slock" [/key] [key] mod = {"Control", "Alt"} key = "r" func = "exec" cmd = "sudo shutdown -r now" [/key] [key] mod = {"Control", "Alt"} key = "q" func = "exec" cmd = "sudo shutdown -h now" [/key] # Set the tag x. [key] mod = {"Mod4"} key = "1" func = "tag" cmd = "1" [/key] [key] mod = {"Mod4"} key = "2" func = "tag" cmd = "2" [/key] [key] mod = {"Mod4"} key = "3" func = "tag" cmd = "3" [/key] [key] mod = {"Mod4"} key = "4" func = "tag" cmd = "4" [/key] # Transfert selected client to x. [key] mod = {"Mod4", "Shift"} key = "1" func = "tag_transfert" cmd ="1" [/key] [key] mod = {"Mod4", "Shift"} key = "2" func = "tag_transfert" cmd ="2" [/key] [key] mod = {"Mod4", "Shift"} key = "3" func = "tag_transfert" cmd ="3" [/key] [key] mod = {"Mod4", "Shift"} key = "4" func = "tag_transfert" cmd ="4" [/key] # Toggle additional tags (x) on the current tag [key] mod = {"Mod4", "Control"} key = "1" func = "tag_toggle_additional" cmd ="1" [/key] [key] mod = {"Mod4", "Control"} key = "2" func = "tag_toggle_additional" cmd ="2" [/key] [key] mod = {"Mod4", "Control"} key = "3" func = "tag_toggle_additional" cmd ="3" [/key] [key] mod = {"Mod4", "Control"} key = "4" func = "tag_toggle_additional" cmd ="4" [/key] [/keys]