JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
renamed seltag into seltags
[dwm.git] / config.default.h
index 878e0a4..dab8cc7 100644 (file)
@@ -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 }, \