saitti/docs/suckless/dwm/autostart.md
2025-01-24 05:27:39 +02:00

695 B

Autostarting apps

!!! note My modified Makefile installs this file automagically. Steps below should not be necessary.

If using a display manager make the session execute a script (refer to xsession). Same could be done with startx and ~/.xinitrc. My modified version provides my autostarting script and installs it as /usr/local/bin/startdwm

The script could look something like

#!/bin/sh
slstatus &
pasystray &
nm-applet &
exec dwm

You might also like the systray patch as it just makes sense.