summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Common.hs
AgeCommit message (Collapse)Author
2014-09-14Add DynamicString as an alternative to vbars.Alexander Shabalin
* DynamicString is an Int -> String which takes a value from 0..8 and produces a string with this value embedded. Usefull for replacing vbars with icons: an icon per one of 9 states. * API is similar to that of vbar. * Default parser of DynamicString produces a function of `i` to a string that replaces all occurences of "%%" with `show i`
2014-08-29hlint improvementsTony Morris
2014-08-09hlint refactoringsReto Hablützel
2014-03-15adding showLogVBarEric Mrak
2014-03-15showVerticalBar now takes the same arguments as showPercentBarEric Mrak
2014-03-13adding showVerticalBar option for monitors to useEric Mrak
2014-02-15Fix runaway memory leak when expanding invalid tags, and remove errornand
Don't recursively parse on the case of an error. Also, in the case of an error, instead of replacing by an error message, replace by the tag itself to prevent mangling strings that legitimately include < and > characters, for example song titles when using the MPD plugin. I'm not sure how to handle this better. Honestly, I would like to remove the recursive parsing altogether but this works for now. Consider filing an issue for a proper resolution of this. I don't want rogue tags expanding themselves in my song titles.
2014-02-05Add support for monitors to indicate they may blockBen Boeckel
Useful when the network is down or something else is causing issues.
2013-10-27New N/A string monitor option (cf. #119)Jose Antonio Ortega Ruiz
2013-05-26Fixed the documentation around the functions to reflect the changesTodd Lunter
2013-05-26Made parseTemplate recursively replace template variables.Todd Lunter
2013-05-26Refactoring and slight generalisation of the new Battery featureJose Antonio Ortega Ruiz
2013-02-23Allow icons in monitor templatesTomas Janousek
2012-06-09Add runM variant which takes a blocking callBen Boeckel
This allows monitors to define update times other than time-based.
2011-12-18New -d (decimal digits) monitor option (issue #58)Jose Antonio Ortega Ruiz
2011-02-13NitJose Antonio Ortega Ruiz
2011-02-13Dead code elimination (doActionTwiceWithDelay)Jose Antonio Ortega Ruiz
2011-01-25Battery: unnecessary external calls to /usr/bin/cat removedJose Antonio Ortega Ruiz
2010-12-21Haskell sources moved to src/ to unclutter toplevelJose Antonio Ortega Ruiz