moetunes/dminimalwm — pull request #2 by c00kiemon5ter (2011-11-23 14:49:25+00:00)
Title: Return Value Patch

Control the exit value of `dminiwm` from the `config.h` file.
Thus, one may check and appropriately take action on each exit status.
This is similar to `dwm`'s `dwmreturn` patch.

Consider the following case:
One starts dminiwm from `.xinitrc` (read by `startx`) by calling a script, eg named `dminiwm_run`.

```
while true; do
/path/to/dminiwm || break
done
```

With such an initialization file, dminiwm can "restart" and run the new configuration without having to logout the user.

Thanks :)