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

Safe HaskellSafe-Infered

Hbro.History

Synopsis

Documentation

data Entry Source

Constructors

Entry 

Fields

mTime :: LocalTime
 
mURI :: URI
 
mTitle :: String
 

Instances

log :: PortableFilePath -> K ()Source

Log current visited page to history file

addSource

Arguments

:: PortableFilePath

History file

-> Entry

History entry to add

-> IO Bool 

Add a new entry to history file

parseEntry :: String -> Maybe EntrySource

Try to parse a String into a history Entry.

selectSource

Arguments

:: PortableFilePath

Path to history file

-> [String]

dmenu's commandline options

-> IO (Maybe Entry)

Selected history entry, if any

Open a dmenu with all (sorted alphabetically) history entries, and return the user's selection, if any