add comments to awesomerc
This commit is contained in:
parent
ac188235ed
commit
ae93ae7780
33
awesomerc
33
awesomerc
|
@ -1,38 +1,58 @@
|
||||||
# Configuration file for awesome
|
# Configuration file for awesome
|
||||||
|
|
||||||
|
# First physical screen
|
||||||
screen 0
|
screen 0
|
||||||
{
|
{
|
||||||
general
|
general
|
||||||
{
|
{
|
||||||
|
# Windows border size in pixel
|
||||||
border = 1
|
border = 1
|
||||||
|
# Pixels number before collapsing window border and screen border
|
||||||
snap = 8
|
snap = 8
|
||||||
|
# Respect windows minimal geometry
|
||||||
resize_hints = true
|
resize_hints = true
|
||||||
|
# Opacity for unfocused windows (with xcompmgr)
|
||||||
opacity_unfocused = 100
|
opacity_unfocused = 100
|
||||||
|
# Should focus switching move pointer
|
||||||
focus_move_pointer = false
|
focus_move_pointer = false
|
||||||
|
# Allow floating windows to be below others
|
||||||
allow_lower_floats = false
|
allow_lower_floats = false
|
||||||
|
# Status bar font (Xft)
|
||||||
font = "fixed-12"
|
font = "fixed-12"
|
||||||
}
|
}
|
||||||
colors
|
colors
|
||||||
{
|
{
|
||||||
|
# Normal border color
|
||||||
normal_border = "#111111"
|
normal_border = "#111111"
|
||||||
|
# Normal background color (statusbar)
|
||||||
normal_bg = "#111111"
|
normal_bg = "#111111"
|
||||||
|
# Normal foreground color (statusbar)
|
||||||
normal_fg = "#eeeeee"
|
normal_fg = "#eeeeee"
|
||||||
|
# Focused border color
|
||||||
focus_border = "#6666ff"
|
focus_border = "#6666ff"
|
||||||
|
# Focused background color (statusbar)
|
||||||
focus_bg = "#6666ff"
|
focus_bg = "#6666ff"
|
||||||
|
# Focused foreground color (statusbar)
|
||||||
focus_fg = "#ffffff"
|
focus_fg = "#ffffff"
|
||||||
}
|
}
|
||||||
statusbar
|
statusbar
|
||||||
{
|
{
|
||||||
|
# Statusbar position
|
||||||
|
# top, bottom, left, right, off
|
||||||
position = "top"
|
position = "top"
|
||||||
}
|
}
|
||||||
tags
|
tags
|
||||||
{
|
{
|
||||||
|
# Tag name
|
||||||
tag 1
|
tag 1
|
||||||
{
|
{
|
||||||
|
# Tag default layout
|
||||||
|
# tile, tileleft, max, floating
|
||||||
layout = "tile"
|
layout = "tile"
|
||||||
}
|
}
|
||||||
tag 2
|
tag 2
|
||||||
{
|
{
|
||||||
|
# Number of master windows on this tag
|
||||||
nmaster = 2
|
nmaster = 2
|
||||||
layout = "tile"
|
layout = "tile"
|
||||||
}
|
}
|
||||||
|
@ -59,6 +79,8 @@ screen 0
|
||||||
}
|
}
|
||||||
tag 8
|
tag 8
|
||||||
{
|
{
|
||||||
|
# Master width factor
|
||||||
|
# 0 < mwfact < 1
|
||||||
mwfact = 0.3
|
mwfact = 0.3
|
||||||
layout = "tile"
|
layout = "tile"
|
||||||
}
|
}
|
||||||
|
@ -69,8 +91,10 @@ screen 0
|
||||||
}
|
}
|
||||||
layouts
|
layouts
|
||||||
{
|
{
|
||||||
|
# Available layout
|
||||||
layout tile
|
layout tile
|
||||||
{
|
{
|
||||||
|
# Symbol drawn in statusbar for this layout
|
||||||
symbol = "[]="
|
symbol = "[]="
|
||||||
}
|
}
|
||||||
layout tileleft
|
layout tileleft
|
||||||
|
@ -92,9 +116,13 @@ rules
|
||||||
{
|
{
|
||||||
rule
|
rule
|
||||||
{
|
{
|
||||||
|
# Programe name (regexp)
|
||||||
name = "Gimp"
|
name = "Gimp"
|
||||||
|
# Program tags (regexp)
|
||||||
tags = "9"
|
tags = "9"
|
||||||
|
# Should we set this program to floating mode?
|
||||||
float = true
|
float = true
|
||||||
|
# Physical screen to map this windows to
|
||||||
screen = 0
|
screen = 0
|
||||||
}
|
}
|
||||||
rule
|
rule
|
||||||
|
@ -114,6 +142,7 @@ rules
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Mouse buttons bindings
|
||||||
mouse
|
mouse
|
||||||
{
|
{
|
||||||
# For click on tag
|
# For click on tag
|
||||||
|
@ -149,6 +178,7 @@ mouse
|
||||||
button = "5"
|
button = "5"
|
||||||
command = "tag_viewprev"
|
command = "tag_viewprev"
|
||||||
}
|
}
|
||||||
|
# For click on layout symbol
|
||||||
layout
|
layout
|
||||||
{
|
{
|
||||||
button = "1"
|
button = "1"
|
||||||
|
@ -173,6 +203,7 @@ mouse
|
||||||
command = "tag_setlayout"
|
command = "tag_setlayout"
|
||||||
arg = "-1"
|
arg = "-1"
|
||||||
}
|
}
|
||||||
|
# For click on root window
|
||||||
root
|
root
|
||||||
{
|
{
|
||||||
button = "3"
|
button = "3"
|
||||||
|
@ -189,6 +220,7 @@ mouse
|
||||||
button = "5"
|
button = "5"
|
||||||
command = "tag_viewprev"
|
command = "tag_viewprev"
|
||||||
}
|
}
|
||||||
|
# For click on client windows
|
||||||
client
|
client
|
||||||
{
|
{
|
||||||
modkey = {"Mod4"}
|
modkey = {"Mod4"}
|
||||||
|
@ -209,6 +241,7 @@ mouse
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Keys bindings
|
||||||
keys
|
keys
|
||||||
{
|
{
|
||||||
key
|
key
|
||||||
|
|
Loading…
Reference in New Issue