about summary refs log tree commit diff stats
path: root/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'bar.c')
-rw-r--r--bar.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bar.c b/bar.c
index 611c669..953ac6b 100644
--- a/bar.c
+++ b/bar.c
@@ -23,11 +23,15 @@ void
 draw_bar()
 {
 	int i;
+	char *mode = arrange == tiling ? "#" : "~";
+
 	dc.x = dc.y = 0;
 	dc.w = bw;
 	drawtext(NULL, False, False);
 
-	dc.w = 0;
+	dc.w = textw(mode) + dc.font.height;
+	drawtext(mode, True, True);
+
 	for(i = 0; i < TLast; i++) {
 		dc.x += dc.w;
 		dc.w = textw(tags[i]) + dc.font.height;
itle='author James Booth <boothj5@gmail.com> 2014-03-09 01:18:19 +0000 committer James Booth <boothj5@gmail.com> 2014-03-09 01:18:19 +0000 Updated copyright' href='/danisanti/profani-tty/commit/src/xmpp/bookmark.h?id=26726b207a344a79633f0420ff8be9c83aca3934'>26726b20 ^
f9737251 ^











26726b20 ^
2837c405 ^
107fdd35 ^

2837c405 ^
b9d29e9a ^

2837c405 ^


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