about summary refs log tree commit diff stats
path: root/util.h
blob: cded0434301b89014a41219601a8f93e206eea24 (plain) (blame)
1
2
3
4
5
6
7
8
/* See LICENSE file for copyright and license details. */

#define MAX(A, B)               ((A) > (B) ? (A) : (B))
#define MIN(A, B)               ((A) < (B) ? (A) : (B))
#define BETWEEN(X, A, B)        ((A) <= (X) && (X) <= (B))

void die(const char *errstr, ...);
void *ecalloc(size_t, size_t);
er files. Installation ------------ Edit config.mk to match your local setup. gridwm is installed into the /usr/local namespace by default. Afterwards enter the following command to build and install gridwm (if necessary as root): make clean install Running gridwm -------------- Add the following line to your .xinitrc to start gridwm using startx: exec gridwm In order to connect gridwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.: DISPLAY=foo.bar:1 exec gridwm This will start gridwm on display :1 of the host foo.bar. 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.