2006-07-13 08:03:56 +00:00
|
|
|
dwm - dynamic window manager
|
2006-09-26 12:32:02 +00:00
|
|
|
============================
|
2006-08-21 05:31:15 +00:00
|
|
|
dwm is an extremely fast, small, and dynamic window manager for X.
|
2006-07-11 16:59:09 +00:00
|
|
|
|
|
|
|
|
2006-07-10 14:38:18 +00:00
|
|
|
Requirements
|
|
|
|
------------
|
2006-07-13 07:32:22 +00:00
|
|
|
In order to build dwm you need the Xlib header files.
|
2006-07-10 14:38:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
2006-08-01 10:32:33 +00:00
|
|
|
Edit config.mk to match your local setup (dwm is installed into
|
|
|
|
the /usr/local namespace by default).
|
2006-07-10 14:38:18 +00:00
|
|
|
|
2006-08-02 15:49:21 +00:00
|
|
|
Afterwards enter the following command to build and install dwm (if
|
2006-07-10 14:38:18 +00:00
|
|
|
necessary as root):
|
|
|
|
|
|
|
|
make clean install
|
|
|
|
|
|
|
|
|
2006-07-13 07:32:22 +00:00
|
|
|
Running dwm
|
2006-07-13 08:03:56 +00:00
|
|
|
-----------
|
2006-07-13 07:32:22 +00:00
|
|
|
Add the following line to your .xinitrc to start dwm using startx:
|
2006-07-10 14:38:18 +00:00
|
|
|
|
2006-07-13 07:32:22 +00:00
|
|
|
exec dwm
|
2006-07-10 14:38:18 +00:00
|
|
|
|
2006-07-13 07:32:22 +00:00
|
|
|
In order to connect dwm to a specific display, make sure that
|
2006-07-10 14:38:18 +00:00
|
|
|
the DISPLAY environment variable is set correctly, e.g.:
|
|
|
|
|
2006-07-13 07:32:22 +00:00
|
|
|
DISPLAY=foo.bar:1 exec dwm
|
2006-07-10 14:38:18 +00:00
|
|
|
|
2006-08-01 14:29:25 +00:00
|
|
|
(This will start dwm on display :1 of the host foo.bar.)
|
2006-07-10 14:38:18 +00:00
|
|
|
|
2006-08-01 10:32:33 +00:00
|
|
|
In order to display status info in the bar, you can do something
|
|
|
|
like this in your .xinitrc:
|
2006-07-21 07:59:11 +00:00
|
|
|
|
2011-06-14 04:51:21 +00:00
|
|
|
while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
|
2006-07-21 07:59:11 +00:00
|
|
|
do
|
2011-07-20 18:56:10 +00:00
|
|
|
sleep 1
|
2008-12-13 20:20:26 +00:00
|
|
|
done &
|
2011-04-27 15:55:18 +00:00
|
|
|
exec dwm
|
2006-07-21 07:59:11 +00:00
|
|
|
|
2006-08-01 10:32:33 +00:00
|
|
|
|
2006-07-10 14:38:18 +00:00
|
|
|
Configuration
|
|
|
|
-------------
|
2006-08-03 08:58:29 +00:00
|
|
|
The configuration of dwm is done by creating a custom config.h
|
|
|
|
and (re)compiling the source code.
|
2020-02-22 16:06:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Customisations
|
|
|
|
------
|
|
|
|
|
|
|
|
* Custom configuration of config.h
|
2020-02-22 18:02:29 +00:00
|
|
|
* windows with title of 'WM_FORCE_FLOATING' are set to floating automatically.
|
2020-03-24 13:16:10 +00:00
|
|
|
* When moving window to a different tag, focus follows the destination tag.
|
2020-02-22 16:06:11 +00:00
|
|
|
* Merged patch: https://dwm.suckless.org/patches/bottomstack/dwm-bottomstack-6.1.diff
|
2020-02-22 17:32:23 +00:00
|
|
|
* Merged patch: https://dwm.suckless.org/patches/hide_vacant_tags/dwm-hide_vacant_tags-6.2.diff
|
2020-03-24 13:16:10 +00:00
|
|
|
* Merged patch: https://dwm.suckless.org/patches/dwmc/dwm-dwmc-6.2.diff
|
2020-03-24 13:54:44 +00:00
|
|
|
* Merged patch: https: //dwm.suckless.org/patches/cfacts/dwm-cfacts-6.2.diff
|
|
|
|
* Merged patch: https://dwm.suckless.org/patches/fibonacci/dwm-fibonacci-5.8.2.diff
|
2020-03-25 12:27:42 +00:00
|
|
|
* Merged patch: https://dwm.suckless.org/patches/focusonclick/dwm-focusonclick-20171030-6aa8e37.diff
|