summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2015-03-11Fix for default icon vertical alignment (#216)jao
2015-03-11Another attempt at better error handling in Volumejao
2015-03-09Revert "Fix for GHC 7.8.4 (issue #213)"jao
This reverts commit 1668793e69b7e7c78b7c5b4fd05a256c8ea9f0b1.
2015-03-08Fix for GHC 7.8.4 (issue #213)jao
2015-03-08Compiler warningjao
2015-03-08Better error control in Volume monitorjao
2015-02-02Real fix: Xrender only available if with_xftjao
2015-02-01Fix for compilation with 7.8jao
Although i'm not sure what i really fixed
2015-02-01Added additional wind parser case for "Variable at"Dino Morelli
Wind data sometimes looks like this: "Wind: Variable at 3 MPH (3 KT):0" Note the missing direction info. This fix adds an additional parser for this case to pWind.
2015-01-09Change the `fontList` to `additionalFonts`Markus Scherer
2015-01-08Support for multiple fontsMarkus Scherer
2015-01-07Cleanups: not exporting XRender functions nobody usesjao
2015-01-07Whitespacejao
2015-01-07Honoring multiple fonts in the last fixjao
2015-01-07Honoring background color when alpha=255 (issue #209)jao
2014-12-30Linting and defaultsjao
2014-12-30Fix: use the right background area in transparencyjao
2014-12-30Default to opaquejao
2014-12-30Merge branch 'transparency' of https://github.com/ezyang/xmobarjao
Conflicts: src/Config.hs src/Main.hs src/Parsers.hs src/XUtil.hsc src/Xmobar.hs
2014-12-26Honour the -S (show suffix) monitor flag in CpuFreqjao
2014-12-18Allow the Xlib automatically choose a font size.Alexander Stepanenko
2014-12-15MPD: add a new template variable 'flags'Duncan Burke
Displays playback flags in the style of ncmpcpp.
2014-12-02New textOffset and iconOffset configuration parametersjao
2014-12-02Merge branch 'master' of https://github.com/ryantm/xmobar into ryantm-masterjao
Conflicts: src/Xmobar.hs
2014-11-12Introduce available memory variables in memory monitorSamuli Thomasson
Available memory is determined from meminfo's `MemAvailable:` on 3.14 and newer, and falls back to `free + buffer + cache` on older systems. Introduces new variables `<available{,ratio,bar,vbar,ipat}>`.
2014-10-11Compatibility with mtl 2.1jao
Thanks to Apollon Oikonomopoulos!!
2014-09-28Using fromMaybejao
2014-09-28Upgrade to libmpd 0.9jao
2014-09-26CLI switch for iconRoot (-i)jao
2014-09-24Add iconRoot config optionAlexander Shabalin
For all <icon=path/> if path does not start with "/", "./", "../" it will have iconRoot ++ "/" prepended to it.
2014-09-24Merge branch 'dynamic-strings' of https://github.com/projedi/xmobarjao
2014-09-24Rename dynamic string to icon patternAlexander Shabalin
2014-09-18Linting of the multixft patchjao
2014-09-18Merge branch 'multixft' of https://github.com/phil5/xmobarjao
2014-09-17Support XFT multiple fontsPhil Xiaojun Hu
2014-09-17Merge branch 'commandfix' of https://github.com/phil5/xmobarjao
2014-09-16Locks: Implement event-driven locks indicatorAnton Vorontsov
This commit does more fundamental rework of the "Locks" plug-in: now the plug-in is fully event-driven and thus extremely power-efficient, effectively zero CPU consumption while idling.
2014-09-16Locks: Rework to avoid unnecessary display reopeningAnton Vorontsov
The extremely useful "Locks" plugin eats quite a lot of CPU (>2% here on a old-ish laptop), unfortunately. The plug-in unnecessary reopens the display, which is quite expensive operation. It results into 16 syscalls: socket(PF_LOCAL) -> connect(sun_path=@"/tmp/.X11-unix/X0"}) -> getpeername() -> uname() -> access(".Xauthority") -> open(".Xauthority") -> fstat() -> mmap() -> read() -> close() -> munmap() -> getsockname() -> fcntl(F_SETFD) -> fcntl(F_SETFL) -> shutdown() -> close() This is almost half of all the syscalls that we ought to execute for the plug-in to work. Now, considering the useful work and that "Locks" runs every 200 milliseconds, it gives us >300 syscalls (and a lot more wake-ups) per second. This commit fixes the reopening issue, effectively halving the CPU consumption (down to ~1%). The patch also makes it easier to implement event-driven indicators that will reduce the idle CPU consumption to 0.
2014-09-17Replace runCommand with system to eliminate zombiesPhil Xiaojun Hu
2014-09-16Add ability to set border widthTravis Staton
2014-09-14Implement DynamicString for Monitors supporting vbar.Alexander Shabalin
* Batt * Bright * Cpu * Disk * MPD * Mem * MultiCpu * Net * Volume * Wireless
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-09-11Fix string to calm wind reportTony Morris
2014-09-11differentiate betwee 0 degrees and no wind speed using mu (μ)Tony Morris
2014-09-11Occasionally there is no wind and a METAR report gives simply, "Wind: 0"Tony Morris
2014-09-05Fix: not colorizings total size in DiskU (issue #189)jao
2014-09-04Merge branch 'xpm' of https://github.com/projedi/xmobarjao
2014-09-04Add the header to XPMFileAlexander Shabalin
2014-09-04Linting for the multiline config support patchjao
2014-09-03Add .xpm support for <icon> via libXpm.Alexander Shabalin
* Adds a new flag with_xpm to enable compilation with xpm support * Adds a module XPMFile only exporting readXPMFile which almost mirrors Graphics.X11.Xlib.Misc.readBitmapFile * During loadBitmap a file is first tried with readBitmapFile and if it fails with readXPMFile