X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/01a8d44de4a415ce0f2436989b618eb58c4a6a71..0c7bcc24cbd0d721a4e7d152c05886ac30cc4af3:/README diff --git a/README b/README index 6260440..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,7 +33,24 @@ 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 the wm.h source file. To -customize the key bindings edit kb.c. +The configuration of dwm is done by customizing source code, +grep for CUSTOMIZE keyword.