equal
deleted
inserted
replaced
36 Displaying status info |
36 Displaying status info |
37 ---------------------- |
37 ---------------------- |
38 In order to display status info in the bar, you can do following |
38 In order to display status info in the bar, you can do following |
39 in .xinitrc: |
39 in .xinitrc: |
40 |
40 |
41 $HOME/.dwm/status | dwm |
|
42 |
|
43 Assumed $HOME/.dwm/status is an executable script like: |
|
44 |
|
45 #!/bin/sh |
|
46 while true |
41 while true |
47 do |
42 do |
48 echo `date` `uptime | sed 's/.*://; s/,//g'` |
43 echo `date` `uptime | sed 's/.*://; s/,//g'` |
49 sleep 5 |
44 sleep 5 |
50 done |
45 done | dwm |
51 |
|
52 |
46 |
53 Configuration |
47 Configuration |
54 ------------- |
48 ------------- |
55 The configuration of dwm is done by customizing source code, |
49 The configuration of dwm is done by customizing source code, |
56 grep for CUSTOMIZE keyword. |
50 grep for CUSTOMIZE keyword. |