summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar
AgeCommit message (Collapse)Author
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
2022-02-04Xmobar.App.X11EventLoop -> Xmobar.X11.Loopjao
2022-02-04Xmobar.X11.Parsers -> Xmobar.Run.Parsersjao
2022-02-04Xmobar.App.CommandThreads -> Xmobar.Run.Loopjao
2022-02-04Xmobar.App.Timer -> Xmobar.Run.Timerjao
2022-02-03Xmobar.X11.Actions -> Xmobar.Run.Actionsjao
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-31Text output: support choosing between Pango and ANSI markupPavel Kalugin
Signed-off-by: Pavel Kalugin <pavel@pavelthebest.me>
2022-01-31Fix text output bufferingPavel Kalugin
Signed-off-by: Pavel Kalugin <pavel@pavelthebest.me>
2022-01-29Color escape sequences for text outputjao
2022-01-29App.EventLoop -> App.X11EventLoopjao
2022-01-29Refactoring of the previous patch and its surroundingsjao
2022-01-29Basic text output, without colors, workingjao
2022-01-29Basic Xmobar.App.TextEventLoopjao
2022-01-29Xmobar.App.CommandThreadsjao