X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=11071819de277e375532f5610630748d56c5b937;hb=f69f0d9fce4e3642bebfe24ba37a1cf7071a8bc9;hp=920708548c223506bca03c8f303f718acb2af6d8;hpb=8574ca79c28e6d117dfdd17d14121b502229400a;p=dwm.git diff --git a/config.def.h b/config.def.h index 9207085..1107181 100644 --- a/config.def.h +++ b/config.def.h @@ -4,8 +4,11 @@ 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 */ +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"; @@ -28,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) */ @@ -58,7 +63,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon }; static const char *termcmd[] = { "st", NULL }; /*