awesome/awesomerc

691 lines
12 KiB
Plaintext
Raw Normal View History

2007-09-10 12:06:54 +02:00
# Configuration file for awesome
2007-09-05 20:15:00 +02:00
2007-11-21 12:50:23 +01:00
# First physical screen
screen 0
{
general
{
2007-11-21 12:50:23 +01:00
# Windows border size in pixel
border = 1
2007-11-21 12:50:23 +01:00
# Pixels number before collapsing window border and screen border
snap = 8
2007-11-21 12:50:23 +01:00
# Respect windows minimal geometry
resize_hints = true
2007-11-21 12:50:23 +01:00
# Opacity for unfocused windows (with xcompmgr)
opacity_unfocused = 100
2007-11-21 12:50:23 +01:00
# Should focus switching move pointer
focus_move_pointer = false
2007-11-21 12:50:23 +01:00
# Allow floating windows to be below others
allow_lower_floats = false
2007-11-21 12:50:23 +01:00
# Status bar font (Xft)
font = "fixed-12"
}
2007-11-11 11:58:58 +01:00
colors
{
2007-11-21 12:50:23 +01:00
# Normal border color
2007-11-11 11:58:58 +01:00
normal_border = "#111111"
2007-11-21 12:50:23 +01:00
# Normal background color (statusbar)
2007-11-11 11:58:58 +01:00
normal_bg = "#111111"
2007-11-21 12:50:23 +01:00
# Normal foreground color (statusbar)
2007-11-11 11:58:58 +01:00
normal_fg = "#eeeeee"
2007-11-21 12:50:23 +01:00
# Focused border color
2007-11-11 11:58:58 +01:00
focus_border = "#6666ff"
2007-11-21 12:50:23 +01:00
# Focused background color (statusbar)
2007-11-11 11:58:58 +01:00
focus_bg = "#6666ff"
2007-11-21 12:50:23 +01:00
# Focused foreground color (statusbar)
2007-11-11 11:58:58 +01:00
focus_fg = "#ffffff"
}
2007-11-27 23:03:55 +01:00
# Optionnal screen padding
#padding
#{
# left = 10
# right = 0
# top = 0
# bottom = 10
#}
statusbar
{
2007-11-21 12:50:23 +01:00
# Statusbar position
# top, bottom, left, right, off
position = "top"
}
2007-11-11 11:36:30 +01:00
tags
{
2007-11-21 12:50:23 +01:00
# Tag name
2007-11-26 17:07:30 +01:00
tag one
2007-11-11 11:36:30 +01:00
{
2007-11-21 12:50:23 +01:00
# Tag default layout
# tile, tileleft, max, floating
2007-11-11 11:36:30 +01:00
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag two
2007-11-11 11:36:30 +01:00
{
2007-11-21 12:50:23 +01:00
# Number of master windows on this tag
2007-11-11 11:53:10 +01:00
nmaster = 2
2007-11-11 11:36:30 +01:00
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag three
2007-11-11 11:36:30 +01:00
{
2007-11-11 11:55:20 +01:00
ncol = 2
2007-11-11 11:36:30 +01:00
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag four
2007-11-11 11:36:30 +01:00
{
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag five
2007-11-11 11:36:30 +01:00
{
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag six
2007-11-11 11:36:30 +01:00
{
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag seven
2007-11-11 11:36:30 +01:00
{
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag eight
2007-11-11 11:36:30 +01:00
{
2007-11-21 12:50:23 +01:00
# Master width factor
# 0 < mwfact < 1
2007-11-11 11:48:26 +01:00
mwfact = 0.3
2007-11-11 11:36:30 +01:00
layout = "tile"
}
2007-11-26 17:07:30 +01:00
tag nine
2007-11-11 11:36:30 +01:00
{
layout = "floating"
}
}
layouts
{
2007-11-21 12:50:23 +01:00
# Available layout
layout tile
{
2007-11-21 12:50:23 +01:00
# Symbol drawn in statusbar for this layout
symbol = "[]="
}
layout tileleft
{
symbol = "=[]"
}
layout max
{
symbol = "[ ]"
}
layout floating
{
symbol = "><>"
}
}
}
rules
{
rule
{
2007-11-21 12:50:23 +01:00
# Programe name (regexp)
2007-10-15 12:26:36 +02:00
name = "Gimp"
2007-11-21 12:50:23 +01:00
# Program tags (regexp)
2007-11-26 17:07:30 +01:00
tags = "nine"
2007-11-21 12:50:23 +01:00
# Should we set this program to floating mode?
2007-10-15 12:26:36 +02:00
float = true
2007-11-21 12:50:23 +01:00
# Physical screen to map this windows to
2007-11-12 18:21:03 +01:00
screen = 0
}
rule
{
2007-10-15 12:26:36 +02:00
name = "MPlayer"
float = true
}
rule
{
2007-10-15 12:26:36 +02:00
name = "Acroread"
float = true
}
rule
{
2007-10-15 12:26:36 +02:00
name = "pinentry"
float = true
}
}
2007-09-05 20:15:00 +02:00
2007-11-21 12:50:23 +01:00
# Mouse buttons bindings
2007-11-11 13:17:23 +01:00
mouse
{
# For click on tag
tag
{
button = "1"
2007-11-14 18:05:05 +01:00
command = "tag_view"
}
tag
{
button = "1"
modkey = {"Mod4"}
2007-11-14 18:28:18 +01:00
command = "client_tag"
}
tag
{
button = "3"
command = "tag_toggleview"
}
tag
{
button = "3"
modkey = {"Mod4"}
command = "client_toggletag"
}
tag
{
button = "4"
command = "tag_viewnext"
}
tag
{
button = "5"
command = "tag_viewprev"
}
2007-11-21 12:50:23 +01:00
# For click on layout symbol
2007-11-14 18:20:44 +01:00
layout
{
button = "1"
command = "tag_setlayout"
arg = "+1"
}
layout
{
button = "4"
command = "tag_setlayout"
arg = "+1"
}
layout
{
button = "3"
command = "tag_setlayout"
arg = "-1"
}
layout
{
button = "5"
command = "tag_setlayout"
arg = "-1"
}
2007-11-21 12:50:23 +01:00
# For click on root window
root
{
button = "3"
command = "spawn"
arg = "exec urxvt"
}
root
{
button = "4"
command = "tag_viewnext"
}
root
{
button = "5"
command = "tag_viewprev"
}
2007-11-21 12:50:23 +01:00
# For click on client windows
client
{
modkey = {"Mod4"}
button = "1"
command = "client_movemouse"
}
client
{
modkey = {"Mod4"}
button = "2"
2007-11-14 18:28:18 +01:00
command = "client_zoom"
}
client
{
modkey = {"Mod4"}
button = "3"
command = "client_resizemouse"
}
2007-11-11 13:17:23 +01:00
}
2007-11-21 12:50:23 +01:00
# Keys bindings
2007-11-11 13:17:23 +01:00
keys
{
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4"}
key = "Return"
command = "spawn"
arg = "exec xterm"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4"}
key = "space"
2007-11-14 18:19:00 +01:00
command = "tag_setlayout"
2007-10-15 12:26:36 +02:00
arg = "+1"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4", "Shift"}
key = "space"
2007-11-14 18:19:00 +01:00
command = "tag_setlayout"
2007-10-15 12:26:36 +02:00
arg = "-1"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4"}
key = "b"
command = "togglebar"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4"}
key = "j"
2007-11-14 18:10:51 +01:00
command = "client_focusnext"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4"}
key = "k"
2007-11-14 18:10:51 +01:00
command = "client_focusprev"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4", "Shift"}
key = "j"
command = "client_swapnext"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4", "Shift"}
key = "k"
command = "client_swapprev"
}
key
{
2007-10-15 12:26:36 +02:00
modkey = {"Mod4", "Control"}
key = "j"
2007-11-14 18:16:43 +01:00
command = "screen_focusnext"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Control"}
key = "k"
2007-11-14 18:16:43 +01:00
command = "screen_focusprev"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4"}
key = "h"
command = "tag_setmwfact"
2007-10-15 12:26:36 +02:00
arg = "-0.05"
}
key
{
modkey = {"Mod4"}
key = "l"
command = "tag_setmwfact"
2007-10-15 12:26:36 +02:00
arg = "+0.05"
}
key
{
modkey = {"Mod4", "Shift"}
key = "h"
command = "tag_setnmaster"
2007-10-15 12:26:36 +02:00
arg = "+1"
}
key
{
modkey = {"Mod4", "Shift"}
key = "l"
command = "tag_setnmaster"
2007-10-15 12:26:36 +02:00
arg = "-1"
}
key
{
modkey = {"Mod4", "Control"}
key = "h"
command = "tag_setncol"
2007-10-15 12:26:36 +02:00
arg = "+1"
}
key
{
modkey = {"Mod4", "Control"}
key = "l"
command = "tag_setncol"
2007-10-15 12:26:36 +02:00
arg = "-1"
}
key
{
modkey = {"Mod4"}
key = "Escape"
command = "tag_viewprev_selected"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4"}
key = "Left"
command = "tag_viewprev"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4"}
key = "Right"
command = "tag_viewnext"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4"}
key = "m"
2007-11-14 18:10:51 +01:00
command = "client_togglemax"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Control"}
key = "Return"
2007-11-14 18:28:18 +01:00
command = "client_zoom"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Control"}
key = "space"
command = "client_togglefloating"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Shift"}
key = "c"
command = "client_kill"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Shift"}
key = "q"
command = "quit"
}
key
2007-10-31 11:46:09 +01:00
{
modkey = {"Mod4", "Control"}
key = "r"
command = "reloadconfig"
}
key
2007-10-15 12:26:36 +02:00
{
modkey = {"Mod4"}
key = "0"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4"}
key = "1"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "1"
}
key
{
modkey = {"Mod4"}
key = "2"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "2"
}
key
{
modkey = {"Mod4"}
key = "3"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "3"
}
key
{
modkey = {"Mod4"}
key = "4"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "4"
}
key
{
modkey = {"Mod4"}
key = "5"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "5"
}
key
{
modkey = {"Mod4"}
key = "6"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "6"
}
key
{
modkey = {"Mod4"}
key = "7"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "7"
}
key
{
modkey = {"Mod4"}
key = "8"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "8"
}
key
{
modkey = {"Mod4"}
key = "9"
2007-11-14 18:05:05 +01:00
command = "tag_view"
2007-10-15 12:26:36 +02:00
arg = "9"
}
key
{
modkey = {"Mod4", "Control"}
key = "0"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Control"}
key = "1"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "1"
}
key
{
modkey = {"Mod4", "Control"}
key = "2"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "2"
}
key
{
modkey = {"Mod4", "Control"}
key = "3"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "3"
}
key
{
modkey = {"Mod4", "Control"}
key = "4"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "4"
}
key
{
modkey = {"Mod4", "Control"}
key = "5"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "5"
}
key
{
modkey = {"Mod4", "Control"}
key = "6"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "6"
}
key
{
modkey = {"Mod4", "Control"}
key = "7"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "7"
}
key
{
modkey = {"Mod4", "Control"}
key = "8"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "8"
}
key
{
modkey = {"Mod4", "Control"}
key = "9"
command = "tag_toggleview"
2007-10-15 12:26:36 +02:00
arg = "9"
}
key
{
modkey = {"Mod4", "Shift"}
key = "0"
2007-11-14 18:28:18 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Shift"}
key = "1"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "1"
}
key
{
modkey = {"Mod4", "Shift"}
key = "2"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "2"
}
key
{
modkey = {"Mod4", "Shift"}
key = "3"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "3"
}
key
{
modkey = {"Mod4", "Shift"}
key = "4"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "4"
}
key
{
modkey = {"Mod4", "Shift"}
key = "5"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "5"
}
key
{
modkey = {"Mod4", "Shift"}
key = "6"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "6"
}
key
{
modkey = {"Mod4", "Shift"}
key = "7"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "7"
}
key
{
modkey = {"Mod4", "Shift"}
key = "8"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "8"
}
key
{
modkey = {"Mod4", "Shift"}
key = "9"
2007-11-14 17:56:16 +01:00
command = "client_tag"
2007-10-15 12:26:36 +02:00
arg = "9"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "0"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "1"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "1"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "2"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "2"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "3"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "3"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "4"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "4"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "5"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "5"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "6"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "6"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "7"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "7"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "8"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "8"
}
key
{
modkey = {"Mod4", "Shift", "Control"}
key = "9"
command = "client_toggletag"
2007-10-15 12:26:36 +02:00
arg = "9"
}
}