summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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
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-03Documentation updatesjao
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-02-01Documentation bitsjao
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