X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=README;h=22d386ea80214dad01c8a85c523dcba912099779;hb=98c6a92eb56dbbbec32734f3d9206ae63c8f8c08;hp=55fe9cdf9cc314ea92a78982dd6e42f1f9024a2d;hpb=8b59083eb13c0712e04d9a5b6d7bf4af5913c442;p=dwm.git diff --git a/README b/README index 55fe9cd..22d386e 100644 --- a/README +++ b/README @@ -1,41 +1,56 @@ -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 extremly fast, small, and dynamic X11 window manager. 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 +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 -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. + + +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: -This will start gridwm on display :1 of the host foo.bar. + #!/bin/sh + while true + do + echo `date` `uptime | sed 's/.*://; s/,//g'` + sleep 5 + done Configuration ------------- -The configuration of gridwm 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.