summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins
AgeCommit message (Collapse)Author
2012-08-12Fix 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-08-10Move safeHead to Plugins.UtilsJochen Keil
safeHead is a very general utility function with suits better into a common Util module.
2012-08-09Bugfix: Do not hide the window when toggling is off for this pipeJochen Keil
The window became hidden although the toggling behaviour was set to False for a particular pipe. This fixes this behaviour and hides the window only if the configuration option is set to True.
2012-08-09Bugfix: Replace TVar with TMVar for the old valueJochen Keil
This solves a problem when there is only one pipe in place. With a default value of "" and only one pipe with a timeout the value is overwritten with "" after the timeout. To prevent this from happening a TMVar is used which will never be filled if there is only one pipe.
2012-08-09Implement trigger method for BufferedPipeReader PluginJochen Keil
Using the trigger method activity on a pipe can now cause the window to appear (reveal) and disappear again after a given timeout. The timeout for hiding the window is the same as for restoring the pipes content. The timeout value is given in tenth of seconds.
2012-08-09Cosmetic surgeryJochen Keil
Realign methods, remove unnecessary imports and remove clutter
2012-08-08BufferedPipeReader: A plugin for temporary data displayJochen Keil
This plugin allows to display data from multiple pipes. New data will always overwrite the currently displayed data. However, if a timeout is specified, the previous content is restored. Configuration works like this: BufferedPipeReader <Alias> [ ( Timeout, "/path/to/fifo/pipe" ), (..), .. ] If Timeout is set to 0 then the content is persistent, i.e. it will be reset to any previous value, it will itself become the previous value. If Timeout is set to a negative value the earth will stop spinning, so don't do it.
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 the AutoMPD monitorBen Boeckel
2012-06-09Add a blocking call for MPD based on eventsBen Boeckel
2012-06-09Add runM variant which takes a blocking callBen Boeckel
This allows monitors to define update times other than time-based.
2012-06-04Mostly failed attempt to robustify disk usage monitorJose Antonio Ortega Ruiz
Since a kernel upgrade about two months ago, DiskU just blows up my xmobar apparently at random.
2012-05-20WhitespaceJose Antonio Ortega Ruiz
2012-05-05Kbd: compilation warnings and whitespaceJose Antonio Ortega Ruiz
2012-05-05Duplicate instance definition (github issue #45)Jose Antonio Ortega Ruiz
2012-05-05LintingJose Antonio Ortega Ruiz
2012-05-05Possible solution for coretemp files reading (github issue #38)Jose Antonio Ortega Ruiz
Apparently, temp1_label does not follow the same naming pattern as the rest of label files.
2012-04-15Net: distinguishing between faulty and not active interfacesJose Antonio Ortega Ruiz
2012-04-14Removed the N/A text, when interface is not found.Peter Kasza
2012-04-14net: hide output when interface is down.Peter Kasza
2012-04-14Removed 'modifyTVar' to be compatible with STM-2.3.Peter Kasza
2012-04-11Merge pull request #41 from mathstuf/dev/add-incremental-config-optionjao
dev/add-incremental-config-option
2012-03-19Disk usage monitor tweakJose Antonio Ortega Ruiz
Computing used space from total and available (rather than free) space.
2012-03-11Allow XMonadLog to have a separate name as wellBen Boeckel
2012-03-03Update the DateZone plugin to use newer time packageJonathan Grochowski
Just as the Date plugin used the old-time package which would honor all the available flags, so too did the DateZone plugin.
2012-03-03Update Date plugin to use newer time packageJonathan Grochowski
The Date plugin used the old-time package to format times which does not honor all escape sequences and optional flags (e.g. the - (hyphen) that should not pad the field).
2012-02-05Little compilation fix for MPD.hs in ghc 7.4Jose Antonio Ortega Ruiz
2012-02-01Wireless monitor honours padding settings for ESSIDsJose Antonio Ortega Ruiz
Hat tip David U.
2012-01-31DiskIO working with /dev entries which are symlinksJose Antonio Ortega Ruiz
We were getting confused by devices appearing in mtab by their symbolic path (such as an entry in /dev/disk/by-uuid and the like).
2012-01-01Configurable battery power scaleJose Antonio Ortega Ruiz
2011-12-26Back to nominal units for battery powerJose Antonio Ortega Ruiz
Must have been a glitch in my kernel version (?)
2011-12-22switched to mtimeArtem Tarasov
2011-12-21MPRIS pluginArtem Tarasov
2011-12-18New -d (decimal digits) monitor option (issue #58)Jose Antonio Ortega Ruiz
2011-12-18Battery: correct computation of wattsJose Antonio Ortega Ruiz
2011-12-17Batt improvements: watts display fix and no -c neededJose Antonio Ortega Ruiz
We no longer use -c to specify cases when only _design exists, but try to detect that automatically (as well as the energy/charge dichotomy). Also fixed a bug that precluded display of <watts> when no threshold colours were specified.
2011-12-10Fix for issue #62 (battery monitor on olpc hardware)Jose Antonio Ortega Ruiz
2011-11-16Merge remote-tracking branch 'skinner/localeDate' into localeDateJose Antonio Ortega Ruiz
2011-11-08WhitespaceJose Antonio Ortega Ruiz
2011-11-08Battery: last vestiges of lazy io removedJose Antonio Ortega Ruiz
2011-11-08A new attempt at fixing battery monitor's bailouts on awakeJose Antonio Ortega Ruiz
2011-11-03Battery monitor: better handling of exceptionsJose Antonio Ortega Ruiz
An attempt to fix #60, that is, crashes after power resumes due to unreadable battery stats files.
2011-11-03fix for ghc6Martin Perner
added applicative instance for ReaderT which was added in GHC7
2011-10-27DateZone, Date*L Plugin merges; DateZone API-Change!Martin Perner
To support multiple locales, an lock was introduced. Although through this, supporting DateL and DateZoneL would be cumbersome. To simplify the usage, DateZone was replaced with DateZoneL. Additionally the position of the Alias parameter was changed. Using "" as Zone parameter for DateZoneL simulates DateL. Providing also "" for locale simulates Date.
2011-10-26Adding locale support to Date pluginsMartin Perner
This commits adds support for localized datetime outputs like date(1).
2011-08-31Added standard header to kbdMartin Perner
2011-08-31Changed parametersMartin Perner
there is still the bug this plugin needs to be the last or parsing the config file fails
2011-08-31Added Keyboard Layout Indicator PluginMartin Perner