发下awesome2及conky/xterm/vimrc等配置文件
发表于 : 2010-01-17 15:57
从8.04源安装的awesome2.0,其配置文件为:
代码: 全选
# Configuration file for awesome
# modify by bob 2010-1-6
# First physical screen
screen 0
{
general
{
# Windows border size in pixel
border = 1
# Pixels number before collapsing window border and screen border
snap = 3
# Respect windows minimal geometry
resize_hints = true
# Opacity for unfocused windows (with xcompmgr)
opacity_unfocused = 85
# Should focus switching move pointer
focus_move_pointer = false
# Allow floating windows to be below others
allow_lower_floats = false
# Status bar font (Xft)
# font = "fixed-12"
# font = "-adobe-helvetica-medium-r-normal--*-98-*-*-*-*-*-*"
# font = "-misc-fixed-medium-r-normal-*-18-120-100-100-c-90-iso10646-1"
# font = "georgia-12"
font = "wenquanyi zen hei -12"
}
colors
{
# Normal border color:#111111
normal_border = "#191919"
# Normal background color (statusbar):#111111
normal_bg = "#121212"
# Normal foreground color (statusbar):#eeeeee
normal_fg = "#eeeeee"
# Focused border color:#6666ff
focus_border = "gray70"
# Focused background color (statusbar):#6666ff
focus_bg = "#111111"
# Focused foreground color (statusbar):#ffffff
focus_fg = "blue"
}
# Optionnal screen padding
#padding
#{
# left = 10
# right = 0
# top = 0
# bottom = 10
#}
# Statusbar position = top, bottom, left, right, off
statusbar { position = "top" }
tags
{
# Tag name
# Tag default layout = tile, tileleft, max, floating
# Number of master windows on this tag:nmaster = 2
# ncol = 2;
# Master width factor,0 < mwfact < 1
#
tag 1:Main { layout = "tile" }
tag 2:Web { mwfact = 0.6 layout = "tile" }
tag 3:Va { layout = "floating" }
}
layouts
{
# Available layout.Symbol drawn in statusbar for this layout
layout tile { symbol = "Tile" }
layout tileleft { symbol = "tileleft" }
layout max { symbol = "Max" }
layout floating { symbol = "float" }
}
}
rules
{
rule
{
# Programe name (regexp)
name = "mc"
# Program tags (regexp)
tags = "3:Va"
# Should we set this program to floating mode?
float = true
# Physical screen to map this windows to
screen = 0
}
}
# Mouse buttons bindings
mouse
{
# For click on tag,command = tag_viewnext,tag_viewprev,tag_view,client_tag,client_toggletag
tag { button = "1" command = "tag_view" }
tag { button = "1" modkey = {"Mod4"} command = "client_tag" }
tag { button = "3" modkey = {"Mod4"} command = "client_toggletag" }
# For click on layout symbol
layout { button = "1" command = "tag_setlayout" arg = "+1" }
# For click on root window
root { button = "3" command = "spawn" arg = "exec xterm" }
# For click on client windows
client { modkey = {"Mod4"} button = "1" command = "client_movemouse" }
client { modkey = {"Mod4"} button = "2" command = "client_zoom" }
client { modkey = {"Mod4"} button = "3" command = "client_resizemouse" }
}
# Keys bindings
# Mod4=>Menu is good work, then Mod4=>Super_L
keys
{
# key { modkey = {"Mod4", "Shift"} key = "c" command = "client_kill" }
key { modkey = {"Mod4"} key = "Return" command = "spawn" arg = "exec xterm" }
key { modkey = {"Mod1"} key = "F4" command = "client_kill" }
key { modkey = {"Mod1"} key = "F1" command = "togglebar" }
key { modkey = {"Mod4"} key = "o" command = "spawn" arg = "exec opera" }
key { modkey = {"Mod4"} key = "p" command = "spawn" arg = "exec pcmanfm"}
key { modkey = {"Mod1"} key = "m" command = "spawn" arg = "exec xterm -geometry 110*45 -e mc"}
key { modkey = {"Mod4"} key = "q" command = "quit" }
key { modkey = {"Mod4"} key = "j" command = "client_focusnext" }
key { modkey = {"Mod4"} key = "k" command = "client_swapnext" }
key { modkey = {"Mod4"} key = "Left" command = "tag_viewprev" }
key { modkey = {"Mod4"} key = "Right" command = "tag_viewnext" }
key { modkey = {"Mod4"} key = "Up" command = "client_focusprev" }
key { modkey = {"Mod4"} key = "Down" command = "client_focusnext" }
key { modkey = {"Mod4"} key = "m" command = "client_togglemax" }
# key { modkey = {"Mod4"} key = "Return" command = "client_zoom" }
key { modkey = {"Mod4", "Control"} key = "r" command = "reloadconfig" }
# the follow lines is same, only key=0-9,arg=1-9
# key { modkey = {"Mod4"} key = "0" command = "tag_view" }
# key { modkey = {"Mod4"} key = "1" command = "tag_view" arg = "1" }
# the follow lines is same ,only key=0-9 ,arg=1-9
# key { modkey = {"Mod4", "Control"} key = "0" command = "tag_toggleview" }
# the follow lines is same,only key=0-9,arg=1-9
# key { modkey = {"Mod4", "Shift"} key = "0" command = "client_tag" }
# key { modkey = {"Mod4", "Shift"} key = "1" command = "client_tag" arg = "1" }
# the follow lines is same,only key=0-9,arg=1-9
# key { modkey = {"Mod4", "Shift", "Control"} key = "1" command = "client_toggletag" arg = "1" }
}