RinRi b11ae5a52c | 2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
LICENSE | 3 years ago | |
Makefile | 3 years ago | |
README | 3 years ago | |
README.md | 3 years ago | |
config.def.h | 2 years ago | |
config.def.h.orig | 3 years ago | |
config.def.h.rej | 3 years ago | |
config.h | 2 years ago | |
config.mk | 3 years ago | |
drw.c | 3 years ago | |
drw.h | 3 years ago | |
drw.o | 2 years ago | |
dwm | 2 years ago | |
dwm-screen.png | 3 years ago | |
dwm-tab-v2b-pertab-56a31dc.diff | 3 years ago | |
dwm.1 | 3 years ago | |
dwm.1.orig | 3 years ago | |
dwm.c | 3 years ago | |
dwm.c.orig | 3 years ago | |
dwm.c.rej | 3 years ago | |
dwm.o | 2 years ago | |
dwm.png | 3 years ago | |
patches.txt | 3 years ago | |
transient.c | 3 years ago | |
util.c | 3 years ago | |
util.h | 3 years ago | |
util.o | 2 years ago |
This my own patched and configured dwm build with following pathes:
You can define autostarting programs in:
static const char *const autostart[] = {
"sh", "-c", "sh ~/scripts/xinit.sh", NULL,
"dunst", NULL,
"slstatus", NULL,
NULL /* terminate */
};
Also I use dunst
notification manager, slstatus
statusbar, picom
compositor and font awesome. First, you need to install them. I recommend installing ttf-font-awesome-4
from AUR, because icons are too small in font awesome 5.
You can change config.def.h configuration and then run this commands to compile dwm:
cp config.def.h config.h
sudo make install
Here is dwm’s README:
dwm is an extremely fast, small, and dynamic window manager for X.
In order to build dwm you need the Xlib header files.
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
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