Safe Haskell | None |
---|---|
Language | Haskell98 |
- dmenu :: (ControlIO m, MonadThrow m) => [Text] -> Text -> m Text
- defaultDmenuOptions :: [Text]
- goBackList :: (ControlIO m, MonadReader r m, Has MainView r, MonadThrow m) => m URI
- goForwardList :: (ControlIO m, MonadReader r m, Has MainView r, MonadThrow m) => m URI
- itemToEntry :: WebHistoryItem -> IO (Maybe Text)
Documentation
:: (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.
defaultDmenuOptions :: [Text]
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)