#!/bin/sh dunst & status -d & kodi & while true; do . ~/.profile # Log stderror to a file dwm 2> ~/.cache/dwm.log # No error logging #dwm >/dev/null 2>&1 done