monky: A system state collecting library and application
monky started as an alternative to conky, i3-status or similar, that's fully containing in one process. Also making an effort to keep file descriptors or handles as long as possible. monky 2.0 is the first version on hackage.
monky consists of multiple parts. A number of collection modules, output modules, "examples" and a helper application.
The collection modules are the core library. Collection modules export a handle that can be used to get some detail about the system. They can be used without the other parts of this package, but they are designed with monky in mind.
Output modules take a monky specific output type and transform it into something that can be displayed by some external application. That may be a statusbar (dzen2), the terminal, a network port, that makes it accessible on another machine, or any other thing.
The examples are a group of modules, that use collection modules to create the output used by the output modules. The flexibility of the examples varies greatly, some may are really flexible, some are rather static. The intended usecase is for users to create their own examples and use them, if they don't want to use the provided ones.
Later on, I want to create something like xmonad-contrib or a collection of user examples, to provide better usability for users with few to no experience with haskell.
The helper application is used to compile the actual output generator and can generate an example configuration.
To generate an example configuration in ~/.monky simply run
Then modify ~/.monky/monky.hs to create your own configuration.
Modules can have two types.
PollModules work by the main loop
asking the module to generate new output, while
EvtModules block until some event is received and
update their output on demand. Some handles are an instance of both,
EvtModule should be preferred, since they induce less load on your system.
The monky main-loop does one "tick" every second.
PollModules are updated each N ticks, where
N is passed to
|Versions [faq]||126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199|
|Dependencies||base (>=188.8.131.52 && <5), bytestring, cereal, composition, containers, dbus, directory, double-conversion (==0.2.0.6), env-locale (>=184.108.40.206), formatting, ibus-hs, monky, mtl, netlink (>=1.1), network, old-locale, optparse-applicative, process, pulseaudio (>=0.0.2.0 && <0.1.0.0), statvfs, stm, template-haskell, text, time, transformers, transformers-compat, unix [details]|
|Maintainer||Markus Ongyerth <firstname.lastname@example.org>|
|Revised||Revision 1 made by ongyerth at Mon May 29 19:04:50 UTC 2017|
|Source repo||head: git clone https://github.com/monky-hs/monky|
|Uploaded||by ongyerth at Sat May 27 17:01:29 UTC 2017|
|Downloads||3326 total (240 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs uploaded by user
Build status unknown [no reports yet]
enable ibus example
enable pulse example (7.6 disabled because travis)
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
For package maintainers and hackage trustees