mirror of https://github.com/E-Almqvist/ewm
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.
52 lines
1.1 KiB
52 lines
1.1 KiB
4 years ago
|
THIS IS A FORK OF DWM
|
||
|
Source: https://dwm.suckless.org/
|
||
4 years ago
|
|
||
19 years ago
|
dwm - dynamic window manager
|
||
18 years ago
|
============================
|
||
19 years ago
|
dwm is an extremely fast, small, and dynamic window manager for X.
|
||
19 years ago
|
|
||
|
|
||
19 years ago
|
Requirements
|
||
|
------------
|
||
19 years ago
|
In order to build dwm you need the Xlib header files.
|
||
19 years ago
|
|
||
|
|
||
|
Installation
|
||
|
------------
|
||
19 years ago
|
Edit config.mk to match your local setup (dwm is installed into
|
||
|
the /usr/local namespace by default).
|
||
19 years ago
|
|
||
19 years ago
|
Afterwards enter the following command to build and install dwm (if
|
||
19 years ago
|
necessary as root):
|
||
|
|
||
|
make clean install
|
||
|
|
||
|
|
||
19 years ago
|
Running dwm
|
||
19 years ago
|
-----------
|
||
19 years ago
|
Add the following line to your .xinitrc to start dwm using startx:
|
||
19 years ago
|
|
||
19 years ago
|
exec dwm
|
||
19 years ago
|
|
||
19 years ago
|
In order to connect dwm to a specific display, make sure that
|
||
19 years ago
|
the DISPLAY environment variable is set correctly, e.g.:
|
||
|
|
||
19 years ago
|
DISPLAY=foo.bar:1 exec dwm
|
||
19 years ago
|
|
||
19 years ago
|
(This will start dwm on display :1 of the host foo.bar.)
|
||
19 years ago
|
|
||
19 years ago
|
In order to display status info in the bar, you can do something
|
||
|
like this in your .xinitrc:
|
||
19 years ago
|
|
||
14 years ago
|
while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
|
||
19 years ago
|
do
|
||
14 years ago
|
sleep 1
|
||
16 years ago
|
done &
|
||
14 years ago
|
exec dwm
|
||
19 years ago
|
|
||
19 years ago
|
|
||
19 years ago
|
Configuration
|
||
|
-------------
|
||
19 years ago
|
The configuration of dwm is done by creating a custom config.h
|
||
|
and (re)compiling the source code.
|