summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-01-23Fix Net monitor for large uptimes/bytecountsTomas 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-30When xpm flag is disabled don't use XPMFile in preprocessorSergei Trofimovich
Otherwise build fails on preprocessor stage as: Building xmobar-0.24.3... Preprocessing executable 'xmobar' for xmobar-0.24.3... XPMFile.hsc:29:21: fatal error: X11/xpm.h: No such file or directory compilation terminated. Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/601262 Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2016-11-21Bug fix: off-by-one drawing bordersjao
2016-11-05Credits to Zev Weissjao
2016-11-04Fix MultiCpu monitor for large uptimesZev Weiss
This is essentially commit a0397ad2 applied to MultiCpu.
2016-09-14tell the user what went wrong in the event of a failuremichael bishop
2016-09-05Release 0.24.30.24.3jao
2016-08-12Battery monitor: yet another stab at #271jao
2016-08-11Battery: report Full instead of Idle when the battery looks fulljao
2016-08-10Battery: inferring status from watts/ac when Unknownjao
2016-08-10Batt.hs: fix by Matthew Bekkema (see #231)jao
2016-08-08version 0.24.20.24.2jao
2016-08-05New weather stats URL (fixes #270)jao
2016-07-28Web contents fixjao
2016-07-28Trivial compiler warning0.24.1jao
2016-07-28Version 0.24.1jao
2016-07-28Fixing compatibility with GHC 7.6jao
2016-07-27Copyright datesjao
2016-07-27Missing release date in news.mdjao
2016-07-27Better ghc-prof-options: no options at all0.24jao
2016-07-27Better ghc-prof-options: no -auto-alljao
2016-07-27Typojao
2016-07-27News and readme updates (credit to Will Song)jao
2016-07-27Trivial fixes for compiler warningsjao
2016-07-27Add expandEnv function and use it in PipeReader family of monitorsWill 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-26Sensible thresholds for high/low battery power consumptionjao
Fixes #265.
2016-07-26MPris: honour field padding and width optionsjao
2016-07-26New monitor argument -T (maximum total width)jao
2016-07-26News update and version bumpjao
2016-05-05Batt nitsjao
2016-05-05Batt: reading status more robustlyjao
2016-05-04Fixes for Battery status computations (issue #231)jao
2016-04-30Fix for empty metadata in MPris callsjao
2016-03-01feat(MPD): add <date> support in templateDelapouite
2016-02-03Add stack.yamlSidharth Kapur
2016-02-03readme: fix license link typoxd1le
2016-01-13Update PipeReader.hszlbruce
threadDelay is in microseconds, It is unnecessary to check pipe every millisecond
2016-01-06Whitespacejao
2016-01-06News and authors updatejao
2016-01-06alsa plugin dep updated to 0.2.0.3jao
2016-01-03volume: allow alsa capture devices to be monitoredAntoine Eiche
For instance, the following command can be used in the configuration file: Run Volume "default" "Capture" [] 10
2015-12-31Valentin S. added to contributors listjao
2015-12-31Added "-p" launch optionValentin Shirokov
`-p "string"` will override position settings set in configuration file. Useful for launching multiple xmobars from single configuration file, which is almost necessary when using non-monospace fonts.
2015-12-21Fix typos in readme.mdNicolas Kaiser
2015-12-12Move wind speed calculation functions to let clauseMichael Knabe
2015-12-09Add template variables for wind speed in m/s and km/h to weather pluginMichael Knabe
2015-09-26mpd: update on option changes as wellBen Boeckel
Now that flags are watched as well, updates should be triggered on option changes.
2015-09-26xmobar.config: fix whitespaceBen Boeckel
2015-08-25Dragos added to news and readmejao
2015-08-25Update readme.mdDragos Boca
add references