Hey, How about adding a hook that's executed right before awesome exits? This would allow eg. dumping some stuff to a file thus making session saving possible.
The proposed patch will run the hooked functions inside awesome_atexit() which also takes effect during awesome restart (including xrandr enabling/rotating screens etc). Unfortunately it won't do anything on ctrl-alt-backsp or xserver crash but I guess that's not really possible. thanks, koniu -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.