dynamic window manager
Go to file
nexeq 1f6d97fadf another change xD 2022-01-14 04:51:09 +05:00
st Theme upd 2021-05-08 16:19:31 +05:00
LICENSE *original commit name* 2021-04-08 10:02:39 +05:00
Makefile Initial commit 2020-12-12 08:20:56 +05:00
README.md fix 2021-05-08 16:31:44 +05:00
bgsh Added scripts for background and screenshoting tool 2020-12-12 08:52:22 +05:00
config.def.h Theme upd 2021-05-08 16:19:31 +05:00
config.h Theme upd 2021-05-08 16:19:31 +05:00
config.mk Initial commit 2020-12-12 08:20:56 +05:00
drw.c Initial commit 2020-12-12 08:20:56 +05:00
drw.h Initial commit 2020-12-12 08:20:56 +05:00
dwm.1 Initial commit 2020-12-12 08:20:56 +05:00
dwm.c Added patch "autostart" 2020-12-13 13:13:33 +05:00
dwm.png Initial commit 2020-12-12 08:20:56 +05:00
screensh Added scripts for background and screenshoting tool 2020-12-12 08:52:22 +05:00
screenshot.png fix 2021-05-08 16:34:23 +05:00
transient.c Initial commit 2020-12-12 08:20:56 +05:00
util.c Initial commit 2020-12-12 08:20:56 +05:00
util.h Initial commit 2020-12-12 08:20:56 +05:00
wallp.png Description update 2021-05-08 16:30:36 +05:00
xinitrc another change xD 2022-01-14 04:51:09 +05:00

README.md

dwm - dynamic window manager

dwm is an extremely fast, small, and dynamic window manager for X.

Screenshot

Requirements

In order to build dwm you need the Xlib header files. Requiered packages for scripts(bgsh & screensh): maim, xorg-xclip, feh.

Installation

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 dwm (if necessary as root):

make clean install

Then you need to download your wallpaper and save it as ~/.wallp.png

Running dwm

Add the following line to your .xinitrc to start dwm using startx:

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 dwm

(This will start dwm 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 dwm is done by creating a custom config.h and (re)compiling the source code.