We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f1a959 + 2dcc567 commit 43997c4Copy full SHA for 43997c4
scripts/network_bandwidth.sh
@@ -112,7 +112,7 @@ main() {
112
IFS=" " read -ra bandwidth <<<"$(get_bandwidth "$network_name")"
113
114
if [[ $show_interface == "true" ]]; then echo -n "[$network_name] "; fi
115
- echo "↓ $(bandwidth_to_unit "${bandwidth[$DOWNLOAD]}") • ↑ $(bandwidth_to_unit "${bandwidth[$UPLOAD]}")"
+ printf "↓ %6s %-4s • ↑ %6s %-4s\n" $(bandwidth_to_unit "${bandwidth[$DOWNLOAD]}") $(bandwidth_to_unit "${bandwidth[$UPLOAD]}")
116
117
((counter = counter - 1))
118
sleep "$interval_update"
0 commit comments