Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-30 | Refactor the usage of hGetLineSafe | Sibi Prabakaran | |
hGetLineSafe is always hGetLine and hence we can directly use it. | |||
2020-04-12 | Add a HandleReader Plugin | Pavan Rikhi | |
This adds a new `HandleReader` plugin, which displays data from a Haskell `Handle`. This is really only useful if you are running xmobar from within another Haskell program, but lets you avoid the mechanics of creating a named pipe with the proper file permissions. Instead, you can use `System.Process.createPipe` to make a pair of read & write Handles. If you pass the read handle to HandleReader, you can use hPutStr on the write Handle to send data to xmobar from your application code. |