Browse Source

added a note how to achieve status info in the bar

master
arg@10ksloc.org 19 years ago
parent
commit
98c6a92eb5
1 changed files with 17 additions and 1 deletions
  1. +17
    -1
      README

+ 17
- 1
README View File

@ -1,6 +1,5 @@
dwm - dynamic window manager dwm - dynamic window manager
---------------------------- ----------------------------
dwm is an extremly fast, small, and dynamic X11 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. 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 Configuration
------------- -------------
The configuration of dwm is done by customizing source code, The configuration of dwm is done by customizing source code,


Loading…
Cancel
Save