@@ -342,7 +342,9 @@ auto waybar::modules::Network::update() -> void {
342
342
fmt::arg (" bandwidthDownBits" , pow_format (bandwidth_down * 8ull / interval_.count (), " b/s" )),
343
343
fmt::arg (" bandwidthUpBits" , pow_format (bandwidth_up * 8ull / interval_.count (), " b/s" )),
344
344
fmt::arg (" bandwidthDownOctets" , pow_format (bandwidth_down / interval_.count (), " o/s" )),
345
- fmt::arg (" bandwidthUpOctets" , pow_format (bandwidth_up / interval_.count (), " o/s" )));
345
+ fmt::arg (" bandwidthUpOctets" , pow_format (bandwidth_up / interval_.count (), " o/s" )),
346
+ fmt::arg (" bandwidthDownBytes" , pow_format (bandwidth_down / interval_.count (), " B/s" )),
347
+ fmt::arg (" bandwidthUpBytes" , pow_format (bandwidth_up / interval_.count (), " B/s" )));
346
348
if (text.compare (label_.get_label ()) != 0 ) {
347
349
label_.set_markup (text);
348
350
if (text.empty ()) {
@@ -373,7 +375,9 @@ auto waybar::modules::Network::update() -> void {
373
375
pow_format (bandwidth_down * 8ull / interval_.count (), " b/s" )),
374
376
fmt::arg (" bandwidthUpBits" , pow_format (bandwidth_up * 8ull / interval_.count (), " b/s" )),
375
377
fmt::arg (" bandwidthDownOctets" , pow_format (bandwidth_down / interval_.count (), " o/s" )),
376
- fmt::arg (" bandwidthUpOctets" , pow_format (bandwidth_up / interval_.count (), " o/s" )));
378
+ fmt::arg (" bandwidthUpOctets" , pow_format (bandwidth_up / interval_.count (), " o/s" )),
379
+ fmt::arg (" bandwidthDownBytes" , pow_format (bandwidth_down / interval_.count (), " B/s" )),
380
+ fmt::arg (" bandwidthUpBytes" , pow_format (bandwidth_up / interval_.count (), " B/s" )));
377
381
if (label_.get_tooltip_text () != tooltip_text) {
378
382
label_.set_tooltip_text (tooltip_text);
379
383
}
0 commit comments