summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/App/Opts.hs
AgeCommit message (Collapse)Author
2024-03-06copyright yearsjao
2023-08-30changelog and copyright years0.47jao
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-02-08Missing help bit: -TSwaybarjao
2022-02-03TextOutputColor -> TextOutputFormatjao
Thinking of eventually adding a Sway JSON output, or simply add fonts to Pango specification, so it's more than colors. Also, NoColors -> Plain.
2022-02-02Allow specifying color format as a -T argumentjao
2022-01-29Basic text output, without colors, workingjao
2020-10-09additionalFonts command-line option: --add-fontivanbrennan
Provide an option the user can specify any number of times to add to the additionalFonts config field.
2020-04-12Add trailing linefeed to --version output.Zev Weiss
2020-02-26Copyright yearsjao
2019-03-17Copyright noticejao
2018-12-09New exposed function: configFromArgsjao
2018-12-04Fix: honour command line flagsjao
Fixes #370, and then some
2018-11-30Self-compilation a la xmonadjao
2018-11-30XMobar.App.Optsjao