mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 11:43:03 +03:00
feat(desktop): bandwidth3 units
This commit is contained in:
parent
1af534fcd2
commit
ed58017769
2 changed files with 2 additions and 2 deletions
|
|
@ -2114,7 +2114,7 @@ format-background = <<get-polybar-bg(module="bandwidth")>>
|
||||||
iface="${BLOCK_INSTANCE}"
|
iface="${BLOCK_INSTANCE}"
|
||||||
iface="${IFACE:-$iface}"
|
iface="${IFACE:-$iface}"
|
||||||
dt="${DT:-1}"
|
dt="${DT:-1}"
|
||||||
unit="${UNIT:-Kb}"
|
unit="${UNIT:-KB}"
|
||||||
printf_command="${PRINTF_COMMAND:-"printf \"↓ %-2.1f ↑ %2.1f [%s/s]\\n\", rx, wx, unit;"}"
|
printf_command="${PRINTF_COMMAND:-"printf \"↓ %-2.1f ↑ %2.1f [%s/s]\\n\", rx, wx, unit;"}"
|
||||||
|
|
||||||
function default_interface {
|
function default_interface {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
iface="${BLOCK_INSTANCE}"
|
iface="${BLOCK_INSTANCE}"
|
||||||
iface="${IFACE:-$iface}"
|
iface="${IFACE:-$iface}"
|
||||||
dt="${DT:-1}"
|
dt="${DT:-1}"
|
||||||
unit="${UNIT:-Kb}"
|
unit="${UNIT:-KB}"
|
||||||
printf_command="${PRINTF_COMMAND:-"printf \"↓ %-2.1f ↑ %2.1f [%s/s]\\n\", rx, wx, unit;"}"
|
printf_command="${PRINTF_COMMAND:-"printf \"↓ %-2.1f ↑ %2.1f [%s/s]\\n\", rx, wx, unit;"}"
|
||||||
|
|
||||||
function default_interface {
|
function default_interface {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue