<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xmobar/src, branch 0.32</title>
<subtitle>a minimalistic status bar</subtitle>
<id>https://jao.io/cgit/xmobar/atom?h=0.32</id>
<link rel='self' href='https://jao.io/cgit/xmobar/atom?h=0.32'/>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/'/>
<updated>2019-12-08T17:03:03Z</updated>
<entry>
<title>Undocumented for now non-contiguous Disk</title>
<updated>2019-12-08T17:03:03Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2019-12-08T17:03:03Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=235f4e76e37aab6475a09f95486238f947c866d9'/>
<id>urn:sha1:235f4e76e37aab6475a09f95486238f947c866d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DateZone: get timezone series from TZDIR</title>
<updated>2019-11-17T19:17:08Z</updated>
<author>
<name>Emmanuel Rosa</name>
<email>emmanuelrosa@protonmail.com</email>
</author>
<published>2019-11-17T05:05:41Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=c175588099632c474f988fb4a61ab51ad2523975'/>
<id>urn:sha1:c175588099632c474f988fb4a61ab51ad2523975</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>MPD monitor: host and port specifiable in config</title>
<updated>2019-11-14T00:35:46Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2019-11-13T23:49:52Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=6150993d0528b2a081b3d7e0b7e76732a611625d'/>
<id>urn:sha1:6150993d0528b2a081b3d7e0b7e76732a611625d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimize Net a bit (noticeably less CPU/power usage)</title>
<updated>2019-10-28T22:22:04Z</updated>
<author>
<name>Tomas Janousek</name>
<email>tomi@nomi.cz</email>
</author>
<published>2019-10-28T21:59:31Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=74df93eaa2da360af6593fe473698d211370de15'/>
<id>urn:sha1:74df93eaa2da360af6593fe473698d211370de15</id>
<content type='text'>
- 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).
</content>
</entry>
<entry>
<title>add filtering option for Net devices (#408)</title>
<updated>2019-10-21T17:17:49Z</updated>
<author>
<name>vindex10</name>
<email>vindex10@gmail.com</email>
</author>
<published>2019-10-21T17:17:49Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=e9638fdc41ccd0876f17b4344461deaa109332e2'/>
<id>urn:sha1:e9638fdc41ccd0876f17b4344461deaa109332e2</id>
<content type='text'>
* add filtering option for Net devices

* relate to comments

* upd readme

* add few more words to readme
</content>
</entry>
<entry>
<title>A second attempt at fixing #405</title>
<updated>2019-10-15T20:36:23Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2019-10-15T20:36:23Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=238905099eb7d6a0ee44dadc2ff051692d8831f6'/>
<id>urn:sha1:238905099eb7d6a0ee44dadc2ff051692d8831f6</id>
<content type='text'>
This time taking into account that ~/.config/xmobar could be populated
</content>
</entry>
<entry>
<title>Battery: -P to show %</title>
<updated>2019-10-15T02:01:30Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2019-10-15T02:01:30Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=d0c5040aca2add1398e37ef96004924fc8e6ee41'/>
<id>urn:sha1:d0c5040aca2add1398e37ef96004924fc8e6ee41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New plugin: MailX</title>
<updated>2019-10-15T00:41:53Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2019-10-15T00:41:53Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=eedfac13b83ebf3eafcdd552f15cb34710860381'/>
<id>urn:sha1:eedfac13b83ebf3eafcdd552f15cb34710860381</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't create .xmobar if it doesn't exist (issue #405)</title>
<updated>2019-10-14T22:29:16Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2019-10-14T22:29:16Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=5f10530aeba57c85192572ca4e4b125b5d5654ef'/>
<id>urn:sha1:5f10530aeba57c85192572ca4e4b125b5d5654ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ability to display string based on volume percentage</title>
<updated>2019-10-14T10:55:31Z</updated>
<author>
<name>slotThe</name>
<email>soliditsallgood@tuta.io</email>
</author>
<published>2019-10-14T10:41:39Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=85f9d7c227cbfb761b8f578a522095ea675ad612'/>
<id>urn:sha1:85f9d7c227cbfb761b8f578a522095ea675ad612</id>
<content type='text'>
</content>
</entry>
</feed>
