deps update
[dwm.git] / config.def.h
index b8a643a..1107181 100644 (file)
@@ -4,10 +4,13 @@
 static unsigned int borderpx  = 1;        /* border pixel of windows */
 static const unsigned int gappx     = 5;        /* gaps between windows */
 static unsigned int snap      = 32;       /* snap pixel */
+static const int swallowfloating    = 1;        /* 1 means swallow floating windows by default */
 static int showbar            = 1;        /* 0 means no bar */
 static int topbar             = 1;        /* 0 means bottom bar */
-static const char *fonts[]          = { "monospace:size=10" };
-static const char dmenufont[]       = "monospace:size=10";
+static const int vertpad            = 5;       /* vertical padding of bar */
+static const int sidepad            = 5;       /* horizontal padding of bar */
+static const char *fonts[]          = { "Source Code Pro:size=12" };
+static const char dmenufont[]       = "Source Code Pro:size=12";
 static char normbgcolor[]           = "#222222";
 static char normbordercolor[]       = "#444444";
 static char normfgcolor[]           = "#bbbbbb";
@@ -28,15 +31,17 @@ static const Rule rules[] = {
         *      WM_CLASS(STRING) = instance, class
         *      WM_NAME(STRING) = title
         */
-       /* class      instance    title       tags mask     isfloating   monitor */
-       { "Gimp",     NULL,       NULL,       0,            1,           -1 },
-       { "Firefox",  NULL,       NULL,       1 << 8,       0,           -1 },
+       /* class     instance  title           tags mask  isfloating  isterminal  noswallow  monitor */
+       { "Gimp",    NULL,     NULL,           0,         1,          0,           0,        -1 },
+       { "Firefox", NULL,     NULL,           1 << 8,    0,          0,          -1,        -1 },
+       { "St",      NULL,     NULL,           0,         0,          1,           0,        -1 },
+       { NULL,      NULL,     "Event Tester", 0,         0,          0,           1,        -1 }, /* xev */
 };
 
 /* layout(s) */
 static float mfact     = 0.55; /* factor of master area size [0.05..0.95] */
 static int nmaster     = 1;    /* number of clients in master area */
-static int resizehints = 1;    /* 1 means respect size hints in tiled resizals */
+static int resizehints = 0;    /* 1 means respect size hints in tiled resizals */
 
 static const Layout layouts[] = {
        /* symbol     arrange function */
@@ -105,9 +110,6 @@ static Key keys[] = {
        { MODKEY,                       XK_period, focusmon,       {.i = +1 } },
        { MODKEY|ShiftMask,             XK_comma,  tagmon,         {.i = -1 } },
        { MODKEY|ShiftMask,             XK_period, tagmon,         {.i = +1 } },
-       { MODKEY,                       XK_minus,  setgaps,        {.i = -1 } },
-       { MODKEY,                       XK_equal,  setgaps,        {.i = +1 } },
-       { MODKEY|ShiftMask,             XK_equal,  setgaps,        {.i = 0  } },
        TAGKEYS(                        XK_1,                      0)
        TAGKEYS(                        XK_2,                      1)
        TAGKEYS(                        XK_3,                      2)