about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README18
1 files changed, 17 insertions, 1 deletions
diff --git a/README b/README
index a17b82a..22d386e 100644
--- a/README
+++ b/README
@@ -1,6 +1,5 @@
 dwm - dynamic window manager
 ----------------------------
-
 dwm is an extremly fast, small, and dynamic X11 window manager.
 
 
@@ -34,6 +33,23 @@ the DISPLAY environment variable is set correctly, e.g.:
 This will start dwm on display :1 of the host foo.bar.
 
 
+Displaying status info
+----------------------
+In order to display status info in the bar, you can do following
+in .xinitrc:
+
+    $HOME/.dwm/status | dwm
+
+Assumed $HOME/.dwm/status is an executable script like:
+
+    #!/bin/sh
+    while true
+    do
+        echo `date` `uptime | sed 's/.*://; s/,//g'`
+        sleep 5
+    done
+
+
 Configuration
 -------------
 The configuration of dwm is done by customizing source code,
tter hut <hut@lavabit.com> 2010-01-26 20:16:31 +0100 added testcase for mount_path' href='/akspecs/ranger/commit/test/tc_ext.py?h=v1.4.1&id=64649898c66f8afb35e01eff8280e46d90fb73ae'>64649898 ^
11d09d02 ^

























64649898 ^
5a087b16 ^

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
115
116
117
118
119
120
121
122
123