# HG changeset patch # User arg@localhost.10kloc.org # Date 1156174869 -7200 # Node ID 94d2d7658673e549ff1b823c0d709b621b13cb73 # Parent 1b45d6f14fca9f3ce2b3953dcc8af85710645480 after switching to OpenBSD again, I switched back to a saner color scheme diff -r 1b45d6f14fca -r 94d2d7658673 client.c --- a/client.c Mon Aug 21 09:03:14 2006 +0200 +++ b/client.c Mon Aug 21 17:41:09 2006 +0200 @@ -73,12 +73,14 @@ { Client *old = sel; - if (!issel) + if(!issel) return; - if(sel && sel->ismax && sel != c) - togglemax(NULL); - sel = c; - if(old && old != c) { + if(!sel) + sel = c; + else if(sel != c) { + if(sel->ismax) + togglemax(NULL); + sel = c; grabbutton(old, AnyButton, 0); drawtitle(old); } diff -r 1b45d6f14fca -r 94d2d7658673 config.arg.h --- a/config.arg.h Mon Aug 21 09:03:14 2006 +0200 +++ b/config.arg.h Mon Aug 21 17:41:09 2006 +0200 @@ -9,9 +9,9 @@ #define DEFMODE dotile /* dofloat */ #define DEFTAG 0 /* index */ #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" -#define BGCOLOR "#0d121d" +#define BGCOLOR "#666699" #define FGCOLOR "#eeeeee" -#define BORDERCOLOR "#3f484d" +#define BORDERCOLOR "#9999CC" #define MODKEY Mod1Mask #define MASTERW 60 /* percent */ @@ -19,7 +19,7 @@ static Key key[] = { \ /* modifier key function arguments */ \ { MODKEY|ShiftMask, XK_Return, spawn, \ - { .cmd = "exec urxvt +sb -tr -bg black -fg '#eeeeee' -fn '"FONT"'" } }, \ + { .cmd = "exec uxterm -bg '#dddddd' -fg '#000000' -cr '#000000' +sb -fn '"FONT"'" } }, \ { MODKEY, XK_p, spawn, \ { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \ "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \