-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | xmonad wallpaper extension
--   
--   Designed for xmonad users relies on feh to setup wallpaper. It allows
--   user to setup a random image as the wallpaper choosed from user
--   specified image directories.
@package xmonad-wallpaper
@version 0.0.1.5

module XMonad.Wallpaper.Expand

-- | Expand string using environment variables, shell syntax are supported.
--   Examples:
--   
--   <pre>
--   &gt;&gt;&gt; epxand "$HOME/Pictures"
--   "/home/user/Pictures"
--   </pre>
--   
--   <pre>
--   &gt;&gt;&gt; expand "${HOME}ABC"
--   "/home/userABC"
--   </pre>
expand :: String -> IO String
instance GHC.Show.Show XMonad.Wallpaper.Expand.AST

module XMonad.Wallpaper.Find

-- | Recursively search supplied paths. Files are filtered by mimetypes,
--   which is determined by magic bits. Duplicated paths will be removed.
findImages :: [FilePath] -> IO [FilePath]
instance GHC.Classes.Eq XMonad.Wallpaper.Find.UnixFile
instance GHC.Show.Show XMonad.Wallpaper.Find.UnixFile

module XMonad.Wallpaper

-- | Example usage: (~<i>.xmonad</i>xmonad.hs)
--   
--   <pre>
--   import XMonad
--   import XMonad.Config.Desktop
--   import XMonad.Wallpaper
--   main = do
--       setRandomWallpaper ["paths-of-your choice", "$HOME/Pictures/Wallpapers"]
--       xmonad $ desktopConfig
--          { terminal    = "urxvt"
--          , modMask     = mod4Mask
--          }
--   </pre>
--   
--   paths will be expanded using environment variables, and paths are not
--   exist will be ignored during scan phase.
--   
--   For more information about path expansion, see also <a>expand</a>.
setRandomWallpaper :: [String] -> IO ()
