X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=config.default.h;h=85cc1353af28f64a35572ea073bbb660dfa1e392;hb=35e96b8deba8aae863cef32f2ea2a84ebf162472;hp=dd402be6748a606eeed0a5c7510ac8725338e91a;hpb=6651dd7fd9e8e95cfc6c472f1adfeff41735d798;p=dwm.git diff --git a/config.default.h b/config.default.h index dd402be..85cc135 100644 --- a/config.default.h +++ b/config.default.h @@ -19,6 +19,7 @@ const char *tags[] = { "1", "2", "3", "4", "5", NULL }; #define MASTER 600 /* per thousand */ #define MODKEY Mod1Mask +#define SNAP 20 /* pixel */ #define KEYS \ static Key key[] = { \ @@ -27,8 +28,8 @@ static Key key[] = { \ { MODKEY, XK_Tab, focusnext, { 0 } }, \ { MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \ - { MODKEY, XK_g, resizecol, { .i = 15 } }, \ - { MODKEY, XK_s, resizecol, { .i = -15 } }, \ + { MODKEY, XK_g, resizemaster, { .i = 15 } }, \ + { MODKEY, XK_s, resizemaster, { .i = -15 } }, \ { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \ @@ -61,5 +62,5 @@ static Key key[] = { \ static Rule rule[] = { \ /* class:instance:title regex tags regex isfloat */ \ { "Firefox.*", "2", False }, \ - { "Gimp.*", NULL, True}, \ + { "Gimp.*", NULL, True }, \ };