summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Accordion.hs
AgeCommit message (Collapse)Author
2026-07-21Add warning when Accordion runs without the threaded RTSAlexander 'ccntrq' Pankoff
The Accordion plugin open the click event FIFO before starting its plugins. With the non threaded RTS this blocking open blocks the only execution thread, leading to the plugin permanently displaying `Updating...`. With this commit the Accordion plugin wil check for the presence of a threaded RTS using `rtsSupportsBoundThreads`. When the threaded RTS is not available a warning is displayed instead, prompting the user to recompile with `-threaded`.
2026-04-27Accordion - a few cleanupsEnrico Maria De Angelis
- Use `RecordWildCards` language extension - Use `concurrently_` and `mapConcurrently_` instead of `withAsync` - Use `Bool` instead of `Maybe ()` - Use `whenM` instead of `when` - Add signature to `loop`
2026-03-12Accordion: remove unnecessary context from `Exec` instanceEnrico Maria De Angelis
2025-10-23Accordion: avoid spawing a process to read from pipeEnrico Maria De Angelis
The reason is that this way the issue https://codeberg.org/Aster89/xnobar/issues/15#issue-2346829 is fixed. See https://codeberg.org/Aster89/xnobar/issues/15#issuecomment-7864955 for more details.
2025-06-01Accordion: new constructor to allow short version to have plugins tooEnrico Maria De Angelis
2025-06-01Accordion: some renaming and reformattingEnrico Maria De Angelis
2024-06-21Accordion: a plugin two wrap other plugins and collapse them to a single ↵Enrico Maria De Angelis
replacement string