X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=README;h=7abf1cfc4381af9eabdd8b1c10a9f5fe50320863;hp=bd60b6897a6c4551ef0470cb5ade5af312b60de8;hb=7fb0771af631512715ee98315ac2382d1730b3d5;hpb=b9da4b082eb658b4142b61c149212f414f7653b6 diff --git a/README b/README index bd60b68..7abf1cf 100644 --- a/README +++ b/README @@ -1,43 +1,51 @@ -gridwm ------- - -gridwm is an extremly fast, small, and automatic X11 window manager. It -arranges all windows in a grid. +dwm - dynamic window manager +============================ +dwm is an extremely fast, small, and dynamic window manager for X. Requirements ------------ -In order to build gridwm you need the Xlib header files. +In order to build dwm you need the Xlib header files. Installation ------------ -Edit config.mk to match your local setup. gridwm is installed into -the /usr/local namespace by default. +Edit config.mk to match your local setup (dwm is installed into +the /usr/local namespace by default). -Afterwards enter the following command to build and install gridwm (if +Afterwards enter the following command to build and install dwm (if necessary as root): make clean install +If you are going to use the default bluegray color scheme it is highly +recommended to also install the bluegray files shipped in the dextra package. + -Running gridwm --------------- -Add the following line to your .xinitrc to start gridwm using startx: +Running dwm +----------- +Add the following line to your .xinitrc to start dwm using startx: - exec gridwm + exec dwm -In order to connect gridwm to a specific display, make sure that +In order to connect dwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.: - DISPLAY=foo.bar:1 exec gridwm + DISPLAY=foo.bar:1 exec dwm + +(This will start dwm on display :1 of the host foo.bar.) -This will start gridwm on display :1 of the host foo.bar. +In order to display status info in the bar, you can do something +like this in your .xinitrc: + + while xsetroot -name "`date` `uptime | sed 's/.*,//'`" + do + sleep 1 + done & + exec dwm Configuration ------------- -The configuration of gridwm is done by customizing the config.h source file. To -customize the key bindings edit kb.c. To change the status output, edit the -status command definition in wm.c. - +The configuration of dwm is done by creating a custom config.h +and (re)compiling the source code.