state package:xmonad

Embed a simple state action into the monad.
Existential type to store a state extension.
Non-persistent state extension
A type to help serialize xmonad's state to a file.
Minimal definition is either both of get and put or just state
interface to the X11 library function XSetState().
XState, the (mutable) window manager state.
Common non-predefined atoms
stores custom state information. The module XMonad.Util.ExtensibleState in xmonad-contrib provides additional information and a simple interface for using this.
Read the state of a previous xmonad instance from a file and return that state. The state file is removed after reading it.
Set a window's WM_STATE property.
Write the current window state (and extensible state) to a file so that xmonad can resume with that state intact.