summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/X11/Loop.hs
AgeCommit message (Collapse)Author
13 hourson-click implementation based on implicit actionsjao
Draw methods based on Segments don't keep enough information to fill in correctly a list of actions. With this implementation, we introduce empty actions as markers where Runnable instances can be inserted. Triggering them is then just calling the corresponding Exec method, onClick. Conceivably, onClick could receive some kind of additional state, but that's better done as a base Plugin instance that keeps state and makes it available via its onClick function, for instance. Very lightly tested, needs documentation and extending the plugin example to include an onClick method.
19 hoursprototype for onClick method in Execjao
2024-03-30fix for unmet pattern matches warnings (clean build)jao
2023-11-11compatibility with GHC 9.6jao
2022-10-01a couple of superfluous IO usages removedjao
2022-09-30Run.Parsers -> Config.Templatejao
2022-09-20new namespace: Xmobar.Drawjao
2022-09-19wee refactoring (more types in X11.Types)jao
2022-09-19cairo: non-cairo is not an optionjao
2022-09-18qualified importsjao
2022-09-15new flag: with_xrenderjao
2022-09-13XlibDraw: verticalOffsets in XConf not neededjao
2022-09-12cairo: with_xft deprecated, with_cairo synomymjao
2022-09-12wee refactoring: a couple type synonymsjao
2022-09-11x event loop clean-upsjao
2022-09-11cairo: bitmapsjao
2022-09-10cairo: fonts, offsets, colors, actionsjao
2022-08-13fix: default to textOffset for missing textOffsets entriesjao
2022-04-18New dbus signal: SetAlpha (fixes #499)jao
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-06Little refactoring: forkThreadjao
2022-02-04Refactoring: event loop handling simplificationsjao
2022-02-04Xmobar.App.X11EventLoop -> Xmobar.X11.Loopjao