packages feed

xmonad-wallpaper 0.0.1.1 → 0.0.1.2

raw patch · 5 files changed

+56/−16 lines, 5 filesdep ~basedep ~mtlPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, mtl

API changes (from Hackage documentation)

- XMonad.Wallpaper.Expand: instance GHC.Show.Show XMonad.Wallpaper.Expand.AST
- XMonad.Wallpaper.Find: instance GHC.Classes.Eq XMonad.Wallpaper.Find.UnixFile
- XMonad.Wallpaper.Find: instance GHC.Show.Show XMonad.Wallpaper.Find.UnixFile
+ XMonad.Wallpaper.Expand: instance Show AST
+ XMonad.Wallpaper.Find: instance Eq UnixFile
+ XMonad.Wallpaper.Find: instance Show UnixFile

Files

+ README.md view
@@ -0,0 +1,41 @@+### XMonad Wallpaper++#### Features++##### environment variable expansion++The following syntax are supported++```+$HOME++${HOME} +```++##### Images are scaned using mimetypes rather than extensions++XMonad Wallpaper scans user supplied directories by detecting their mimetype rather than rely on extension ++#### Installation++```+cabal install xmonad-wallpaper+```++#### Example mini configuration using wallpaper++```+import XMonad+import XMonad.Config.Desktop+import XMonad.Wallpaper++main = do+    -- Randomly pick a wallpaper from +    -- directories specified as wallpaper+    setupRandomWallpaper ["paths-of-your choice", "$HOME/Pictures/Wallpapers"]+    xmonad $ desktopConfig+       { terminal    = "urxvt"+       , modMask     = mod4Mask+       }++```
+ changelog.md view
@@ -0,0 +1,4 @@+### 0.0.1.2++Added ghc8 compatibility+Modified haddock
src/XMonad/Wallpaper.hs view
@@ -20,14 +20,9 @@ >        , modMask     = mod4Mask >        } -Paths will be expanded using environment variables. -The following syntax are supported:--> epxand $HOME/Pictures-\/home\/user/Pictures+paths will be expanded using environment variables, and paths are not exist will be ignored during scan phase. -> expand ${HOME}ABC-\/home\/userABC+For more information about path expansion, see also 'expand'.  -} 
src/XMonad/Wallpaper/Expand.hs view
@@ -32,14 +32,14 @@  expand :: String -> IO String {- |-Expand string using environment variables.-The following syntax are supported+Expand string using environment variables, shell syntax are supported.+Examples: -> epxand $HOME/Pictures-\/home\/user/Pictures+>>> epxand "$HOME/Pictures"+"/home/user/Pictures" -> expand ${HOME}ABC-\/home\/userABC+>>> expand "${HOME}ABC"+"/home/userABC" -} expand str = do     let ast = parse str
xmonad-wallpaper.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.0.1.1+version:             0.0.1.2  -- A short (one-line) description of the package. synopsis:            @@ -42,7 +42,7 @@  -- Extra files to be distributed with the package, such as examples or a  -- README.--- extra-source-files:  +extra-source-files:  README.md, changelog.md  -- Constraint on the version of Cabal needed to build this package. cabal-version:       >=1.10@@ -59,7 +59,7 @@   -- other-extensions:          -- Other library packages from which modules are imported.-  build-depends:       base >=4.8 && <4.9, unix >=2.7 && <2.8, xmonad >=0.11 && <0.12, mtl >=2.2 && <2.3, random >=1.1 && <1.2, magic >=1.1 && <1.2+  build-depends:       base >=3.0 && <5.0, unix >=2.7 && <2.8, xmonad >=0.11 && <0.12, mtl >=2.0 && <2.3, random >=1.1 && <1.2, magic >=1.1 && <1.2      -- Directories containing source files.   hs-source-dirs:      src