summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
AgeCommit message (Collapse)Author
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
2022-09-13'Core' fonts not used anymore (utf8 is always required)jao
2022-09-12X11.MinXft not needed anymorejao
2022-09-12cairo: with_xft deprecated, with_cairo synomymjao
2022-09-12wee refactoring: a couple type synonymsjao
2022-09-11cairo: a couple of as yet unused imported foreign functionsjao
2022-09-11x event loop clean-upsjao
2022-09-11cairo: bitmapsjao
2022-09-11fix for the default, non-cairo buildjao
2022-09-11cairo: lintingjao
2022-09-11cairo: alpha (still pseudo, via xrender)jao
2022-09-11cairo: outer borderjao