<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xmobar/src/Xmobar/App, branch 0.49</title>
<subtitle>a minimalistic status bar</subtitle>
<id>https://jao.io/cgit/xmobar/atom?h=0.49</id>
<link rel='self' href='https://jao.io/cgit/xmobar/atom?h=0.49'/>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/'/>
<updated>2025-03-31T21:31:54Z</updated>
<entry>
<title>copyright years</title>
<updated>2025-03-31T21:31:54Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2025-03-31T21:31:54Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=8569eab3788ab0d8aa1830b91b9a10b063f154e7'/>
<id>urn:sha1:8569eab3788ab0d8aa1830b91b9a10b063f154e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix waitForProcess errors when configuration is recompiled</title>
<updated>2024-03-30T14:51:24Z</updated>
<author>
<name>Ulrik de Muelenaere</name>
<email>ulrikdem@gmail.com</email>
</author>
<published>2024-03-30T02:03:21Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=cbf92262721879286a85d35dc528ae941f706450'/>
<id>urn:sha1:cbf92262721879286a85d35dc528ae941f706450</id>
<content type='text'>
Previously, xmobar would ignore SIGCHLD, but only when the configuration
is recompiled. This means child processes would not leave zombies, so
that waiting for them to exit (either directly by calling
waitForProcess, or indirectly through another function from
System.Process, like system or readProcessWithExitCode) would produce an
error. This breaks the Alsa, Com (#657) and NotmuchMail plugins, as well
as the &lt;action&gt; tag (#687) and low battery action (#688).

As far as I can tell, bracketing the recompilation in
uninstallSignalHandlers and installSignalHandlers was inherited from
xmonad. In xmonad, SIGPIPE and SIGCHLD are always ignored
(installSignalHandlers is called at the start of xmonad and launch), so
the bracket is necessary to be able to wait for the compiler or build
script to exit. Since xmobar does not otherwise ignore the signals, it
is not necessary to change signal handlers at all during recompilation.
Removing it leaves the default action for SIGCHLD, which fixes the
issues described above.

Fixes #657, #687 and #688.
</content>
</entry>
<entry>
<title>copyright years</title>
<updated>2024-03-06T02:11:26Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2024-03-06T02:11:26Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=5f9c0e179f25b5d74ef8e10d43d5761c82fff8e8'/>
<id>urn:sha1:5f9c0e179f25b5d74ef8e10d43d5761c82fff8e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable use of shared libraries</title>
<updated>2024-01-31T21:54:30Z</updated>
<author>
<name>Vekhir</name>
<email>vekhir@noreply.codeberg.org</email>
</author>
<published>2024-01-31T21:54:30Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=431ef31d58b74e401cf182493bac098c78ae467c'/>
<id>urn:sha1:431ef31d58b74e401cf182493bac098c78ae467c</id>
<content type='text'>
Haskell libraries can be linked statically or dynamically. Either way, all packages must be linked the same way. This means that if all dependencies of `xmobar` are shared libraries, then `xmobar` itself must be built using dynamic linking.

Therefore, to compile the individual `xmobar` executables, add the `-dynamic` flag to signal that they are built with shared libraries.
This flag is put behind an #ifdef to easily configure static vs dynamic linking.

To use shared libraries, define SHARED_LIBRARIES
</content>
</entry>
<entry>
<title>changelog and copyright years</title>
<updated>2023-08-30T12:37:46Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2023-08-30T12:37:46Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=788120c8e4a53082bdd85cd5d7e191b22913f316'/>
<id>urn:sha1:788120c8e4a53082bdd85cd5d7e191b22913f316</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adds DPI configuration (#660)</title>
<updated>2022-11-30T06:07:50Z</updated>
<author>
<name>jgrocho</name>
<email>codeberg@jon.grocho.net</email>
</author>
<published>2022-11-30T06:07:50Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=94f9c2c282b24c68403b8456279b09f5f05d37fc'/>
<id>urn:sha1:94f9c2c282b24c68403b8456279b09f5f05d37fc</id>
<content type='text'>
Adds a new DPI configuration, especially useful for HiDPI displays. This changes the scaling factor for fonts as displayed by Pango. It defaults to 96.0 which corresponds to an average screen and is the default in [Cairo](https://hackage.haskell.org/package/pango-0.13.5.0/docs/Graphics-Rendering-Pango-Cairo.html#v:cairoFontMapGetDefault). It's also possible to supply a zero or negative value to use the default scaling factor, but I felt setting the default to 96.0 makes it more explicit.

It also adds a matching command line option.

I haven't tested it too thoroughly, but in my limited use it appears to be working as intended.

One thing this does not do is scale XBM and XPM bitmap files which I'm unsure how to do or if that should even be our concern (instead leaving it up to the user to supply appropriate bitmaps).

Co-authored-by: Jonathan Grochowski &lt;jon@grocho.net&gt;
Reviewed-on: https://codeberg.org/xmobar/xmobar/pulls/660
Co-authored-by: jgrocho &lt;codeberg@jon.grocho.net&gt;
Co-committed-by: jgrocho &lt;codeberg@jon.grocho.net&gt;
</content>
</entry>
<entry>
<title>Missing help bit: -TSwaybar</title>
<updated>2022-02-08T15:14:41Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-02-08T15:14:41Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=5c57d149a22116f3ffc6cc4e6aa2430ccd1f0382'/>
<id>urn:sha1:5c57d149a22116f3ffc6cc4e6aa2430ccd1f0382</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactoring: event loop handling simplifications</title>
<updated>2022-02-04T03:34:48Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-02-04T03:34:48Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=57e8e23ec7b81b0a680dd9decc70bbf98892abab'/>
<id>urn:sha1:57e8e23ec7b81b0a680dd9decc70bbf98892abab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xmobar.App.TextEventLoop -&gt; Xmobar.Text.Loop</title>
<updated>2022-02-04T00:34:44Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-02-04T00:34:44Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=34bb65029f0fdcb3f88043b3b0ca6ebd46bee161'/>
<id>urn:sha1:34bb65029f0fdcb3f88043b3b0ca6ebd46bee161</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xmobar.App.X11EventLoop -&gt; Xmobar.X11.Loop</title>
<updated>2022-02-04T00:28:40Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-02-04T00:28:40Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=ab47eb31b532c232255b2c2385160510145e40ba'/>
<id>urn:sha1:ab47eb31b532c232255b2c2385160510145e40ba</id>
<content type='text'>
</content>
</entry>
</feed>
