summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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-24News for icon stringsjao
2014-09-24Merge branch 'dynamic-strings' of https://github.com/projedi/xmobarjao
2014-09-24Rename dynamic string to icon patternAlexander Shabalin
2014-09-18News and credit to Philjao
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-17News updatejao
2014-09-17Merge branch 'commandfix' of https://github.com/phil5/xmobarjao
2014-09-17News and credit for Anton's excellent patchesjao
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-16Thanks and news for Travis and boder widthjao
2014-09-17Replace runCommand with system to eliminate zombiesPhil Xiaojun Hu
2014-09-16Add ability to set border widthTravis Staton
2014-09-14Add documentation for DynamicStrings.Alexander Shabalin
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-05News and readme updatejao
2014-09-05mtl 2.2.1jao
2014-09-04Missing XPMFile module added to xmobar.cabaljao
2014-09-04Merge branch 'xpm' of https://github.com/projedi/xmobarjao
2014-09-04Mention XPM support in readme.md when <icon> is introducedAlexander Shabalin
2014-09-04Add the header to XPMFileAlexander Shabalin
2014-09-04Linting for the multiline config support patchjao
2014-09-04News for multiline config supportjao
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
2014-09-03multiline strings supportDunric
2014-09-01Typo and news updatejao
2014-09-01New wind report variables for Weather monitorTony Morris
* Wind cardinal direction (`windCardinal`) * Wind azimuth direction (`windAzimuth`) * Wind speed (MPH) (`windMph`) * Wind speed (knots) (`windKnots`)
2014-08-29Credits for Tony Morrisjao
2014-08-29woops. Remove commented lineTony Morris
2014-08-29Change <dewPoint> to be <dewPointC> and <dewPointF>Tony Morris
2014-08-29hlint improvementsTony Morris
2014-08-12Top: these days, processes consuming > 1Gb RAM are seen in the wildjao
2014-08-09hlint refactoringsReto Hablützel
2014-08-09News/readme updatejao
2014-08-09MarqueePipeReader added to cabal filejao
2014-08-09typo: seperator --> separatorReto Hablützel
2014-08-09New Plugin MarqueePipeReaderReto Hablützel
Display a long text from a pipe with marquee. It wraps around with a given separator and the length may be specified as well as the delay in 10th seconds. See readme for an example.
2014-07-30News/readme updatesjao
2014-07-30Implement adaptive units for Net pluginAxel Angel
Adaptive units are computed only if suffix is enabled Otherwise we fall back to the old computation (KB)
2014-07-01Release 0.210.21jao
2014-06-28Docs updated for latest fixjao
2014-06-27Fix for CPU monitor on long-running systemsRobert J. Macomber
After running long enough, the numbers in /proc/stat get big enough that they will not fit in a Float without loss of precision, which leads to erratic results such as reporting "NaN%" CPU usage. This commit simply keeps the numbers integral until producing the final percentage result.