-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Rotates backdrops for X11 displays using Imagemagic.
--
-- Rotates backdrops for X11 displays using Imagemagic.
@package backdropper
@version 1.2
-- |
-- - Logger logic: a small wrapper to hslogger.
--
--
--
-- - Author Yann Golanski.
-- - Maintainer Yann Golanski
-- yann@kierun.org
-- - Description Wrapper to hslogger to get the time in
-- front of the message.
--
--
-- (c)2008 Yann Golanski, GPLv3 or above.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or (at
-- your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see
-- http://www.gnu.org/licenses/.
module Logger_logic
-- | Prints a logger message.
logger :: Priority -> [Char] -> IO ()
-- |
--
--
-- - Author Yann Golanski.
-- - Maintainer Yann Golanski
-- yann@kierun.org
-- - Description Wallpapers/Backdrop changer back
-- end.
--
--
-- (c)2008 Yann Golanski, GPLv3 or above.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or (at
-- your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see
-- http://www.gnu.org/licenses/.
module Rotating_backdrop_logic
-- | Iterates over all the images, picking a random one each the time.
iterateImages :: [String] -> Int -> IO ()
-- | Reads the list from the master file and starts iterating over it.
mainLoop :: FilePath -> Int -> IO t
-- | Reads a file and return a list those elements are lines.
parseImageFile :: FilePath -> IO [String]
-- | Gets a random number.
getRandomNumber :: Int -> IO Int
-- | Removes an element from a list: Problem 20, 99 Haskell problems.
removeElement :: Int -> [a] -> (a, [a])
-- | Changes the desktop image using qiv:
-- http:www.klografx.netqivindex2.html
changeDesktop :: String -> IO ExitCode
breaks :: (a -> Bool) -> [a] -> [[a]]