This is a mirror of http://vitali64.duckdns.org/git/suckless/dwm.git . Issues are accepted.

Ferass 'Vitali64' EL HAFIDI 14f4e2ff45 ? What happened ? %!s(int64=2) %!d(string=hai) anos
patches db839b82ef pywal improvements %!s(int64=3) %!d(string=hai) anos
pkg b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
.gitignore b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
LICENSE b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
Makefile b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
README.md bf7a385534 README imporvements+new screenshot+other things %!s(int64=3) %!d(string=hai) anos
Screenshot.png bf7a385534 README imporvements+new screenshot+other things %!s(int64=3) %!d(string=hai) anos
config.def.h 5d9ba618ac Pywal support! %!s(int64=3) %!d(string=hai) anos
config.def.h.orig 14f4e2ff45 ? What happened ? %!s(int64=2) %!d(string=hai) anos
config.def.h.rej 5d9ba618ac Pywal support! %!s(int64=3) %!d(string=hai) anos
config.h 687f71aa77 Move the bar to the top %!s(int64=2) %!d(string=hai) anos
config.h.orig b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
config.h.rej b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
config.mk b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
config.mk.orig b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
drw.c 5d9ba618ac Pywal support! %!s(int64=3) %!d(string=hai) anos
drw.c.orig 5d9ba618ac Pywal support! %!s(int64=3) %!d(string=hai) anos
drw.h 5d9ba618ac Pywal support! %!s(int64=3) %!d(string=hai) anos
dwm.1 b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
dwm.c db839b82ef pywal improvements %!s(int64=3) %!d(string=hai) anos
dwm.c.orig 14f4e2ff45 ? What happened ? %!s(int64=2) %!d(string=hai) anos
dwm.c.rej 5d9ba618ac Pywal support! %!s(int64=3) %!d(string=hai) anos
layoutmenu.sh b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
transient.c b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
util.c b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos
util.h b856f6a1ac move away from GitLab and GitHub %!s(int64=3) %!d(string=hai) anos

README.md

v64-dwm - Vitali64's dynamic window manager build

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

dwmblocks and wallpaper AREN'T included

My build

My build adds a lot of patches. The colors also adapt to the wallpaper if pywal is installed, otherwise, it will use the default (Mod+F5).

Requirements

In order to build dwm you need the Xlib header files, GNU+Linux or BSD (FreeBSD, OpenBSD, ...) with Xorg installed. It doesn't and will not work on other systems such as macOS and Windows because this relies on libraries available exclusively on Linux.

This has been tested on Artix Linux but should work with any other distro such as Ubuntu Linux

Installation

Edit config.mk to match your local setup (most of the time, the config.mk provided here should work without any modifications).

Afterwards enter the following command to build (if necessary as root):

make

And if you want to install it on the system, run the following :

sudo make clean install

Running dwm

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

exec <where the binary file is located>/dwm

In order to connect dwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.:

DISPLAY=foobar: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

You can also use dwmblocks for that.