Xmonad/Config archive/adamvo's xmonad-recomp.lhs
From HaskellWiki
< Xmonad | Config archive
#!/usr/bin/env runhaskell This is used to recompile xmonad only when ~/.xmonad/xmonad.hs has been changed since the last recompile: xmonad --recompile forces a recompile regardless. Place this script somewhere in your path, and chmod +x > import XMonad > import System.Exit > import Control.Monad > main = recompile False >>= flip unless exitFailure
