X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.def.h;h=17336815a8d2ecc85bbde4c0b5b382d5d0420ed3;hb=e3838e85855d051190bde6c77265bc72b53a9d04;hp=6a6f7be87330537c83c6886a0581c7f5bc39d03a;hpb=c56533615f84df801f10dedc4d6ff267e0e8df0a;p=dwm.git diff --git a/config.def.h b/config.def.h index 6a6f7be..1733681 100644 --- a/config.def.h +++ b/config.def.h @@ -8,10 +8,14 @@ #define SELBORDERCOLOR "#0066ff" #define SELBGCOLOR "#0066ff" #define SELFGCOLOR "#ffffff" -static uint borderpx = 1; /* border pixel of windows */ -static uint snap = 32; /* snap pixel */ -static Bool showbar = True; /* False means no bar */ -static Bool topbar = True; /* False means bottom bar */ +static uint borderpx = 1; /* border pixel of windows */ +static uint snap = 32; /* snap pixel */ +static Bool showbar = True; /* False means no bar */ +static Bool topbar = True; /* False means bottom bar */ + +#ifdef XINERAMA +static uint xidx = 0; /* Xinerama screen index to use */ +#endif /* tagging */ static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -40,6 +44,9 @@ static Layout layouts[] = { { MODKEY|ShiftMask, KEY, tag, TAG }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, TAG }, +/* helper for spawning shell commands */ +#define SHCMD(cmd) { .v = (char*[]){ "/bin/sh", "-c", cmd, NULL } } + static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = (char *[]){"dmenu_run", "-fn", FONT, "-nb", NORMBGCOLOR, "-nf", NORMFGCOLOR, "-sb", SELBGCOLOR, "-sf", SELFGCOLOR, NULL}} },