Difference between revisions of "Xmonad/Config archive/adamvo's xmonad-recomp.lhs"
< Xmonad | Config archive
Jump to navigation
Jump to search
(add xmonad-recomp.lhs) |
(No difference)
|
Latest revision as of 00:19, 4 May 2009
#!/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