Keep the state only on awesome restart

This doesn't spawn a new process every second but attaches to the
awesome exit signal. #8