feat(desktop): bandwidth3 units

This commit is contained in:
Pavel Korytov 2022-07-25 23:34:39 +03:00
parent 1af534fcd2
commit ed58017769
2 changed files with 2 additions and 2 deletions

View file

@ -2114,7 +2114,7 @@ format-background = <<get-polybar-bg(module="bandwidth")>>
iface="${BLOCK_INSTANCE}"
iface="${IFACE:-$iface}"
dt="${DT:-1}"
unit="${UNIT:-Kb}"
unit="${UNIT:-KB}"
printf_command="${PRINTF_COMMAND:-"printf \"↓ %-2.1f ↑ %2.1f [%s/s]\\n\", rx, wx, unit;"}"
function default_interface {

View file

@ -7,7 +7,7 @@
iface="${BLOCK_INSTANCE}"
iface="${IFACE:-$iface}"
dt="${DT:-1}"
unit="${UNIT:-Kb}"
unit="${UNIT:-KB}"
printf_command="${PRINTF_COMMAND:-"printf \"↓ %-2.1f ↑ %2.1f [%s/s]\\n\", rx, wx, unit;"}"
function default_interface {