summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors
AgeCommit message (Collapse)Author
2014-03-09Merge remote-tracking branch 'rethab/master'Jose Antonio Ortega Ruiz
2014-03-09Handle inexistent devicesReto Hablützel
If a device is unplugged without prior unmounting, it still appears in the /etc/mtab file, which is used for this monitor. The problem is that this monitor canonicalized every path regardless of whether it actually existed or not. I basically added the 'only canonicalize if file exists'.
2014-03-07src/Plugins/Monitors/Volume.hs: port to alsa-mixer-0.2Sergei Trofimovich
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
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-05Handle errors better in Weather pluginBen Boeckel
2014-02-05Drop curl dependency for the HTTP moduleBen Boeckel
2014-02-05Find out whether the weather monitor is likely to blockBen Boeckel
Uses the HTTP module to do the work rather than curl.
2014-02-05Add a "ready" check to MPD monitorsBen Boeckel
If the MPD server isn't responsive or the network is down, MPD will no longer block xmobar from doing its job.
2014-02-05Add support for monitors to indicate they may blockBen Boeckel
Useful when the network is down or something else is causing issues.
2014-02-04Use MemAvailable from meminfo if possibleBen Boeckel
Use the functionality from newer kernels if available. Basically, the free+buffer+cache metric is a massive hack and not accurate anyways (e.g., not all cache can be swapped out and kernel accounting can change whenever). Kernels 3.14 and newer have MemAvailable in meminfo which is more accurate; use it if possible.
2014-02-05Couple of nitsJose Antonio Ortega Ruiz
2014-02-05Fix for infinite loops when MPD is not runningJose Antonio Ortega Ruiz
Should address #76 and #111.
2014-02-04Parse out fields from /proc/meminfoBen Boeckel
Newer kernels have changed the order of the lines in the /proc/meminfo find (MemAvailable is now line 3). To support this and older kernels, use the key from the map when getting data from it rather than static line numbers.
2013-12-30Fix for time estimation when using the previous workaroundJose Antonio Ortega Ruiz
2013-12-30Battery: workaround for obsolete current_nowJose Antonio Ortega Ruiz
2013-12-30Fix for Top parsing of command lines containing blanksJose Antonio Ortega Ruiz
2013-11-25findFiles renamed for directory-1.2.0.2 compat (fixes #137)Jose Antonio Ortega Ruiz
2013-10-27New N/A string monitor option (cf. #119)Jose Antonio Ortega Ruiz
2013-10-27Using width options in wattage display (fixes #118)Jose Antonio Ortega Ruiz
2013-08-13Version bumpJose Antonio Ortega Ruiz
2013-08-11Plugins.Monitors.Weather: fix parsing of unknown station nameSergei Trofimovich
reported by thunderrd Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2013-07-20Honouring -d in CoreTempJose Antonio Ortega Ruiz
Fixes issue #115
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-26New idle status for battery monitorJose Antonio Ortega Ruiz
2013-05-26Refactoring and slight generalisation of the new Battery featureJose Antonio Ortega Ruiz
2013-05-26Allowing template variables in Battery's -O and -o argsJose Antonio Ortega Ruiz
Should address github issue #109. Thanks to Todd Lunter for the suggestion.
2013-04-20Use intercalate instead of explicit foldlJohn Tyree
2013-04-06caps battery percentage at 100%.RJ Regenold
2013-03-18Introduce <freeratio> variable into the memory monitor.Peter Simons
2013-02-23Allow icons in monitor templatesTomas Janousek
2013-02-04Removing uneeded uses of hiding (catch)Jose Antonio Ortega Ruiz
2013-02-04Remove unsafe fromJust from Volume pluginDmitry Malikov
2012-10-12Additional MPRIS2 argumentsJose Antonio Ortega Ruiz
2012-10-11Fix for #73: third try: retain old behaviour for diskU, use device for ↵John Soros
diskIO if device is not mounted
2012-10-11Second try at fixing #73 and #74: enable io monitoring for non-mounted disksJohn Soros
2012-10-08Enable the monitoring of non-mounted disks and partitions in DiskIOJohn Soros
2012-10-08Fixes for warnings reported in github issue #71Jose Antonio Ortega Ruiz
2012-10-06Not using deprecated `catch` in PreludeJose Antonio Ortega Ruiz
2012-10-06Whitespace and untabificationJose Antonio Ortega Ruiz
2012-09-14better readable codeReto Habluetzel
2012-09-14removed todo commentsReto Habluetzel
2012-09-04automatic detection of devices using /sys/class/net directoryReto Habluetzel
2012-08-29cleaned up imports, renamed variableReto Habluetzel
2012-08-29added dynnetwork, which selects the busiest network of a list and displays itReto Habluetzel
2012-08-11Fix the MPRIS plugin to work with DBus >= 0.10Jochen Keil
This commit updates the mpris plugin to use the DBus 0.10 interface. DBus-Core does no longer exist and is deprecated. DBus 0.10 does not use proxies anymore. The dependency on Data.Text also disappeared. Since I do not have/use mpris I cannot test if this works. It should however, since the functionality was just transformed to use the new interface.
2012-07-28Fixes for DiskU, which was exploding on recent LinuxJose Antonio Ortega Ruiz
We're using now the recommended statvfs interface, instead of the obsolete statfs64. Moreover, we compute correctly the used space.
2012-07-21Merge remote-tracking branch 'math/dev/mpd-idle' into mpdJose Antonio Ortega Ruiz
Conflicts: xmobar.cabal
2012-07-17xmobar.cabal: port to libmpd-0.8.Sergei Trofimovich
Now all values are returned as 'Value' wrapped entries. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-06-09Add a blocking call for MPD based on eventsBen Boeckel