X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/650a1fb4e1a798aca48a53739f5bb2649191bc1c..f85b163899a743d29ebdf1d4969e729b3f2cb79c:/README?ds=sidebyside 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.