1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh DIR=${HOME}/.dwm if [ -f "${DIR}"/dwmrc ]; then /bin/sh "${DIR}"/dwmrc & else while true; do xsetroot -name "`date`" sleep 1 done & fi exec /usr/bin/dwm