my DWM rice

Anselm R. Garbe b1701adf75 new stuff, fixed several issues 19 年之前
LICENSE 1076f2b6b3 initial import 19 年之前
Makefile 4641aa2925 added grid mode on Mod1Mask g 19 年之前
README b9da4b082e added mouse-based resizals 19 年之前
bar.c dfd84f9bf3 simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable) 19 年之前
client.c b1701adf75 new stuff, fixed several issues 19 年之前
config.h dfd84f9bf3 simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable) 19 年之前
config.mk b1701adf75 new stuff, fixed several issues 19 年之前
draw.c b1701adf75 new stuff, fixed several issues 19 年之前
draw.h dfd84f9bf3 simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable) 19 年之前
event.c b1701adf75 new stuff, fixed several issues 19 年之前
gridmenu.1 8a34fa50f7 added new stuff 19 年之前
gridwm.1 1076f2b6b3 initial import 19 年之前
kb.c 2e836ecce1 added gravity stuff 19 年之前
menu.c dfd84f9bf3 simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable) 19 年之前
mouse.c dfd84f9bf3 simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable) 19 年之前
util.c b1701adf75 new stuff, fixed several issues 19 年之前
util.h b1669b5c48 removed unnecessary sel stuff 19 年之前
wm.c b1701adf75 new stuff, fixed several issues 19 年之前
wm.h 2e836ecce1 added gravity stuff 19 年之前

README

gridwm
------

gridwm is an extremly fast, small, and automatic X11 window manager. It
arranges all windows in a grid.


Requirements
------------
In order to build gridwm 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.

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.