-- 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:
--   
--   
--   >>> epxand "$HOME/Pictures"
--   "/home/user/Pictures"
--   
--   
--   
--   >>> expand "${HOME}ABC"
--   "/home/userABC"
--   
expand :: String -> IO String
instance GHC.Internal.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.Internal.Show.Show XMonad.Wallpaper.Find.UnixFile

module XMonad.Wallpaper

-- | Example usage: (~.xmonadxmonad.hs)
--   
--   
--   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
--          }
--   
--   
--   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 expand.
setRandomWallpaper :: [String] -> IO ()
