summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-03-30fix for unmet pattern matches warnings (clean build)jao
2024-03-30changelogjao
2024-03-30Add ctor for Locks plugin to accpet on/off labelsEnrico Maria De Angelis
2024-03-30creditsjao
2024-03-30Fix waitForProcess errors when configuration is recompiledUlrik de Muelenaere
Previously, xmobar would ignore SIGCHLD, but only when the configuration is recompiled. This means child processes would not leave zombies, so that waiting for them to exit (either directly by calling waitForProcess, or indirectly through another function from System.Process, like system or readProcessWithExitCode) would produce an error. This breaks the Alsa, Com (#657) and NotmuchMail plugins, as well as the <action> tag (#687) and low battery action (#688). As far as I can tell, bracketing the recompilation in uninstallSignalHandlers and installSignalHandlers was inherited from xmonad. In xmonad, SIGPIPE and SIGCHLD are always ignored (installSignalHandlers is called at the start of xmonad and launch), so the bracket is necessary to be able to wait for the compiler or build script to exit. Since xmobar does not otherwise ignore the signals, it is not necessary to change signal handlers at all during recompilation. Removing it leaves the default action for SIGCHLD, which fixes the issues described above. Fixes #657, #687 and #688.
2024-03-30Fix zombie processes left by <action> tag and low battery actionUlrik de Muelenaere
This effectively reverts c54d93e and 991a168. While those fix #687 and #688 respectively in the case where the configuration is recompiled, in all other cases they leave zombie processes, since they undo the fix for #181. However, instead of reverting to the deprecated system function, we use the newer spawnCommand and waitForProcess. And like with 991a168, the low battery action now runs in the background to avoid blocking the bar.
2024-03-21changelog &co. for kbd monitorjao
2024-03-17Make the Kbd monitor clickable, with click selecting the next layoutEnrico Maria De Angelis
2024-03-06copyright yearsjao
2024-03-06readme: more broken linksjao
2024-03-06readme.org: absolute links (fixes #694)jao
2024-03-03changelogjao
2024-02-18battery: spawnCommand instead of system when running actions0.47.4jao
should fix for real #688 this time
2024-02-07version tag and changelog0.47.3jao
2024-02-05actions: spawnCommand instead of deprecated systemjao
This should address the problems reported in issue #688
2024-02-01readme.org: author listjao
2024-02-01documentation for with_shared and changelogjao
2024-01-31Bump base dependencyVekhir
Builds and tests fine
2024-01-31Add `with_shared` flag to build using shared librariesVekhir
Adds the `with_shared` flag, which is off by default. Setting the new flag enables building with shared libraries. By default, `xmobar` is built with static linking.
2024-01-31Enable use of shared librariesVekhir
Haskell libraries can be linked statically or dynamically. Either way, all packages must be linked the same way. This means that if all dependencies of `xmobar` are shared libraries, then `xmobar` itself must be built using dynamic linking. Therefore, to compile the individual `xmobar` executables, add the `-dynamic` flag to signal that they are built with shared libraries. This flag is put behind an #ifdef to easily configure static vs dynamic linking. To use shared libraries, define SHARED_LIBRARIES
2024-01-19using-haskell.org: broken linksjao
2024-01-19quick-start.org: broken linksjao
2024-01-19plugins.org: broken linksjao
2024-01-19plugins.org: broken linksjao
2024-01-19readme.org: broken linksjao
2024-01-19readme.org: broken linksjao
2023-11-12fix: dependendecy on mtl to allow GHC 9.60.47.2jao
2023-11-12fix: dependendecy on base to allow GHC 9.6jao
2023-11-11compatibility with GHC 9.6jao
2023-09-02typojao
2023-09-02docs and changelog on libmpd0.47.1jao
2023-09-01allow requesting explicitly libmpd with with_mpd for any ghc versionjao
2023-08-30woodpecker: pipeline -> stepsjao
2023-08-30changelog and copyright years0.47jao
2023-08-30version bumpjao
2023-08-30.drone.yml -> .woodpecker.ymljao
2023-08-28exclude libmpd for ghc 9.4 or greaterjao
2023-07-11Add FreeBSD installation instructionJaroslaw Jantura
2023-06-02center middle section for templates of the form "}M{" (fixes #677)jao
2023-03-26docs: comment on use of X11 fonts (fixes #658)jao
2023-03-22Handle SocketError when attempting to connect to dbusCorey Halpin
Extends the solution from 8a53271cd6 to also handle SocketError, so that the process will not terminate. See also issue #537.
2023-01-17stack dependencies for cairo/pango (fixes #666)jao
2023-01-05typojao
2023-01-05testing with ghc 9.2 for now (again)0.46jao
2023-01-05testing with ghc 9.2 for now (again)jao
2023-01-05testing with ghc 9.2.5 for nowjao
2023-01-05testing with ghc 9.2 for nowjao
pango seems to be incompatible with ghc 9.4.4 because it needs text < 2.
2023-01-05trying to fix deps for ghc 9.4.4jao
2023-01-05base 4.17 (ghc 9.4.x) and version bumpjao
2023-01-04relative link fixesjao