My fork of Suckless's DWM window manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
arg@10ksloc.org 98c6a92eb5 added a note how to achieve status info in the bar 19 years ago
.hgtags Added tag 0.4 for changeset eb3165734f00fe7f7da8aeebaed00e60a57caac9 19 years ago
LICENSE initial import 19 years ago
Makefile makefile now sets permissions for executables and man pages 19 years ago
README added a note how to achieve status info in the bar 19 years ago
client.c sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 years ago
config.mk preparing 0.6 which will be available in the evening after sanders patch approx. 19 years ago
draw.c made status bar drawing more robust, implemented togglemax and togglemode, works quite well 19 years ago
dwm.1 preparing 0.6 which will be available in the evening after sanders patch approx. 19 years ago
dwm.h sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 years ago
dwm.html prepared 0.4 19 years ago
dwm.png alternate dwm.png 19 years ago
event.c sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 years ago
main.c added yet another CUTOMIZE tag 19 years ago
tag.c sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY 19 years ago
util.c cleaned up code 19 years ago

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.