Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-29 | Preprocessor nits | jao | |
2017-04-29 | Preprocessor nits | jao | |
2017-04-29 | CPP for GHC 8.0 | jao | |
2017-04-29 | Compilation warnings (redundant imports) in GHC 8.0 | jao | |
2017-04-29 | hlint configuration | jao | |
2017-03-03 | More paths for CoreTemp (issue #291) | jao | |
2017-01-23 | Fix Net monitor for large uptimes/bytecounts | Tomas Janousek | |
My laptop currently has rx/tx bytes in 10s of gigabytes and it's only been up for 20 days. Normally it's several times more. At this point, Float can only tell the difference of 4KB and up: Prelude> let x = (50 * 2^30 :: Float) in (x + 2000) - x 0.0 Prelude> let x = (50 * 2^30 :: Float) in (x + 3000) - x 4096.0 This commit makes the Net monitor read Word64 which is exactly what the kernel prints into /proc/net/dev [1] and converts to Float only after subtracting the two numbers. [1] https://github.com/torvalds/linux/blob/7a308bb3016f57e5be11a677d15b821536419d36/net/core/net-procfs.c#L82 Still, I think it's time to switch from Float to Double. At half-gigabit speeds (easily attainable at home while rsyncing over a direct UTP cable between two post-2010 laptops), Float can only tell the difference of 8 bytes and up (and I'm not even considering takeDigits!). That's probably okay for a Net monitor in xmobar, but we're so close to the limit it makes sense to move to Double just in case. | |||
2016-11-04 | Fix MultiCpu monitor for large uptimes | Zev Weiss | |
This is essentially commit a0397ad2 applied to MultiCpu. | |||
2016-08-12 | Battery monitor: yet another stab at #271 | jao | |
2016-08-11 | Battery: report Full instead of Idle when the battery looks full | jao | |
2016-08-10 | Battery: inferring status from watts/ac when Unknown | jao | |
2016-08-10 | Batt.hs: fix by Matthew Bekkema (see #231) | jao | |
2016-08-05 | New weather stats URL (fixes #270) | jao | |
2016-07-28 | Fixing compatibility with GHC 7.6 | jao | |
2016-07-27 | Add expandEnv function and use it in PipeReader family of monitors | Will Song | |
expandEnv takes a string and expands the environment variables it can find. variable substringing (e.g. ${VAR:1} to lop off the first character) is not supported, but $VAR and ${VAR} formats are, with the former being delimited by punctuation, but not underscores. | |||
2016-07-26 | Sensible thresholds for high/low battery power consumption | jao | |
Fixes #265. | |||
2016-07-26 | MPris: honour field padding and width options | jao | |
2016-07-26 | New monitor argument -T (maximum total width) | jao | |
2016-05-05 | Batt nits | jao | |
2016-05-05 | Batt: reading status more robustly | jao | |
2016-05-04 | Fixes for Battery status computations (issue #231) | jao | |
2016-04-30 | Fix for empty metadata in MPris calls | jao | |
2016-03-01 | feat(MPD): add <date> support in template | Delapouite | |
2016-01-13 | Update PipeReader.hs | zlbruce | |
threadDelay is in microseconds, It is unnecessary to check pipe every millisecond | |||
2016-01-06 | Whitespace | jao | |
2016-01-03 | volume: allow alsa capture devices to be monitored | Antoine Eiche | |
For instance, the following command can be used in the configuration file: Run Volume "default" "Capture" [] 10 | |||
2015-12-12 | Move wind speed calculation functions to let clause | Michael Knabe | |
2015-12-09 | Add template variables for wind speed in m/s and km/h to weather plugin | Michael Knabe | |
2015-09-26 | mpd: update on option changes as well | Ben Boeckel | |
Now that flags are watched as well, updates should be triggered on option changes. | |||
2015-08-25 | define flag 'with_conduit' | Dragos Boca | |
2015-08-18 | use Network::HTTP::Conduit | Dragos Boca | |
2015-08-18 | Batt: protecting against charge_now > charge_full | jao | |
(yes, it's happening on an xps with kernel 4.1.5) | |||
2015-05-13 | Weather Monitor: Handle case where wind is not present at all | Reto Hablützel | |
2015-05-01 | uvmeter: new plugin showing UV data (Australia) | Roman Joost | |
This patch adds a new optional plugin showing UV data for Australian users. The data is aquired by simple HTTP request from the Australian Radiation Protection and Nuclear Safety Agencies XML data feed. The uvmeter plugin can be configured ovserving multiple different station across the country. The alias now defaults to 'uv <stationid>'. | |||
2015-04-14 | De-ambiguify TimeLocale when DateZone is enabled | Edward Tjörnhammar | |
2015-04-02 | Make M an Applicative instance | Edward Tjörnhammar | |
2015-04-02 | De-ambiguify defaultTimeLocale using CPP | Edward Tjörnhammar | |
2015-03-11 | Another attempt at better error handling in Volume | jao | |
2015-03-09 | Revert "Fix for GHC 7.8.4 (issue #213)" | jao | |
This reverts commit 1668793e69b7e7c78b7c5b4fd05a256c8ea9f0b1. | |||
2015-03-08 | Fix for GHC 7.8.4 (issue #213) | jao | |
2015-03-08 | Better error control in Volume monitor | jao | |
2015-02-01 | Added 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. | |||
2014-12-26 | Honour the -S (show suffix) monitor flag in CpuFreq | jao | |
2014-12-15 | MPD: add a new template variable 'flags' | Duncan Burke | |
Displays playback flags in the style of ncmpcpp. | |||
2014-11-12 | Introduce available memory variables in memory monitor | Samuli 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-09-28 | Using fromMaybe | jao | |
2014-09-28 | Upgrade to libmpd 0.9 | jao | |
2014-09-24 | Merge branch 'dynamic-strings' of https://github.com/projedi/xmobar | jao | |
2014-09-24 | Rename dynamic string to icon pattern | Alexander Shabalin | |
2014-09-16 | Locks: Implement event-driven locks indicator | Anton 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. |