about summary refs log tree commit diff stats
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.gz
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`" } }, \
Documentation: Improve readability' href='/akspecs/ranger/commit/README.md?id=03ed2a43a1a80c69d1a9590e3e04fdb9317791ff'>03ed2a43 ^
7bf5f967 ^
03ed2a43 ^
7dc8fef8 ^
4833bc23 ^

4ea0f69a ^

03ed2a43 ^
240394a4 ^
03dae5f0 ^

9a619526 ^
03dae5f0 ^
9e89f023 ^
36e4e71e ^
20ab9343 ^

20ab9343 ^





4ea0f69a ^

240394a4 ^
7dc8fef8 ^
36e4e71e ^

4a383291 ^
78a7d762 ^
e952d6cb ^
78a7d762 ^
03ed2a43 ^
4ea0f69a ^

7838675f ^

bc54f757 ^
6ff9bb6f ^
03ed2a43 ^
7838675f ^

2c8cb95f ^
03ed2a43 ^



7838675f ^
03ed2a43 ^
2c8cb95f ^
03ed2a43 ^

ae99c2c9 ^
03ed2a43 ^
107b72e7 ^
03ed2a43 ^


08b08d70 ^
240394a4 ^



240394a4 ^
03ed2a43 ^
240394a4 ^

03ed2a43 ^


240394a4 ^

03ed2a43 ^


2c8cb95f ^
03ed2a43 ^
240394a4 ^

e5fb3d74 ^
240394a4 ^

03ed2a43 ^

7dc8fef8 ^


03ed2a43 ^
d9b5426e ^
78edc1ed ^
d9b5426e ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114