Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-16 | Locks: Rework to avoid unnecessary display reopening | Anton 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-17 | Replace runCommand with system to eliminate zombies | Phil Xiaojun Hu | |
2014-09-16 | Add ability to set border width | Travis Staton | |
2014-09-14 | Implement DynamicString for Monitors supporting vbar. | Alexander Shabalin | |
* Batt * Bright * Cpu * Disk * MPD * Mem * MultiCpu * Net * Volume * Wireless | |||
2014-09-14 | Add 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-11 | Fix string to calm wind report | Tony Morris | |
2014-09-11 | differentiate betwee 0 degrees and no wind speed using mu (μ) | Tony Morris | |
2014-09-11 | Occasionally there is no wind and a METAR report gives simply, "Wind: 0" | Tony Morris | |
2014-09-05 | Fix: not colorizings total size in DiskU (issue #189) | jao | |
2014-09-04 | Merge branch 'xpm' of https://github.com/projedi/xmobar | jao | |
2014-09-04 | Add the header to XPMFile | Alexander Shabalin | |
2014-09-04 | Linting for the multiline config support patch | jao | |
2014-09-03 | Add .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-03 | multiline strings support | Dunric | |
2014-09-01 | New wind report variables for Weather monitor | Tony Morris | |
* Wind cardinal direction (`windCardinal`) * Wind azimuth direction (`windAzimuth`) * Wind speed (MPH) (`windMph`) * Wind speed (knots) (`windKnots`) | |||
2014-08-29 | woops. Remove commented line | Tony Morris | |
2014-08-29 | Change <dewPoint> to be <dewPointC> and <dewPointF> | Tony Morris | |
2014-08-29 | hlint improvements | Tony Morris | |
2014-08-12 | Top: these days, processes consuming > 1Gb RAM are seen in the wild | jao | |
2014-08-09 | hlint refactorings | Reto Hablützel | |
2014-08-09 | typo: seperator --> separator | Reto Hablützel | |
2014-08-09 | New Plugin MarqueePipeReader | Reto 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-30 | Implement adaptive units for Net plugin | Axel Angel | |
Adaptive units are computed only if suffix is enabled Otherwise we fall back to the old computation (KB) | |||
2014-06-27 | Fix for CPU monitor on long-running systems | Robert 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. | |||
2014-06-09 | Allow user to define punctuation. | Conner McDaniel | |
I'd like to be able to choose which punctuation to use. All my other xmobar plugins use a colon and a space (e.g. `B: 100%` for battery), but this one leaves the space out (e.g. `E:1`) which is mildly annoying. It would be nice to let the user choose if he/she would like to use something other than a colon or to add extra whitespace. | |||
2014-06-01 | fix vertical text alignment calculation | Ryan Mulligan | |
the baseline (valign) is now set so the font will render with equal vertical margin above and below the font extents | |||
2014-05-30 | Unsafe versions of XPropertyLog and NamedXPropertyLog | Jose Antonio Ortega Ruiz | |
2014-05-29 | Adding UnsafeXMonadLog, similar to UnsafeStdinReader | Eric Mrak | |
2014-05-29 | Add <raw=len:str/> tags for handling tainted text | Nathaniel Wesley Filardo | |
2014-05-29 | Stop using '++ "&"' to background an action | Nathaniel Wesley Filardo | |
2014-05-29 | A simple CatInt monitor | Nathaniel Wesley Filardo | |
2014-05-04 | Accepting "unknown" as network device state | Jose Antonio Ortega Ruiz | |
Cf. discussion of issue #98 | |||
2014-05-03 | Fix: referencing the correct header in StatFs | Jose Antonio Ortega Ruiz | |
2014-05-03 | CoreTemp: Add alternative path for linux 3.15 | Tomas Janousek | |
Since v3.15-rc1, coretemp temperatures are elsewhere, see http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d72d19c26c417d514787ae85b197af34de286c0a http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bab2243ce1897865e31ea6d59b0478391f51812b | |||
2014-05-03 | CoreCommon: Try several paths in checkedDataRetrieval | Tomas Janousek | |
2014-04-17 | fix build on old versions of ghc by qualifying import to avoid conflict | Max DeLiso | |
2014-03-15 | MPD monitor has vbar for track progress | Eric Mrak | |
2014-03-15 | DiskU/DiskIO have vbar equivalents | Eric Mrak | |
2014-03-15 | Net plugin has txvbar and rxvbar | Eric Mrak | |
2014-03-15 | adding showLogVBar | Eric Mrak | |
2014-03-15 | showVerticalBar now takes the same arguments as showPercentBar | Eric Mrak | |
2014-03-14 | Wireless module has qualityvbar | Eric Mrak | |
2014-03-14 | Battery now has leftvbar | Eric Mrak | |
2014-03-14 | Memory monitor has freevbar and usedvbar | Eric Mrak | |
2014-03-13 | Volume module has volumevbar | Eric Mrak | |
2014-03-13 | Cpu now has vbar | Eric Mrak | |
2014-03-13 | Brightness hbar is now vbar | Eric Mrak | |
2014-03-13 | MultiCpu now has vbar | Eric Mrak | |
2014-03-13 | adding showVerticalBar option for monitors to use | Eric Mrak | |
2014-03-13 | Back to picking first screen by default (#158)0.20.1 | Jose Antonio Ortega Ruiz | |