summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins
AgeCommit message (Collapse)Author
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-05-13add a checkPipe loop for waiting the pipe filezlbruce
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-27WhitespaceJose Antonio Ortega Ruiz
2012-09-25Added keyboard lock status command.Patrick Chilton
2012-09-15removed PipeReader2 as funcionality was move to PipeReaderReto Habluetzel
2012-09-15Enhanced PipeReader capabilitiesReto Habluetzel
* Removed PipeReader2 * PipeReader pipename can be prefixed with default. (e.g. "I am default:/home/foo/pipe")
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-27added PipeReader2 which accepts a defaultReto Habluetzel
2012-08-22Make it possible to delay Hide, Reveal and Toggle signalsJochen Keil
Previously Hide, Reveal and Toggle were immediate actions. This is the same behaviour as if called now with 0 as parameter. If the parameter is a positive non zero value it is taken as a delay for the requested action. After the delay (implemented using threadDelay) a new signal is sent with zero with no timeout being effective immediately. This is necessary to evaluate the persistency flag after the delay because it might have changed in the meantime. Effectively this means that it is possible to cancel the delayed operation by calling TogglePersistent.
2012-08-14Bugfix: Replace the TMVar String with a TVar (Maybe String)Jochen Keil
The problem was a race condition which occured when running multiple threads with a small timeout value. Then the TMVar could be left empty. (e.g. hitting a key which causes an operation to write to the pipe very fast) This meant that tryTakeTMVar would return Nothing which would cause all subsequent reset threads to not call cb and keep a stale string on display. By using a Maybe String wrapped in a TVar there is always a valid value available which can be used to restore the display (or not if it's Nothing, but that's desired then and not because another thread was scheduled earlier).
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