2007-09-10 12:06:54 +02:00
|
|
|
# Configuration file for awesome
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-10 12:06:54 +02:00
|
|
|
awesome:
|
2007-09-05 20:15:00 +02:00
|
|
|
{
|
2007-09-15 15:00:42 +02:00
|
|
|
# Default bar position: top, bottom, off
|
|
|
|
barpos = "top";
|
2007-09-07 18:03:40 +02:00
|
|
|
# Window border size
|
2007-09-05 20:15:00 +02:00
|
|
|
borderpx = 1;
|
2007-09-07 18:03:40 +02:00
|
|
|
# Window snap pixels
|
2007-09-05 20:15:00 +02:00
|
|
|
snap = 8;
|
2007-09-07 18:03:40 +02:00
|
|
|
# Master window width factor (used by tile layouts)
|
2007-09-05 20:15:00 +02:00
|
|
|
mwfact = 0.6;
|
2007-09-07 18:03:40 +02:00
|
|
|
# Font
|
2007-10-01 19:22:57 +02:00
|
|
|
font = "fixed-12";
|
2007-09-07 18:03:40 +02:00
|
|
|
# Tags
|
2007-09-05 20:15:00 +02:00
|
|
|
tags = ( "1", "2", "3", "4", "5", "6", "7", "8", "9" );
|
2007-09-07 18:03:40 +02:00
|
|
|
# Colors
|
2007-10-02 17:15:08 +02:00
|
|
|
normal_border_color = "#111111";
|
|
|
|
normal_bg_color = "#111111";
|
|
|
|
normal_fg_color = "#eeeeee";
|
|
|
|
focus_border_color = "#6666ff";
|
|
|
|
focus_bg_color = "#6666ff";
|
2007-09-05 20:15:00 +02:00
|
|
|
focus_fg_color = "#ffffff";
|
2007-09-15 13:04:36 +02:00
|
|
|
opacity_unfocused = 100;
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-07 18:03:40 +02:00
|
|
|
# Available layouts
|
2007-09-18 23:39:49 +02:00
|
|
|
layouts = (
|
|
|
|
("[]=", "tile"),
|
2007-09-18 22:58:53 +02:00
|
|
|
("=[]", "tileleft"),
|
2007-09-21 00:30:32 +02:00
|
|
|
("[ ]", "max"),
|
2007-09-18 22:58:53 +02:00
|
|
|
("><>", "floating")
|
|
|
|
);
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-07 18:03:40 +02:00
|
|
|
# Number of master windows (used by tile layouts)
|
2007-09-05 20:15:00 +02:00
|
|
|
nmaster = 2;
|
2007-09-15 13:04:36 +02:00
|
|
|
ncols = 1;
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-10 12:01:36 +02:00
|
|
|
# Resize hints
|
|
|
|
resize_hints = true;
|
|
|
|
|
2007-10-08 14:25:36 +02:00
|
|
|
# Move pointer to the center of the focused window
|
|
|
|
focus_move_pointer = false;
|
|
|
|
|
2007-09-07 18:03:40 +02:00
|
|
|
# Set of rules to put some windows floating
|
|
|
|
# or to tag them on launch
|
2007-09-05 20:15:00 +02:00
|
|
|
rules = ({ name = "Gimp";
|
|
|
|
tags = "";
|
|
|
|
float = true;
|
|
|
|
},
|
|
|
|
{ name = "MPlayer";
|
|
|
|
tags = "";
|
|
|
|
float = true;
|
|
|
|
},
|
|
|
|
{ name = "Acroread";
|
|
|
|
tags = "";
|
|
|
|
float = true;
|
|
|
|
},
|
|
|
|
{ name = "VLC";
|
|
|
|
tags = "";
|
|
|
|
float = true;
|
|
|
|
},
|
|
|
|
{ name = "pinentry";
|
|
|
|
tags = "";
|
|
|
|
float = true;
|
|
|
|
});
|
2007-10-03 17:26:14 +02:00
|
|
|
|
2007-09-07 18:03:40 +02:00
|
|
|
# modkey for mouse actions
|
2007-09-05 20:15:00 +02:00
|
|
|
modkey = "Mod4";
|
|
|
|
|
2007-09-07 18:03:40 +02:00
|
|
|
# Keys binding
|
2007-10-01 12:50:43 +02:00
|
|
|
keys = ((("Mod4"), "Return", "spawn", "exec xterm"),
|
2007-10-02 14:28:39 +02:00
|
|
|
(("Mod4"), "space", "setlayout", "+1"),
|
|
|
|
(("Mod4", "Shift"), "space", "setlayout", "-1"),
|
2007-09-05 20:15:00 +02:00
|
|
|
(("Mod4"), "b", "togglebar"),
|
|
|
|
(("Mod4"), "j", "focusnext"),
|
|
|
|
(("Mod4"), "k", "focusprev"),
|
2007-09-25 12:41:36 +02:00
|
|
|
(("Mod4", "Shift"), "j", "swapnext"),
|
|
|
|
(("Mod4", "Shift"), "k", "swapprev"),
|
2007-09-24 14:21:49 +02:00
|
|
|
(("Mod4", "Control"), "j", "focusnextscreen"),
|
|
|
|
(("Mod4", "Control"), "k", "focusprevscreen"),
|
2007-09-05 20:15:00 +02:00
|
|
|
(("Mod4"), "h", "setmwfact", "-0.05"),
|
|
|
|
(("Mod4"), "l", "setmwfact", "+0.05"),
|
2007-09-19 14:09:08 +02:00
|
|
|
(("Mod4"), "p", "setborder", "+1"),
|
|
|
|
(("Mod4", "Shift"), "p", "setborder", "-1"),
|
2007-09-15 13:04:36 +02:00
|
|
|
(("Mod4", "Shift"), "h", "setnmaster", "+1"),
|
|
|
|
(("Mod4", "Shift"), "l", "setnmaster", "-1"),
|
|
|
|
(("Mod4", "Control"), "h", "setncols", "+1"),
|
|
|
|
(("Mod4", "Control"), "l", "setncols", "-1"),
|
2007-09-20 22:24:52 +02:00
|
|
|
(("Mod4"), "Escape", "view_tag_prev_selected"),
|
|
|
|
(("Mod4", "Control"), "Left", "view_tag_previous"),
|
|
|
|
(("Mod4", "Control"), "Right", "view_tag_next"),
|
2007-09-05 20:15:00 +02:00
|
|
|
(("Mod4"), "m", "togglemax"),
|
2007-09-07 18:03:40 +02:00
|
|
|
(("Mod4"), "t", "settrans", "-5"),
|
|
|
|
(("Mod4", "Shift"), "t", "settrans", "+5"),
|
2007-09-05 20:15:00 +02:00
|
|
|
(("Mod4", "Control"), "Return", "zoom"),
|
|
|
|
(("Mod4", "Control"), "space", "togglefloating"),
|
|
|
|
(("Mod4", "Shift"), "c", "killclient"),
|
|
|
|
(("Mod4", "Shift"), "q", "quit"),
|
|
|
|
(("Mod4"), "0", "view"),
|
|
|
|
(("Mod4"), "1", "view", "1"),
|
|
|
|
(("Mod4"), "2", "view", "2"),
|
|
|
|
(("Mod4"), "3", "view", "3"),
|
|
|
|
(("Mod4"), "4", "view", "4"),
|
|
|
|
(("Mod4"), "5", "view", "5"),
|
|
|
|
(("Mod4"), "6", "view", "6"),
|
|
|
|
(("Mod4"), "7", "view", "7"),
|
|
|
|
(("Mod4"), "8", "view", "8"),
|
|
|
|
(("Mod4"), "9", "view", "9"),
|
|
|
|
(("Mod4", "Control"), "0", "toggleview"),
|
|
|
|
(("Mod4", "Control"), "1", "toggleview", "1"),
|
|
|
|
(("Mod4", "Control"), "2", "toggleview", "2"),
|
|
|
|
(("Mod4", "Control"), "3", "toggleview", "3"),
|
|
|
|
(("Mod4", "Control"), "4", "toggleview", "4"),
|
|
|
|
(("Mod4", "Control"), "5", "toggleview", "5"),
|
|
|
|
(("Mod4", "Control"), "6", "toggleview", "6"),
|
|
|
|
(("Mod4", "Control"), "7", "toggleview", "7"),
|
|
|
|
(("Mod4", "Control"), "8", "toggleview", "8"),
|
|
|
|
(("Mod4", "Control"), "9", "toggleview", "9"),
|
|
|
|
(("Mod4", "Shift"), "0", "tag"),
|
|
|
|
(("Mod4", "Shift"), "1", "tag", "1"),
|
|
|
|
(("Mod4", "Shift"), "2", "tag", "2"),
|
|
|
|
(("Mod4", "Shift"), "3", "tag", "3"),
|
|
|
|
(("Mod4", "Shift"), "4", "tag", "4"),
|
|
|
|
(("Mod4", "Shift"), "5", "tag", "5"),
|
|
|
|
(("Mod4", "Shift"), "6", "tag", "6"),
|
|
|
|
(("Mod4", "Shift"), "7", "tag", "7"),
|
|
|
|
(("Mod4", "Shift"), "8", "tag", "8"),
|
|
|
|
(("Mod4", "Shift"), "9", "tag", "9"),
|
|
|
|
(("Mod4", "Shift", "Control"), "0", "toggletag"),
|
|
|
|
(("Mod4", "Shift", "Control"), "1", "toggletag", "1"),
|
|
|
|
(("Mod4", "Shift", "Control"), "2", "toggletag", "2"),
|
|
|
|
(("Mod4", "Shift", "Control"), "3", "toggletag", "3"),
|
|
|
|
(("Mod4", "Shift", "Control"), "4", "toggletag", "4"),
|
|
|
|
(("Mod4", "Shift", "Control"), "5", "toggletag", "5"),
|
|
|
|
(("Mod4", "Shift", "Control"), "6", "toggletag", "6"),
|
|
|
|
(("Mod4", "Shift", "Control"), "7", "toggletag", "7"),
|
|
|
|
(("Mod4", "Shift", "Control"), "8", "toggletag", "8"),
|
|
|
|
(("Mod4", "Shift", "Control"), "9", "toggletag", "9")
|
|
|
|
);
|
|
|
|
};
|