3 Commits

Author SHA1 Message Date
blastmaster
828b5b5368 enabling colors for bmon
This commit enables colors in bmon. It adds configuration options to
let the user decide, which colors should be used. Therefor the graph_rx and graph_tx
layouts are introduced and applied respectively.

* Add graph_rx, graph_tx and layout_cfg fields.
* Setting default colors if colorized output is enabled.
* draw_table accept additional layout parameter and apply the given layout for
  the table graph.
* Apply layouts for rx, tx graph and header and statusbar.
* Add include/layout.h, which provides functions to parse, color and attribute
  strings and set the layout.
* Adding a default layout-config example in examples/bmon.conf.

[Edit: Based on original work by eri!, #PR23]
2016-07-19 22:57:37 +02:00
Thomas Graf
c06050d4ee Provide correct bmon.conf example
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 14:03:09 +02:00
Thomas Graf
e30ab3ad3d Install bmon.conf in examples dir in package doc
Defaults are fine, no need to clutter sysconfdir with a useless
default config file.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-07-06 13:41:04 +02:00