aewl
changeset 319:94d2d7658673
after switching to OpenBSD again, I switched back to a saner color scheme
author | arg@localhost.10kloc.org |
---|---|
date | Mon, 21 Aug 2006 17:41:09 +0200 |
parents | 1b45d6f14fca |
children | 30b447bad2e5 |
files | client.c config.arg.h |
diffstat | 2 files changed, 10 insertions(+), 8 deletions(-) [+] |
line diff
1.1 --- a/client.c Mon Aug 21 09:03:14 2006 +0200 1.2 +++ b/client.c Mon Aug 21 17:41:09 2006 +0200 1.3 @@ -73,12 +73,14 @@ 1.4 { 1.5 Client *old = sel; 1.6 1.7 - if (!issel) 1.8 + if(!issel) 1.9 return; 1.10 - if(sel && sel->ismax && sel != c) 1.11 - togglemax(NULL); 1.12 - sel = c; 1.13 - if(old && old != c) { 1.14 + if(!sel) 1.15 + sel = c; 1.16 + else if(sel != c) { 1.17 + if(sel->ismax) 1.18 + togglemax(NULL); 1.19 + sel = c; 1.20 grabbutton(old, AnyButton, 0); 1.21 drawtitle(old); 1.22 }
2.1 --- a/config.arg.h Mon Aug 21 09:03:14 2006 +0200 2.2 +++ b/config.arg.h Mon Aug 21 17:41:09 2006 +0200 2.3 @@ -9,9 +9,9 @@ 2.4 #define DEFMODE dotile /* dofloat */ 2.5 #define DEFTAG 0 /* index */ 2.6 #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" 2.7 -#define BGCOLOR "#0d121d" 2.8 +#define BGCOLOR "#666699" 2.9 #define FGCOLOR "#eeeeee" 2.10 -#define BORDERCOLOR "#3f484d" 2.11 +#define BORDERCOLOR "#9999CC" 2.12 #define MODKEY Mod1Mask 2.13 #define MASTERW 60 /* percent */ 2.14 2.15 @@ -19,7 +19,7 @@ 2.16 static Key key[] = { \ 2.17 /* modifier key function arguments */ \ 2.18 { MODKEY|ShiftMask, XK_Return, spawn, \ 2.19 - { .cmd = "exec urxvt +sb -tr -bg black -fg '#eeeeee' -fn '"FONT"'" } }, \ 2.20 + { .cmd = "exec uxterm -bg '#dddddd' -fg '#000000' -cr '#000000' +sb -fn '"FONT"'" } }, \ 2.21 { MODKEY, XK_p, spawn, \ 2.22 { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \ 2.23 "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \