X-Git-Url: https://git.danieliu.xyz/?p=dwm.git;a=blobdiff_plain;f=config.def.h;fp=config.def.h;h=11071819de277e375532f5610630748d56c5b937;hp=c5f7e0ce68c66966f8d8d8d7881d6255b360ffb7;hb=ce66c62e6108a3dd1a8323c62616249e5b60ef01;hpb=3b2a636ee4293351041fd5772ac85b1337e2bc0d diff --git a/config.def.h b/config.def.h index c5f7e0c..1107181 100644 --- a/config.def.h +++ b/config.def.h @@ -4,6 +4,7 @@ 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 int vertpad = 5; /* vertical padding of bar */ @@ -30,9 +31,11 @@ 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) */