summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
AgeCommit message (Collapse)Author
2024-01-31Enable use of shared librariesVekhir
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
2023-11-11compatibility with GHC 9.6jao
2023-08-30changelog and copyright years0.47jao
2023-06-02center middle section for templates of the form "}M{" (fixes #677)jao
2023-03-22Handle SocketError when attempting to connect to dbusCorey Halpin
Extends the solution from 8a53271cd6 to also handle SocketError, so that the process will not terminate. See also issue #537.
2022-12-31layout: special case for empty left segment (see #655)jao
2022-12-23Fix for #663: honour explicit bg/fg colors for iconsjao
2022-12-10off by onesjao
2022-12-10off by onejao
2022-12-10alignment: avoid overlapping of left and right segmentsjao
Might help with #655
2022-11-30lintingjao
2022-11-30Adds DPI configuration (#660)jgrocho
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 <jon@grocho.net> Reviewed-on: https://codeberg.org/xmobar/xmobar/pulls/660 Co-authored-by: jgrocho <codeberg@jon.grocho.net> Co-committed-by: jgrocho <codeberg@jon.grocho.net>
2022-11-16cairo: recover pre-cairo z-ordering of segmentsjao
2022-11-16cairo: fix: don't draw outside maximum allowed offsetjao
2022-11-13similar take on centering the centerjao
2022-11-13center segment drawn in the center of the barjao
should make things better for #650 and #655
2022-11-08Fixes offset of the pseudo-transparent backgroundKostas Agnantis
2022-11-08Adds 'XPosition' type documentation and code fixes based on reviewKostas Agnantis
2022-11-06Adds new position configurationKostas Agnantis
- TopHM: Top position with left/right/top margins and specific height - BottomHM: Bottom position with left/right/bottom margins and specific height
2022-10-06whitespacejao
2022-10-01wee clean upsjao
2022-10-01Config.Template refactoringsjao
2022-10-01a couple of superfluous IO usages removedjao
2022-09-30Run.Parsers -> Config.Templatejao
2022-09-26more little import clean upsjao
2022-09-22import clean-upsjao
2022-09-21better abstracted icon drawing interfacejao
2022-09-21lintingjao
2022-09-20fix for -f-with_xrender buildcairojao
2022-09-20new namespace: Xmobar.Drawjao
2022-09-19wee refactoring (more types in X11.Types)jao
2022-09-19cairo: non-cairo is not an optionjao
2022-09-18fix for -f-with_xrender buildjao
2022-09-18qualified importsjao
2022-09-18whitespacejao
2022-09-16Fix for non-cairo buildjao
2022-09-16little clean-upsjao
2022-09-16cairo: outer boxes fixesjao
2022-09-16linting and version bumpjao
2022-09-15cairo: boxes as linesjao
2022-09-15cairo: boxes, take twojao
2022-09-15new flag: with_xrenderjao
2022-09-15lintingjao
2022-09-15cairo: box drawingjao
2022-09-15cairo: global background always via XRenderjao
2022-09-14whitespacejao
2022-09-14cairo: honouring top/bottom offsets in color specificationsjao
2022-09-13cairo: ellipsize text segments if they go out of boundsjao
2022-09-13cairo: honouring iconOffsetjao
2022-09-13XlibDraw: verticalOffsets in XConf not neededjao