my DWM rice

arg@10ksloc.org 98c6a92eb5 added a note how to achieve status info in the bar 19 jaren geleden
.hgtags fe3756c8e1 Added tag 0.4 for changeset eb3165734f00fe7f7da8aeebaed00e60a57caac9 19 jaren geleden
LICENSE 1076f2b6b3 initial import 19 jaren geleden
Makefile eccd02def2 makefile now sets permissions for executables and man pages 19 jaren geleden
README 98c6a92eb5 added a note how to achieve status info in the bar 19 jaren geleden
client.c cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 jaren geleden
config.mk ba59bc8b9f preparing 0.6 which will be available in the evening after sanders patch approx. 19 jaren geleden
draw.c 4688ad181d made status bar drawing more robust, implemented togglemax and togglemode, works quite well 19 jaren geleden
dwm.1 ba59bc8b9f preparing 0.6 which will be available in the evening after sanders patch approx. 19 jaren geleden
dwm.h cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 jaren geleden
dwm.html 01b151f5f8 prepared 0.4 19 jaren geleden
dwm.png 801d11c7e7 alternate dwm.png 19 jaren geleden
event.c cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 jaren geleden
main.c 06dc514bc7 added yet another CUTOMIZE tag 19 jaren geleden
tag.c cd8d8e1208 sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 jaren geleden
util.c dc5d967ee6 cleaned up code 19 jaren geleden

README

dwm - dynamic window manager
----------------------------
dwm is an extremly fast, small, and dynamic X11 window manager.


Requirements
------------
In order to build dwm you need the Xlib header files.


Installation
------------
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 dwm (if
necessary as root):

make clean install


Running dwm
-----------
Add the following line to your .xinitrc to start dwm using startx:

exec dwm

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 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:

#!/bin/sh
while true
do
echo `date` `uptime | sed 's/.*://; s/,//g'`
sleep 5
done


Configuration
-------------
The configuration of dwm is done by customizing source code,
grep for CUSTOMIZE keyword.