<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xmobar/src/Xmobar/Config, branch on-click</title>
<subtitle>a minimalistic status bar</subtitle>
<id>https://jao.io/cgit/xmobar/atom?h=on-click</id>
<link rel='self' href='https://jao.io/cgit/xmobar/atom?h=on-click'/>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/'/>
<updated>2025-02-12T02:06:55Z</updated>
<entry>
<title>on-click implementation based on implicit actions</title>
<updated>2025-02-12T02:06:55Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2025-02-12T02:06:55Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=de7a0aff77114638f3e83835de0fe00395fe6bf7'/>
<id>urn:sha1:de7a0aff77114638f3e83835de0fe00395fe6bf7</id>
<content type='text'>
Draw methods based on Segments don't keep enough information to fill in
correctly a list of actions. With this implementation, we introduce empty
actions as markers where Runnable instances can be inserted. Triggering them
is then just calling the corresponding Exec method, onClick.

Conceivably, onClick could receive some kind of additional state, but that's
better done as a base Plugin instance that keeps state and makes it available
via its onClick function, for instance.

Very lightly tested, needs documentation and extending the plugin example to
include an onClick method.
</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>Adds 'XPosition' type documentation and code fixes based on review</title>
<updated>2022-11-08T20:48:48Z</updated>
<author>
<name>Kostas Agnantis</name>
<email>kagnadis@gmail.com</email>
</author>
<published>2022-11-08T20:48:48Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=34065e8f19e8481c31cb31a55da02b42897a63fe'/>
<id>urn:sha1:34065e8f19e8481c31cb31a55da02b42897a63fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adds new position configuration</title>
<updated>2022-11-06T21:43:46Z</updated>
<author>
<name>Kostas Agnantis</name>
<email>kagnadis@gmail.com</email>
</author>
<published>2022-10-26T22:21:25Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=0554a448bb27985e8d66940d077f54eda58d8e5a'/>
<id>urn:sha1:0554a448bb27985e8d66940d077f54eda58d8e5a</id>
<content type='text'>
- TopHM: Top position with left/right/top margins and specific height
- BottomHM: Bottom position with left/right/bottom margins and specific height
</content>
</entry>
<entry>
<title>whitespace</title>
<updated>2022-10-06T05:46:13Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-10-06T05:46:13Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=e5d00b351fc53a239f275ccd15023cd94ad38142'/>
<id>urn:sha1:e5d00b351fc53a239f275ccd15023cd94ad38142</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wee clean ups</title>
<updated>2022-10-01T18:49:03Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-10-01T18:49:03Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=19e9105cd9e12a0b6f3401ae0d506f6d9317da0e'/>
<id>urn:sha1:19e9105cd9e12a0b6f3401ae0d506f6d9317da0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Config.Template refactorings</title>
<updated>2022-10-01T15:10:21Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-10-01T15:10:21Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=7ef539d28d7f1f0fe9cc11d1339c580d44140bf2'/>
<id>urn:sha1:7ef539d28d7f1f0fe9cc11d1339c580d44140bf2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>a couple of superfluous IO usages removed</title>
<updated>2022-10-01T01:58:23Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-10-01T01:58:23Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=ac3b8212a68052f99eba2bd74a2dd8aa9ca2dcb2'/>
<id>urn:sha1:ac3b8212a68052f99eba2bd74a2dd8aa9ca2dcb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run.Parsers -&gt; Config.Template</title>
<updated>2022-09-30T05:50:53Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-09-30T05:50:53Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=ef380c045957413948d390c152f6401869526285'/>
<id>urn:sha1:ef380c045957413948d390c152f6401869526285</id>
<content type='text'>
</content>
</entry>
<entry>
<title>qualified imports</title>
<updated>2022-09-17T23:18:39Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-09-17T23:18:39Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=1d801183a54d3d6bf734d485ace744cdf78f3a77'/>
<id>urn:sha1:1d801183a54d3d6bf734d485ace744cdf78f3a77</id>
<content type='text'>
</content>
</entry>
</feed>
