dwm can now be restarted via MOD+CTRL+SHIFT+Q or by kill -HUP dwmpid
In addition, a signal handler was added so that dwm cleanly quits by kill -TERM dwmpid.
Also see selfrestart.
An alternative might be to put something like this in
while :; do ssh-agent dwm done
And then just quit/kill
- dwm-restartsig-20180523-6.2.diff (2018-05-23)