summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
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
2022-09-10cairo: left/center/right segmentsjao
2022-09-10cairo: <hspace>jao
2022-09-10cairo: fonts, offsets, colors, actionsjao
2022-09-09cairo: drawing skeleton from an xlib cairo surfacejao
2022-09-09cairo: pure xlib/xft drawing code factored outjao
2022-08-13fix: default to textOffset for missing textOffsets entriesjao
2022-08-13fix: in -W0, char 0->[0,10], char 1->[10,20]...jao
2022-05-16Fix for -W "0" spec in logarithmic barsjao
Should address issue #630.
2022-05-12Remove the now useless -DUTF8 flagjao
2022-04-18CpuFreq: new template parameters max, min and avg.jao
Fixes #166.
2022-04-18New dbus signal: SetAlpha (fixes #499)jao
2022-04-18Stylistic nits for previous Batt refactoring/fixjao
2022-04-18Split up battery reading functions; fixed unitsPatrick Günther
Every quantity is now read in its own function and Maybe and pattern matching is used for dealing with absent files. On top of that all units should be fixed now.
2022-04-16Fixed unit of battery power consumptionPatrick Günther
2022-04-14Memory: new argument to scale usage unitsjao
Fixes #624
2022-04-13make small refactoring of load linux codeMichal Zielonka
Add <$> for parsing content of file.
2022-04-11add load monitor for freebsdMichal Zielonka
2022-03-30Fix: consistent use of configured nastring instead of hardcoded N/Ajao
2022-03-30Wee clean-upsjao
2022-03-30Load: honour the -d (decimal digits) monitor argumentjao
2022-03-30Load monitor: correctly colorize according to -L/-Hjao
2022-03-30Load: new load average monitorjao
Closes #208
2022-03-29Apply hlint suggestions to MultiCoreTempRob Whitaker
2022-03-29Fix MultiCoreTemp's temperature file finding logicRob Whitaker
Instead of searching for a fixed set of files and directories (numbered 0-9), which would miss anything above 9, it now searches the relevant directories for files matching the right pattern, regardless of number. Fixes #616.
2022-02-19Strip new lines from X log messages (issue #590)jao
2022-02-18Apply hlint suggestionTomas Janousek
Fixes: b7ca54651bb1 (""bright" ansi colour names")
2022-02-17Refactoring: Clean up naming of X11 event loop threadsTomas Janousek
What used to be called `eventLoop` didn't process any X11 events at all, rename to `signalLoop` to signal that it really deals just with xmobar signals.
2022-02-17Fix memory leak in drawInWinTomas Janousek
In f8c835a33a7a, I flipped the discard flag to XSync to False on a false assumption that it may discard events from under the eventer thread (since renamed to handleXEvent). This can't happen—the eventer thread and the main loop do not share a Display connection, they have two separate ones. Turns out, the main loop doesn't read/process any events from its Display connection, which is why it was necessary to discard them once in a while. The fix restores that discarding, adds a comment to explain why that discarding should stay, and just to make things a bit cleaner, also prevents some of those events from being emitted in the first place: by configuring the graphics context that we don't want any exposure events (https://tronche.com/gui/x/xlib/events/exposure/graphics-expose-and-no-expose.html). Fixes: f8c835a33a7a ("Fix delayed reaction to USR1/2 signals")
2022-02-13Use nh' for displaying the bar on the bottom of the screen. Fixes #555exorcist365
2022-02-09"bright" ansi colour namesjao
See #606 for further discussion
2022-02-08Missing help bit: -TSwaybarjao
2022-02-08Lintingjao
2022-02-08pango output: fontsjao
2022-02-07swaybar-protocol: additionalFonts via pango markupjao
2022-02-07swaybar-protocol: boxes workingjao
2022-02-06Whitespace in the Draw.hs messjao
2022-02-06swaybar-protocol: borders (but not quite working as expected)jao
2022-02-06swaybar-protocol: support for clickable Actionjao
2022-02-06Little refactoring: forkThreadjao
2022-02-06swaybar-protocol: output with colors and actionsjao
2022-02-06swaybar-protocol: very basic formatjao
2022-02-04Refactoring: event loop handling simplificationsjao
2022-02-04Refactoring: Xmobar.Text.{Ansi,Pango,Output}jao
2022-02-04Xmobar.App.TextEventLoop -> Xmobar.Text.Loopjao