diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-22 11:36:53 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-22 11:36:53 (EDT) |
commit | 8acf29a306884b980a410041699224c3c7e2cf79 (patch) | |
tree | 60c7ac197218496ec59b0947080f31b96ae5772a /.config/fbpanel | |
parent | 10d5ddff0343049032914ea3a23e07d4d2f7240f (diff) | |
download | fluxbox-8acf29a306884b980a410041699224c3c7e2cf79.zip fluxbox-8acf29a306884b980a410041699224c3c7e2cf79.tar.gz fluxbox-8acf29a306884b980a410041699224c3c7e2cf79.tar.bz2 |
.config/fbpanel/taskbar: Add cpu, mem, and net
Move tray leftward and transpose volume and battery monitors.
Diffstat (limited to '.config/fbpanel')
-rw-r--r-- | .config/fbpanel/taskbar | 61 |
1 files changed, 54 insertions, 7 deletions
diff --git a/.config/fbpanel/taskbar b/.config/fbpanel/taskbar index 2905b1a..71a2eeb 100644 --- a/.config/fbpanel/taskbar +++ b/.config/fbpanel/taskbar @@ -58,15 +58,55 @@ Plugin { } Plugin { - type = genmon + type = tray expand = false padding = 0 +} + +Plugin { + type = cpu config { - command = ~/lib/panel/batmon - textsize = 10240 - textcolor = #F3F3F5 - pollingtime = 1 - maxtextlength = 6 + color = green + } +} + +Plugin { + type = mem + config { + ShowSwap = false + } +} + +Plugin { + type = net + config { + interface = ens9 + 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 = ens9 + 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 } } @@ -84,9 +124,16 @@ Plugin { } Plugin { - type = tray + type = genmon expand = false padding = 0 + config { + command = ~/lib/panel/batmon + textsize = 10240 + textcolor = #F3F3F5 + pollingtime = 1 + maxtextlength = 6 + } } Plugin { |