mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat(network): network info interval
This commit is contained in:
@ -14,7 +14,7 @@ waybar::modules::Cpu::Cpu(const Json::Value& config)
|
||||
auto waybar::modules::Cpu::update() -> void
|
||||
{
|
||||
try {
|
||||
// TODO: as creating dynamic fmt::arg arrays is buggy we have to do this
|
||||
// TODO: as creating dynamic fmt::arg arrays is buggy we have to calc both
|
||||
auto cpu_load = getCpuLoad();
|
||||
auto [cpu_usage, tooltip] = getCpuUsage();
|
||||
label_.set_tooltip_text(tooltip);
|
||||
|
Reference in New Issue
Block a user