summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)Author
2021-08-08fix: padString should not make strings longerLeo Zhang
2020-11-19test: Fix flaky CpuSpecTomas Janousek
Failed at least once in GitHub Actions: predicate failed on: "Cpu: <fc=red>100</fc>% <fc=red>##########</fc>" Also, there's no need to guard the Xmobar.Plugins.Monitors.CpuSpec module with the with_alsa flag. (And it doesn't really work anyway, hspec-discover doesn't care about what modules are declared in cabal, so stack/ghc complains that "These modules are needed for compilation but not listed in your .cabal file's other-modules: Xmobar.Plugins.Monitors.AlsaSpec" and then fails to detect changes in those modules.)
2020-06-23Cleanup and add some testsSibi Prabakaran
2020-04-12Fix Tests When Compiling Without ALSAPavan Rikhi
Use CPP macros to make the ALSA Spec file a no-op when the `with_alsa` flag is set to False. Without these macros, HSpec will import the AlsaSpec module causing test compilation to fail.
2019-01-19Alsa plugin: Restart alsactl if it quits (Fixes #376)Daniel Schüssler
2018-11-25Test namespaces inside Xmobarjao
2018-11-21Cabal file adapted to the library splitjao
2018-11-21Split Modules into Library & Executable StructurePavan Rikhi
Move the Main module to a new `app` directory. All other modules have been nested under the `Xmobar` name. Lots of module headers & imports were updated.
2018-10-06Alsa plugin: Cancel reader thread (to terminate alsactl) when plugin main ↵Daniel Schüssler
thread exits.
2018-10-06Turn the --monitor option to `Volume` into a new plugin `Alsa` insteadDaniel Schüssler
See #360.
2018-10-06Add event-based refreshing for Volume plugin (--monitor option)Daniel Schüssler
This uses alsactl monitor for push/event-based updating instead of polling.
2018-03-07Add ellipsis option for Monitor's fields and total textOlivier Schneider