add settrans bindings and comment file

This commit is contained in:
Julien Danjou 2007-09-07 18:03:40 +02:00
parent 4eda98472a
commit 7b165923a8
1 changed files with 16 additions and 1 deletions

17
jdwmrc
View File

@ -2,12 +2,19 @@
jdwm: jdwm:
{ {
# Default bar position
barpos = "BarTop"; barpos = "BarTop";
# Window border size
borderpx = 1; borderpx = 1;
# Window snap pixels
snap = 8; snap = 8;
# Master window width factor (used by tile layouts)
mwfact = 0.6; mwfact = 0.6;
# Font
font = "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*"; font = "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*";
# Tags
tags = ( "1", "2", "3", "4", "5", "6", "7", "8", "9" ); tags = ( "1", "2", "3", "4", "5", "6", "7", "8", "9" );
# Colors
normal_border_color = "#dddddd"; normal_border_color = "#dddddd";
normal_bg_color = "#000000"; normal_bg_color = "#000000";
normal_fg_color = "#ffffff"; normal_fg_color = "#ffffff";
@ -15,6 +22,7 @@ jdwm:
focus_bg_color = "#008b8b"; focus_bg_color = "#008b8b";
focus_fg_color = "#ffffff"; focus_fg_color = "#ffffff";
# Available layouts
layouts = (("[]=", "tile"), layouts = (("[]=", "tile"),
("=[]", "tileleft"), ("=[]", "tileleft"),
("+++", "grid"), ("+++", "grid"),
@ -25,8 +33,11 @@ jdwm:
("===", "bstackportrait") ("===", "bstackportrait")
); );
# Number of master windows (used by tile layouts)
nmaster = 2; nmaster = 2;
# Set of rules to put some windows floating
# or to tag them on launch
rules = ({ name = "Gimp"; rules = ({ name = "Gimp";
tags = ""; tags = "";
float = true; float = true;
@ -48,8 +59,10 @@ jdwm:
float = true; float = true;
}); });
# modkey for mouse actions
modkey = "Mod4"; modkey = "Mod4";
# Keys binding
keys = ((("Mod4"), "Return", "spawn", "exec urxvt"), keys = ((("Mod4"), "Return", "spawn", "exec urxvt"),
(("Mod4"), "space", "setlayout"), (("Mod4"), "space", "setlayout"),
(("Mod4"), "b", "togglebar"), (("Mod4"), "b", "togglebar"),
@ -57,10 +70,12 @@ jdwm:
(("Mod4"), "k", "focusprev"), (("Mod4"), "k", "focusprev"),
(("Mod4"), "h", "setmwfact", "-0.05"), (("Mod4"), "h", "setmwfact", "-0.05"),
(("Mod4"), "l", "setmwfact", "+0.05"), (("Mod4"), "l", "setmwfact", "+0.05"),
(("Mod4"), "Escape", "viewprevtags"),
(("Mod4", "Shift"), "h", "incnmaster", "1"), (("Mod4", "Shift"), "h", "incnmaster", "1"),
(("Mod4", "Shift"), "l", "incnmaster", "-1"), (("Mod4", "Shift"), "l", "incnmaster", "-1"),
(("Mod4"), "m", "togglemax"), (("Mod4"), "m", "togglemax"),
(("Mod4"), "Escape", "viewprevtags"), (("Mod4"), "t", "settrans", "-5"),
(("Mod4", "Shift"), "t", "settrans", "+5"),
(("Mod4", "Control"), "Return", "zoom"), (("Mod4", "Control"), "Return", "zoom"),
(("Mod4", "Control"), "space", "togglefloating"), (("Mod4", "Control"), "space", "togglefloating"),
(("Mod4", "Shift"), "c", "killclient"), (("Mod4", "Shift"), "c", "killclient"),