X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=README;h=89f7dba66e037e9cfe036ed81b96753f5079b6a6;hb=db98a7d60fc17ebb37f1c4711116daa282044c45;hp=c8e24ef89789871f28c8f9c2e136f7704c27d2e6;hpb=650a1fb4e1a798aca48a53739f5bb2649191bc1c;p=dwm.git diff --git a/README b/README index c8e24ef..89f7dba 100644 --- a/README +++ b/README @@ -1,6 +1,5 @@ -dwm ------- - +dwm - dynamic window manager +---------------------------- dwm is an extremly fast, small, and dynamic X11 window manager. @@ -21,7 +20,7 @@ necessary as root): Running dwm --------------- +----------- Add the following line to your .xinitrc to start dwm using startx: exec dwm @@ -34,7 +33,18 @@ 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: + + while true + do + echo `date` `uptime | sed 's/.*://; s/,//g'` + sleep 2 + done | dwm + 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.