summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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-12Changelogjao
2022-04-11add load monitor for freebsdMichal Zielonka
2022-03-30Fix: consistent use of configured nastring instead of hardcoded N/Ajao
2022-03-30Changelog and version bumpjao
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-03-27base < 4.17 to allow ghc 9.2.2jao
Fixes #617
2022-03-24Link to jao/xmobar-configjao
2022-03-24typojao
2022-03-24readme nitsjao
2022-03-01examples and changlog updated0.42jao
2022-02-20Documentation: Note the need for threaded RTS with QueueReader & xmonadTomas Janousek
Related: https://github.com/jaor/xmobar/issues/571
2022-02-20Documentation: More robust QueueReader exampleTomas Janousek
1. Call `initThreads` early because there's no guarantee the xmobar thread will do this before xmonad makes any Xlib calls (although it's likely as xmonad startup is probably more expensive). 2. Use `forkOS` to fail early if running in a non-threaded RTS. Also, xmobar's own main thread would normally be a bound thread, so this may (likely non-observably) result in more consistent behaviour. Related: https://github.com/jaor/xmobar/issues/571
2022-02-20Documentation: Drop unused fragment in QueueReader exampleTomas Janousek
Related: https://github.com/jaor/xmobar/issues/571
2022-02-19More documentation nitsjao
2022-02-19Documentation nitsjao
2022-02-19Documentation: shuffling around the DBus xmonad examplejao
2022-02-19Documentation: dbus section movedjao
2022-02-19Interfacing with window managers: new doc filejao
2022-02-19Documentation whitespace and titlesjao
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-18Changelog updatesjao
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-08Lower aeson version limitjao
2022-02-08Missing help bit: -TSwaybarjao
2022-02-08Lintingjao
2022-02-08Documentation bits and version bumpjao
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-06quick-start.org: indentation and reorderingjao
2022-02-04Refactoring: event loop handling simplificationsjao