From ed580177698f2e65656335fafe33c1c0e5812341 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Mon, 25 Jul 2022 23:34:39 +0300 Subject: [PATCH] feat(desktop): bandwidth3 units --- Desktop.org | 2 +- bin/polybar/bandwidth3.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Desktop.org b/Desktop.org index 12e502b..93dbd6f 100644 --- a/Desktop.org +++ b/Desktop.org @@ -2114,7 +2114,7 @@ format-background = <> 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 { diff --git a/bin/polybar/bandwidth3.sh b/bin/polybar/bandwidth3.sh index ff902e4..d3d189a 100755 --- a/bin/polybar/bandwidth3.sh +++ b/bin/polybar/bandwidth3.sh @@ -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 {