63b8ddfb63
size and xonix segfaults. (Apologies to anyone who was using this dwm behaviour as a way to keep them from getting addicted...) ok Jim Razmus (maintainer) with a suggestion to use xprop to find the Class rather than the window title (as my original diff had). Also thanks to deanna@ for suggestions with the segfault.
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
$OpenBSD: patch-config_def_h,v 1.2 2008/04/29 13:49:08 sthen Exp $
|
|
--- config.def.h.orig Thu Apr 3 21:57:01 2008
|
|
+++ config.def.h Mon Apr 28 22:18:14 2008
|
|
@@ -2,20 +2,22 @@
|
|
|
|
/* appearance */
|
|
#define BORDERPX 1
|
|
-#define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"
|
|
-#define NORMBORDERCOLOR "#cccccc"
|
|
-#define NORMBGCOLOR "#cccccc"
|
|
-#define NORMFGCOLOR "#000000"
|
|
-#define SELBORDERCOLOR "#0066ff"
|
|
-#define SELBGCOLOR "#0066ff"
|
|
-#define SELFGCOLOR "#ffffff"
|
|
+#define FONT "-*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*"
|
|
+#define NORMBORDERCOLOR "#404040"
|
|
+#define NORMBGCOLOR "#202020"
|
|
+#define NORMFGCOLOR "#c0c0c0"
|
|
+#define SELBORDERCOLOR "#8888ff"
|
|
+#define SELBGCOLOR "#404040"
|
|
+#define SELFGCOLOR "#f0f0f0"
|
|
|
|
/* tagging */
|
|
const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
|
|
|
Rule rules[] = {
|
|
/* class instance title tags ref isfloating */
|
|
+ { "Firefox", NULL, NULL, tags[8], False },
|
|
{ "Gimp", NULL, NULL, NULL, True },
|
|
+ { "Xonix", NULL, NULL, NULL, True },
|
|
};
|
|
|
|
/* geometries, s{x,y,w,h} and bh are already initualized here */
|
|
@@ -46,7 +48,7 @@ Key keys[] = {
|
|
/* modifier key function argument */
|
|
{ MODKEY, XK_p, spawn,
|
|
"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
|
|
- { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" },
|
|
+ { MODKEY|ShiftMask, XK_Return, spawn, "exec xterm" },
|
|
{ MODKEY, XK_j, focusnext, NULL },
|
|
{ MODKEY, XK_k, focusprev, NULL },
|
|
{ MODKEY, XK_r, reapply, NULL },
|