From 72f987f893278675daf5034ccca5947509efdf2e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 26 Apr 2018 00:11:38 -0400 Subject: .config/fbpanel/taskbar: Add CPU, memory, and network monitoring plugins --- (limited to '.config/fbpanel') 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 -- cgit v0.9.1