X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=README;h=39d3889b713dd3ac626c13d3a6cdfcd0c4e76f9b;hp=4f46c8bd17fe4503c72290604bcf7b5aebadb321;hb=5d201cc6670a163813c858bdabb316e94baebcab;hpb=5ed16faecb94b551ea00ea940e8d719211576de8 diff --git a/README b/README index 4f46c8b..39d3889 100644 --- a/README +++ b/README @@ -1,51 +1,71 @@ -gridwm ------- +JasonWoof's fork of dwm - dynamic window manager +================================================ +dwm is an extremely fast, small, and dynamic window manager for X. -gridwm is an extremly fast, small, and automatic X11 window manager. It -arranges all windows in a grid. +JasonWoof's modifications include: +1. A new layout that's kinda like deck, but there's a little space above and + below the main slave window where you can see (a little bit of) the other + slave windows. -Configuration -------------- -You have to edit the source code for configuration, this WM is intended to -provide sane defaults, if something doesn't fits your needs, edit config.h and -maybe key.c. To change the status output edit that status variable definition -in wm.c. +2. When you've got only 1 window in a workspace: by default, it is in the + master area. A new tag/attribute is used to specify windows that should use + all available space when alone. This results in fewer window resizes, and + is nice for applications which are usually not so nice when they're huge + (eg firefox, mutt). + +3. _NET_WM_OPACITY is set. Run xcompmgr or the like, so you can see which + window has focus. (Non-zero width borders are probably broken in this fork) + +4. Terminals are spawned with environmental variable containing the current + workspace number. This can be used to eg have separate shell history per + workspace, and/or make terminals stay in their correct workspaces accross + dwm restarts. 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 -the /usr/local namespace by default. +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 +If you are going to use the default bluegray color scheme it is highly +recommended to also install the bluegray files shipped in the dextra package. -Running gridwm --------------- -Add the following line to your .xinitrc to start gridwm using startx: - exec gridwm +Running dwm +----------- +Add the following line to your .xinitrc to start dwm using startx: -In order to connect gridwm to a specific display, make sure that + 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 gridwm + DISPLAY=foo.bar:1 exec dwm + +(This will start dwm on display :1 of the host foo.bar.) -This will start gridwm on display :1 of the host foo.bar. +In order to display status info in the bar, you can do something +like this in your .xinitrc: + + while xsetroot -name "`date` `uptime | sed 's/.*,//'`" + do + sleep 1 + done & + exec dwm Configuration ------------- -The configuration of gridwm is done by customizing the config.h source file. To -customize the key bindings edit key.c. To change the status output, edit the -status command definition in wm.c. - +The configuration of dwm is done by creating a custom config.h +and (re)compiling the source code.