summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors
AgeCommit message (Collapse)Author
2019-10-28Optimize Net a bit (noticeably less CPU/power usage)Tomas Janousek
- use strict ByteString as the Lazy version of readFile allocates a 32k buffer even though we usually need much less (isUp needs a few bytes) - refactor NetDev datatype and use unsafeInterleaveIO in isUp to avoid reading the operstate file entirely if we're not interested in that device - postpone ByteString unpacking in netParser to shave off some cycles, and avoid ByteString unpacking in isUp entirely On my system with 8 network devices (and more if docker is up), this seems to reduce xmobar's CPU usage noticeably. I have two "Run Network" in xmobar configuration, for eth and wlan, so without these changes, xmobar would evaluate isUp 16 times a second, and each evaluation would allocate a buffer for the IO Handle and then another buffer for the lazy ByteString readFile. Now it only does isUp once for every device I'm interested in, and the only large buffers allocated are the IO Handle ones (getting rid of these isn't worth the code complexity).
2019-10-21add filtering option for Net devices (#408)vindex10
* add filtering option for Net devices * relate to comments * upd readme * add few more words to readme
2019-10-15Battery: -P to show %jao
2019-10-14Add ability to display string based on volume percentageslotThe
2019-10-14Add VolumeStatus and ways to convert Float -> VolumeStatus, VolumeStatus -> ↵slotThe
[low,medium,high]String
2019-10-14Add types for displaying a string based on volume percentageslotThe
2019-10-14Add types for percentage based volume controlslotThe
2019-10-12Replacing the cute <> operator to make GHC 8.0/8.2 happyjao
2019-10-12Display additional strings depending on battery statusslotThe
2019-10-10Fix type errors in MPD pluginJohn Tyree
2019-10-06hlinitjao
2019-10-05New flag `contiguous-icons` for `MultiCpu` (issue #388)jao
2019-07-14allow seperate icon-patterns in MultiCoreTelpFelix Springer
2019-07-12put in old CoreTempFelix Springer
2019-07-12moved CoreTemp to MultiCoreTempFelix Springer
2019-07-12used hlint to fix some unnecessary syntaxFelix Springer
2019-07-12display core temperatures rightFelix Springer
2019-07-12changed credentialsFelix Springer
2019-07-12added commentsFelix Springer
2019-07-12plugin complete, might need better commentsFelix Springer
2019-07-11last check for core files and labels still missingFelix Springer
2019-07-11got basic functions working, accessing files still needs some loveFelix Springer
2019-07-10cosmetic changeFelix Springer
2019-07-10eta conversion in startCoreTempFelix Springer
2019-07-10fixed templateFelix Springer
2019-07-10properly indented runCoreTempFelix Springer
2019-07-10cleared everything upFelix Springer
2019-07-10touched up CoreTemp to use startCoreTempFelix Springer
2019-06-30You're just nitpicking, hlintjao
2019-06-30Fix: only call the low battery action when not using ACjao
2019-06-30hlintingjao
2019-06-30New options -a, -A for low battery notificationsjao
2019-06-29New WeatherX variant with sky conditions translationsjao
2019-05-23New DiskIO template variables with bytes rather than speed (#390)jao
2019-04-21Batt: level color set also for AC on/off stringjao
2019-02-07Always require http-conduit for weather (fixes #378)jao
2019-02-06Fix for warnings in when using conduitjao
2019-02-06Weather plugin: station URL updated to httpsjao
But, since simpleHTTP doesn't support HTTPS, the plugin only works when one compiles with `with_counduit`, which brings in an insane number of new deps. See #378
2019-01-19Alsa plugin: Refactor (move readerThread to toplevel)Daniel Schüssler
2019-01-19Alsa plugin: Restart alsactl if it quits (Fixes #376)Daniel Schüssler
2018-12-24Upgrade to alsa-mixer 0.3.0 (cf. #372, #373)jao
2018-12-03CoreCommon -> Common.Filesjao
2018-12-02Fix: exposing the Command constructors in libjao
2018-12-02Plugins.Monitors.Common refactored into submodulesjao
2018-11-25Xmobar.System.Utils, Xmobar.X11.Eventsjao
2018-11-25Back to app/src, since it seems they're the default convention for stackjao
2018-11-21All sources moved inside srcjao
2018-11-21Cabal file adapted to the library splitjao
2018-11-21Plugins.Monitors.Alsa moved to Xmobarjao
2018-11-21Split Modules into Library & Executable StructurePavan Rikhi
Move the Main module to a new `app` directory. All other modules have been nested under the `Xmobar` name. Lots of module headers & imports were updated.