diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-04-26 00:11:38 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-04-26 01:04:09 (EDT) |
commit | 72f987f893278675daf5034ccca5947509efdf2e (patch) | |
tree | 6b1fa927263502af3b48afc189ba4323f05de63d /.config/fbpanel | |
parent | 39b652f01e0aa88071b387f0262eeab2614b8eda (diff) | |
download | fluxbox-72f987f893278675daf5034ccca5947509efdf2e.zip fluxbox-72f987f893278675daf5034ccca5947509efdf2e.tar.gz fluxbox-72f987f893278675daf5034ccca5947509efdf2e.tar.bz2 |
.config/fbpanel/taskbar: Add CPU, memory, and network monitoring plugins
Diffstat (limited to '.config/fbpanel')
-rw-r--r-- | .config/fbpanel/taskbar | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/.config/fbpanel/taskbar b/.config/fbpanel/taskbar index e059a0b..dff478c 100644 --- a/.config/fbpanel/taskbar +++ b/.config/fbpanel/taskbar @@ -47,6 +47,53 @@ Plugin { } Plugin { + type = cpu + config { + color = green + } +} + +Plugin { + type = mem + config { + ShowSwap = false + } +} + +Plugin { + type = net + config { + interface = ens10 + TxColor = violet + RxColor = blue +# 1 Gb/s = 122070.3125 KiB/s +# The chart seems to overflow a border of 2 px at the top and 1 px at the +# bottom (3 px total, leaving 45 px of usable space out of the 48 px panel +# height), so the limits should be: +# 122070.3125 KiB/s * 48 px / 45 px = 130208.33 KiB/s + TxLimit = 130208 + RxLimit = 130208 + } +} + +Plugin { + type = net + config { + interface = ens10 + TxColor = violet + RxColor = blue +# 8 Mb/s = 976.5625 KiB/s +# 2 Mb/s = 244.140625 KiB/s +# 8 Mb/s + 2 Mb/s = 10 Mb/s = 1220.703125 KiB/s +# Limits calculations: +# 976.5625 KiB/s * 48 px / 45 px = 1041.67 KiB/s +# 244.140625 KiB/s * 48 px / 45 px = 260.42 KiB/s + TxLimit = 1042 + RxLimit = 260 + } +} + +Plugin { type = tclock expand = false padding = 0 |