X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/39ffc18635686b1a65cd80d19828c4fe2aed982f..b55bd709ee6d0b09c141bf5ffe0647866e0374ef:/config.default.h?ds=sidebyside diff --git a/config.default.h b/config.default.h index 453da71..7716916 100644 --- a/config.default.h +++ b/config.default.h @@ -7,10 +7,15 @@ const char *tags[] = { "1", "2", "3", "4", "5", NULL }; #define DEFMODE dotile /* dofloat */ + #define FONT "fixed" -#define BGCOLOR "#666699" -#define FGCOLOR "#eeeeee" -#define BORDERCOLOR "#9999CC" +#define SELBGCOLOR "#666699" +#define SELFGCOLOR "#eeeeee" +#define NORMBGCOLOR "#333366" +#define NORMFGCOLOR "#cccccc" +#define STATUSBGCOLOR "#dddddd" +#define STATUSFGCOLOR "#222222" + #define MODKEY Mod1Mask #define MASTERW 60 /* percent */ @@ -47,11 +52,11 @@ static Key key[] = { \ { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ }; -/* Query class:instance for regex matching info with following command: - * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/ +/* Query class:instance:title for regex matching info with following command: + * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/{ printf("%s\n",$2) }' */ #define RULES \ static Rule rule[] = { \ - /* class:instance regex tags regex isfloat */ \ + /* class:instance:title regex tags regex isfloat */ \ { "Firefox.*", "2", False }, \ { "Gimp.*", NULL, True}, \ };