Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-04 | Replace parseOpts with a generic function | slotThe | |
2020-01-04 | hliting | jao | |
2020-01-04 | Update readme and changelog | slotThe | |
2020-01-04 | Add 'WeatherOpts' type and first option to weather plugin | slotThe | |
The first option applied here is a default value for a field that's not always reported to be there, namely the 'weather' field. It now defaults to saying "normal" instead of displaying an empty string. | |||
2019-12-23 | Add support for the "Weather" field | slotThe | |
2019-12-08 | Undocumented for now non-contiguous Disk | jao | |
2019-11-17 | DateZone: get timezone series from TZDIR | Emmanuel Rosa | |
The DateZone plugin calls `getTimeZoneSeriesFromOlsonFile` using the hard-coded path /usr/share/zoneinfo. While that may work just fine on most Linux distros, it does not work on NixOS since that directory is always locates somewhere under /nix/store. Based on mild research, it seems the environment variable TZDIR is commonly set to the absolute path to `zoneinfo` (but without a trailing slash). This change modifies the DateZone plugin to first try getting the zoneinfo path from the TZDIR environment variable, falling back to the hard-coded path /usr/share/zoneinfo | |||
2019-11-14 | MPD monitor: host and port specifiable in config | jao | |
2019-10-28 | Optimize 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-21 | add 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-15 | A second attempt at fixing #405 | jao | |
This time taking into account that ~/.config/xmobar could be populated | |||
2019-10-15 | Battery: -P to show % | jao | |
2019-10-15 | New plugin: MailX | jao | |
2019-10-14 | Don't create .xmobar if it doesn't exist (issue #405) | jao | |
2019-10-14 | Add ability to display string based on volume percentage | slotThe | |
2019-10-14 | Add VolumeStatus and ways to convert Float -> VolumeStatus, VolumeStatus -> ↵ | slotThe | |
[low,medium,high]String | |||
2019-10-14 | Add types for displaying a string based on volume percentage | slotThe | |
2019-10-14 | Add types for percentage based volume control | slotThe | |
2019-10-13 | Plugins/Kbd: ignore "terminate" layout token | Greg Steuck | |
This fixes printing of Kbd from terminate(ctrl_alt_bksp) to RU as expected given this config stanza: , Run Kbd [("us", "US"), ("ru", "RU")] and this layout: % setxkbmap -print xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(pc105)+terminate(ctrl_alt_bksp)+ru:2+capslock(grouplock)" }; xkb_geometry { include "pc(pc105)" }; }; | |||
2019-10-12 | Replacing the cute <> operator to make GHC 8.0/8.2 happy | jao | |
2019-10-12 | Display additional strings depending on battery status | slotThe | |
2019-10-10 | Fix type errors in MPD plugin | John Tyree | |
2019-10-06 | hlinit | jao | |
2019-10-05 | New flag `contiguous-icons` for `MultiCpu` (issue #388) | jao | |
2019-09-06 | Write error log to data dir, not conf dir | Chuck | |
Write xmobar.errors to XMOBAR_DATA_DIR, not XMOBAR_CONFIG_DIR. This allows XMOBAR_CONFIG_DIR to be read-only. This brings xmobar into alignment with how xmonad manages its analogous directories (before this change, a read-only DATA dir worked with xmonad but not with xmobar). | |||
2019-07-14 | allow seperate icon-patterns in MultiCoreTelp | Felix Springer | |
2019-07-12 | fixed old CoreTemp in Monitors.hs, set up xmobar.cabal for MultiCoreTemp | Felix Springer | |
2019-07-12 | put in old CoreTemp | Felix Springer | |
2019-07-12 | moved CoreTemp to MultiCoreTemp | Felix Springer | |
2019-07-12 | used hlint to fix some unnecessary syntax | Felix Springer | |
2019-07-12 | display core temperatures right | Felix Springer | |
2019-07-12 | changed credentials | Felix Springer | |
2019-07-12 | added comments | Felix Springer | |
2019-07-12 | plugin complete, might need better comments | Felix Springer | |
2019-07-11 | last check for core files and labels still missing | Felix Springer | |
2019-07-11 | got basic functions working, accessing files still needs some love | Felix Springer | |
2019-07-10 | cosmetic change | Felix Springer | |
2019-07-10 | eta conversion in startCoreTemp | Felix Springer | |
2019-07-10 | fixed template | Felix Springer | |
2019-07-10 | properly indented runCoreTemp | Felix Springer | |
2019-07-10 | cleared everything up | Felix Springer | |
2019-07-10 | touched up CoreTemp to use startCoreTemp | Felix Springer | |
2019-06-30 | Eye candy | jao | |
2019-06-30 | You're just nitpicking, hlint | jao | |
2019-06-30 | Fix: only call the low battery action when not using AC | jao | |
2019-06-30 | hlinting | jao | |
2019-06-30 | New options -a, -A for low battery notifications | jao | |
2019-06-29 | New WeatherX variant with sky conditions translations | jao | |
2019-05-23 | New DiskIO template variables with bytes rather than speed (#390) | jao | |
2019-04-21 | Batt: level color set also for AC on/off string | jao | |