X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/10885d349a8426f0a55f34e78a2592267e8e55be..f320cd203b13b277a33c76191db5626fa342b646:/config.default.h diff --git a/config.default.h b/config.default.h index 9a6fbc6..85cc135 100644 --- a/config.default.h +++ b/config.default.h @@ -1,5 +1,4 @@ -/* - * (C)opyright MMVI Anselm R. Garbe +/* (C)opyright MMVI Anselm R. Garbe * See LICENSE file for license details. */ @@ -20,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[] = { \ @@ -28,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 } }, \ @@ -62,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 }, \ };