X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.default.h;h=dab8cc7d2f0aedf1efa99e1c90bd9f913abf1580;hb=36672d0401299a5230b516ca4575365d9f45dd35;hp=878e0a45fa45faa53ba8deb345cd2ff2fe65b005;hpb=10bc0ce912eb99fec49d954c80d92e04429ed0ee;p=dwm.git diff --git a/config.default.h b/config.default.h index 878e0a4..dab8cc7 100644 --- a/config.default.h +++ b/config.default.h @@ -17,7 +17,7 @@ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; /* Query class:instance:title for regex matching info with following command: * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */ #define RULES \ -static Rule rule[] = { \ +static Rule rules[] = { \ /* class:instance:title regex tags regex isfloating */ \ { "Gimp", NULL, True }, \ { "MPlayer", NULL, True }, \ @@ -27,7 +27,7 @@ static Rule rule[] = { \ /* layout(s) */ #include "tile.h" #define LAYOUTS \ -static Layout layout[] = { \ +static Layout layouts[] = { \ /* symbol function */ \ { "[]=", tile }, /* first entry is default */ \ { "><>", floating }, \ @@ -38,7 +38,7 @@ static Layout layout[] = { \ /* key definitions */ #define MODKEY Mod1Mask #define KEYS \ -Key key[] = { \ +Key keys[] = { \ /* modifier key function argument */ \ { MODKEY|ShiftMask, XK_Return, spawn, "exec xterm" }, \ { MODKEY, XK_p, spawn, "exe=`dmenu_path | dmenu` && exec $exe" }, \ @@ -46,8 +46,8 @@ Key key[] = { \ { MODKEY, XK_b, togglebar, NULL }, \ { MODKEY, XK_j, focusnext, NULL }, \ { MODKEY, XK_k, focusprev, NULL }, \ - { MODKEY, XK_h, addtomwfact, "-0.05" }, \ - { MODKEY, XK_l, addtomwfact, "0.05" }, \ + { MODKEY, XK_h, setmwfact, "-0.05" }, \ + { MODKEY, XK_l, setmwfact, "+0.05" }, \ { MODKEY, XK_m, togglemax, NULL }, \ { MODKEY, XK_Return, zoom, NULL }, \ { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \