hbro-0.9.0.0: Minimal KISS compliant browser

Safe HaskellSafe-Infered

Hbro.Util

Contents

Synopsis

General purpose

io :: MonadIO m => IO a -> m aSource

resolve :: (RefDirs -> a) -> IO aSource

Process management

spawn :: String -> [String] -> IO ()Source

Run external command and won't kill when parent process exit.

getAllProcessIDs :: IO [ProcessID]Source

Return the list of process IDs corresponding to all running instances of the browser.

Boolean data-types conversion

Common pango attributes

Misc

labelSetMarkupTemporary :: Label -> String -> Int -> IO ()Source

Set a temporary markup text to a label that disappears after some delay.

dmenuSource

Arguments

:: [String]

dmenu's commandline options

-> String

dmenu's input

-> IO (Maybe String)

Selected entry

Open dmenu with given input and return selected entry.