hbro-contrib-1.5.0.0: Third-party extensions to hbro.

Safe HaskellNone
LanguageHaskell98

Hbro.Misc

Synopsis

Documentation

dmenu

Arguments

:: (ControlIO m, MonadThrow m) 
=> [Text]

dmenu's commandline options

-> Text

dmenu's input

-> m Text

Selected entry

Open dmenu with given input and return selected entry. This will block effectively the current thread.

goBackList :: (ControlIO m, MonadReader r m, Has MainView r, MonadThrow m) => m URI

List preceding URIs in dmenu and let the user select which one to load.

goForwardList :: (ControlIO m, MonadReader r m, Has MainView r, MonadThrow m) => m URI

List succeeding URIs in dmenu and let the user select which one to load.

itemToEntry :: WebHistoryItem -> IO (Maybe Text)