aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarg@localhost.10kloc.org <unknown>2006-08-21 17:41:09 +0200
committerarg@localhost.10kloc.org <unknown>2006-08-21 17:41:09 +0200
commit1b9fe55025f84a8430b4be5822784551746eee8d (patch)
tree8dd853c58113c12a97f6faf9ab02d753575b53b8
parent2272df9d3179ec639066614f4d36d18df16ff725 (diff)
downloaddwm-1b9fe55025f84a8430b4be5822784551746eee8d.tar
dwm-1b9fe55025f84a8430b4be5822784551746eee8d.tar.gz
dwm-1b9fe55025f84a8430b4be5822784551746eee8d.tar.bz2
after switching to OpenBSD again, I switched back to a saner color scheme
-rw-r--r--client.c12
-rw-r--r--config.arg.h6
2 files changed, 10 insertions, 8 deletions
diff --git a/client.c b/client.c
index cb5334e..8b98c19 100644
--- a/client.c
+++ b/client.c
@@ -73,12 +73,14 @@ focus(Client *c)
{
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 --git a/config.arg.h b/config.arg.h
index 88343da..d392dbe 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -9,9 +9,9 @@ const char *tags[] = { "work", "net", "fnord", NULL };
#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 @@ const char *tags[] = { "work", "net", "fnord", NULL };
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`" } }, \