<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xmobar/src/Xmobar/App, branch 0.40</title>
<subtitle>a minimalistic status bar</subtitle>
<id>https://jao.io/cgit/xmobar/atom?h=0.40</id>
<link rel='self' href='https://jao.io/cgit/xmobar/atom?h=0.40'/>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/'/>
<updated>2021-11-03T00:35:31Z</updated>
<entry>
<title>hspace feature. Initial intent: make space for a tray</title>
<updated>2021-11-03T00:35:31Z</updated>
<author>
<name>tulthix</name>
<email>tulthix@gmail.com</email>
</author>
<published>2021-11-03T00:31:18Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=9d21a7dd818ece5247e2f75f13d588111e334d8c'/>
<id>urn:sha1:9d21a7dd818ece5247e2f75f13d588111e334d8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Filter filename when executing Haskell-based config</title>
<updated>2021-07-06T07:23:37Z</updated>
<author>
<name>slotThe</name>
<email>soliditsallgood@mailbox.org</email>
</author>
<published>2021-07-06T07:23:37Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=f2907ced81dc25bfe19ba3bd705d3b60f33ee68d'/>
<id>urn:sha1:f2907ced81dc25bfe19ba3bd705d3b60f33ee68d</id>
<content type='text'>
We are now—in case the user specified a Haskell file as their xmobar
configuration—threading the command line arguments that xmobar receives
to the relevant execv() call.  However, we simply shove in all arguments
originally given to xmobar, including the path to the configuration
file.  As main is now defined within that very file, this seems
unneccessary.

By filtering out that part of the arguments, the pattern that a lot of
users seem to follow for easy setting of certain options becomes a
little bit nicer.  For example:

    main :: IO ()
    main = getArgs &gt;&gt;= \case
      ["-x", n, _] -&gt; xmobar . config $ read n
      _            -&gt; xmobar $ config 0

becomes

    main :: IO ()
    main = getArgs &gt;&gt;= \case
      ["-x", n] -&gt; xmobar . config $ read n
      _         -&gt; xmobar $ config 0

Related: https://github.com/jaor/xmobar/pull/553
</content>
</entry>
<entry>
<title>Pass arguments if using xmobar.hs</title>
<updated>2021-07-01T14:27:59Z</updated>
<author>
<name>alternateved</name>
<email>alternateved@gmail.com</email>
</author>
<published>2021-07-01T14:27:59Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=12273cc0bf562b53d701fd0e8ccbbf67d40fd81b'/>
<id>urn:sha1:12273cc0bf562b53d701fd0e8ccbbf67d40fd81b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo `DRTSOPTS` -&gt; `RTSOPTS`</title>
<updated>2021-03-18T16:52:22Z</updated>
<author>
<name>Claudio Bley</name>
<email>claudio.bley@gmail.com</email>
</author>
<published>2021-03-18T16:52:22Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=61d075d3c275366c3344d59c058d7dd0baf21ef2'/>
<id>urn:sha1:61d075d3c275366c3344d59c058d7dd0baf21ef2</id>
<content type='text'>
The cpp option `-DRTSOPTS` results in `RTSOPTS` being defined.</content>
</entry>
<entry>
<title>Fix crash on &lt;fn=1&gt;x&lt;/fn&gt; when no additional fonts are specified</title>
<updated>2020-11-15T16:45:12Z</updated>
<author>
<name>Tomas Janousek</name>
<email>tomi@nomi.cz</email>
</author>
<published>2020-11-15T16:38:12Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=c7c26b047919b8f365b7fa79a958812ca2f77a01'/>
<id>urn:sha1:c7c26b047919b8f365b7fa79a958812ca2f77a01</id>
<content type='text'>
This fixes the following crash that happens with the default xmobar
configuration (using HOME=/ makes xmobar ignore ~/.xmobarrc):

    $ echo "&lt;fn=1&gt;x&lt;/fn&gt;" | HOME=/ xmobar
    xmobar: Prelude.!!: index too large

Commit 3e9e1cb9d300 ("Fix crashes/busy looping happening via index")
meant to fix this but apparently it only fixed indexing of fontlist, not
voffs, so the crash was still there.

Fixes: https://github.com/jaor/xmobar/issues/504
</content>
</entry>
<entry>
<title>additionalFonts command-line option: --add-font</title>
<updated>2020-10-09T18:09:30Z</updated>
<author>
<name>ivanbrennan</name>
<email>ivan.brennan@gmail.com</email>
</author>
<published>2020-09-21T12:28:23Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=796ad3a045528642495db549d3d870cfa34933da'/>
<id>urn:sha1:796ad3a045528642495db549d3d870cfa34933da</id>
<content type='text'>
Provide an option the user can specify any number of times to add to the
additionalFonts config field.
</content>
</entry>
<entry>
<title>hlinting</title>
<updated>2020-10-09T16:51:07Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-10-09T16:51:07Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=407866c433735e510b6bde2d06e2a18cff22c470'/>
<id>urn:sha1:407866c433735e510b6bde2d06e2a18cff22c470</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor ColorInfo to TextRenderInfo</title>
<updated>2020-08-07T17:49:33Z</updated>
<author>
<name>Unoqwy</name>
<email>julien.qwy@gmail.com</email>
</author>
<published>2020-07-24T08:22:49Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=afc7a9eff0c3b65b0df83e05dd90d2c2c8202a6c'/>
<id>urn:sha1:afc7a9eff0c3b65b0df83e05dd90d2c2c8202a6c</id>
<content type='text'>
ColorInfo contains background offsets, it is no longer only about colors
TextRenderInfo can hold information such as color, offsets, etc
</content>
</entry>
<entry>
<title>Allow font bg to be taller (or smaller)</title>
<updated>2020-08-07T17:49:26Z</updated>
<author>
<name>Unoqwy</name>
<email>julien.qwy@gmail.com</email>
</author>
<published>2020-07-23T23:53:15Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=43d1dc71f9900986168458d3af281453f41df966'/>
<id>urn:sha1:43d1dc71f9900986168458d3af281453f41df966</id>
<content type='text'>
Implemented only for XFT fonts.
Adds a new "part" in the fc tag.
&gt; Example: &lt;fc=white,gray:0&gt;foo bar&lt;/fc&gt; will make the font background
as tall as the bar (absolute offset, here set to 0 for both top &amp;
bottom)
Changes ColorString to ColorInfo, containing both top and bottom
offsets. The "colors string" is still in only one string.
</content>
</entry>
<entry>
<title>Redundant imports (mostly &lt;$&gt;) removed</title>
<updated>2020-08-07T02:33:15Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-08-07T02:33:15Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=0e7c39d9ec6719a32eec0b696d7167faf6598757'/>
<id>urn:sha1:0e7c39d9ec6719a32eec0b696d7167faf6598757</id>
<content type='text'>
</content>
</entry>
</feed>
