summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
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-14Remove dependency for ghc's threaded runtimeMartin Perner
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-24Compilation in DragonFly fixed (#67)Jose Antonio Ortega Ruiz
2011-12-22switched to mtimeArtem Tarasov
2011-12-21MPRIS pluginArtem Tarasov
2011-12-18Better vertical alignment (stab at #56)Jose Antonio Ortega Ruiz
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-16Partial attempt at better vertical alignmentJose 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-03Compilation errors in OpenBSD fixedJose Antonio Ortega Ruiz
Hat tip Ivo van der Sangen.
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-09-19Merge branch 'screen_update' of git://github.com/skinner33/xmobar into ↵Jose Antonio Ortega Ruiz
skinner-screen_update
2011-09-19Refactored eventLoopMartin Perner
2011-09-19Merge branch 'screen_update' of git://github.com/skinner33/xmobar into ↵Jose Antonio Ortega Ruiz
skinner-screen_update Conflicts: NEWS src/XUtil.hsc
2011-09-16Changes signals usedMartin Perner
Switches HUP to USR1 and USR1 to USR2, as requested
2011-09-11Minor cleanupMartin Perner
2011-09-10Wrong value used to check for xrandr eventMartin Perner
Didn't tested xrandr events with that event detection. Notify value is 0, the one used (keypress) is 1
2011-09-10moved signal handler setup into eventloopMartin Perner
2011-09-10removed threading problem with XlibMartin Perner
The output just stopped at some point until a new XEvent was received As XLockDisplay is in theory a good idea, with XNextEvent blocking its not usable. As it turned out, a window can be shared between display connections. Now the eventloop has its own display connection (which also removes the need for the lock introduced before). Additionally the screeninfo doesn't need to be fetched into a TVar in the eventerloop anymore. Also this was needed for the signalHandlers to work correctly again.
2011-09-09complete reword of the eventLoopMartin Perner
*) replaced window destroy and create with a reposition *) replaced the exception for redraw with an MVar *) put nextEvent into an own thread, communication over the MVar *) signal handlers for repositioning and screen swap Notes: *) getScreenInfo is a parameter of eventLoop because it blocks when there is an nextEvent waiting for an new event
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
2011-08-31Merge pull request #26 from skinner33/alsadbjao
catch alsa exception on decibel acquire
2011-08-31Working versionMartin Perner
The last commit removed the exposure event which turned out to be a big problem. Although the bug still exists that not all xrandr events are received when normal events are enabled. To work around this problem a second display is created on which only the xrandr events are enabled. On an exposure event the eventqueue for this display is processed. The results are very good, in the worst case an exposure event must be triggered by the user on xmobar to update its position.
2011-08-31Update on Screen change worksMartin Perner
But I'm not sure if something is broken now...
2011-08-30Init commitMartin Perner
handle doesn't get all events. simple c program and simple haskell program are getting all of them. there must be something in xmobar which catches about 3 of the screenchange events ...
2011-08-30catch alsa exception on decibel acquireMartin Perner
This closes #17. For some reasons the alsa interface does not provide a dB value on all systems. Instead an error is returned. The alsa-mixer library checks for such return values and throws an exception if one is detected. This patch catches the exception and returns 0 as dB value.
2011-08-30Merge branch 'master' of github.com:jaor/xmobarJose Antonio Ortega Ruiz
2011-08-30Redundant OPTIONS pragma removedJose Antonio Ortega Ruiz
2011-08-27Fix the detection of the end of the command arrayMartin Perner
It was only looked for a ']' followed by space-characters and either a '}' or ','. This looks good in generally but considering that a command can have as its last input parameter an array e.g. ... , Run Something ["Do"] , Run XMonadLog ] , sepChar = "%" } ... This will not work unless 'Something' is the last command in the array. This patch fixes this problem, as a ',' is only accepted if it is not followed by a "Run".
2011-08-21Report iowait in Cpu monitor (fixes #55)Jose Antonio Ortega Ruiz
2011-08-21WhitespaceJose Antonio Ortega Ruiz
2011-08-21Wireless: treat <quality> as a %, and honor -p (fixes #48)Jose Antonio Ortega Ruiz
2011-08-21Merge remote-tracking branch 'github/master'Jose Antonio Ortega Ruiz
2011-08-21Show invalid input in case of parsing error in templateJose Antonio Ortega Ruiz
As a side-effect, parts without substitution vars will be displayed as-is, fixing a bug reported by RC in the mailing list.
2011-08-08Merge remote-tracking branch 'nzeh/master'Norbert Zeh
2011-08-08Cope with new file system layout of CPU temperature sensor readingsNorbert Zeh
Either due to a change in lm_sensors or in the kernel itself, the core temperature readings are no longer found in one directory per core but in multiple files in the same directory. What's worse is that the file names have little to do with the actual core number. This patch addresses this and is flexible enough to handle the old layout and the new one.
2011-07-31fix build failure against ghc-7.2Sergei Trofimovich
src/Plugins/Monitors/Top.hs:140:17: Illegal bang-pattern (use -XBangPatterns): ! r Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>