X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/a73a88280681acdab047bd11a9ba77d97d6a0b72..f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2:/README diff --git a/README b/README index 8781cd8..95d4fd0 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ dwm - dynamic window manager ----------------------------- -dwm is an extremely fast, small, and dynamic X11 window manager. +============================ +dwm is an extremely fast, small, and dynamic window manager for X. Requirements @@ -18,11 +18,6 @@ necessary as root): make clean install -If you want to use a customized config.h, you can use the following -command for installing dwm: - - make CONFIG=.h clean install - Running dwm ----------- @@ -35,21 +30,19 @@ the DISPLAY environment variable is set correctly, e.g.: DISPLAY=foo.bar:1 exec dwm -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 something like this in your .xinitrc: - while true + while xsetroot -name "`date` `uptime | sed 's/.*,//'`" do - echo `date` `uptime | sed 's/.*://; s/,//g'` - sleep 1 - done | dwm + sleep 1 + done & + exec dwm Configuration ------------- -The configuration of dwm is done by editing config.h. +The configuration of dwm is done by creating a custom config.h +and (re)compiling the source code.