status-notifier-item-0.3.1.0: A wrapper over the StatusNotifierItem/libappindicator dbus specification

Safe Haskell | None
Language | Haskell2010

StatusNotifier.Util

# Documentation

getIntrospectionObjectFromFile :: FilePath -> ObjectPath -> Q Object Source #

generateClientFromFile :: GenerationParams -> Bool -> FilePath -> Q [Dec] Source #

ifM :: Monad m => m Bool -> m a -> m a -> m a Source #

makeLensesWithLSuffix :: Name -> DecsQ Source #

whenJust :: Monad m => Maybe a -> (a -> m ()) -> m () Source #

convertARGBToABGR :: Word32 -> Word32 Source #

networkToSystemByteOrder :: ByteString -> ByteString Source #

maybeToEither :: b -> Maybe a -> Either b a Source #

makeErrorReply :: ErrorName -> String -> Reply Source #

logErrorWithDefault :: Show a => (Priority -> String -> IO ()) -> b -> String -> Either a b -> IO b Source #

logEitherError :: Show a => (Priority -> String -> IO ()) -> String -> Either a b -> IO (Maybe b) Source #

exemptUnknownMethod :: b -> Either MethodError b -> Either MethodError b Source #

exemptAll :: b -> Either MethodError b -> Either MethodError b Source #

(<..>) :: Functor f => (a -> b) -> f (f a) -> f (f b) infixl 4 Source #

(<<$>>) :: (a -> IO b) -> Maybe a -> IO (Maybe b) infixl 4 Source #

forkM :: Monad m => (i -> m a) -> (i -> m b) -> i -> m (a, b) Source #

tee :: Monad m => (i -> m a) -> (i -> m b) -> i -> m a Source #

(>>=/) :: Monad m => m a -> (a -> m b) -> m a Source #

getInterfaceAt :: Client -> BusName -> ObjectPath -> IO (Either MethodError (Maybe Object)) Source #

findM :: Monad m => (a -> m Bool) -> [a] -> m (Maybe a) Source #