selfrestart

Description

Restart dwm without the unnecessary dependency of an external script.

Also see restartsig.

An alternative might be to put something like this in ~/.xinitrc:

while :; do
	ssh-agent dwm
done

And then just quit/kill dwm.

Download

Implementation & idea