Merge pull request #1921 from Jonher937/cpu-load-pushed-back-twice
commit
1d6cfe7ce6
|
@ -39,7 +39,6 @@ auto waybar::modules::Cpu::update() -> void {
|
||||||
auto icons = std::vector<std::string>{state};
|
auto icons = std::vector<std::string>{state};
|
||||||
fmt::dynamic_format_arg_store<fmt::format_context> store;
|
fmt::dynamic_format_arg_store<fmt::format_context> store;
|
||||||
store.push_back(fmt::arg("load", cpu_load));
|
store.push_back(fmt::arg("load", cpu_load));
|
||||||
store.push_back(fmt::arg("load", cpu_load));
|
|
||||||
store.push_back(fmt::arg("usage", total_usage));
|
store.push_back(fmt::arg("usage", total_usage));
|
||||||
store.push_back(fmt::arg("icon", getIcon(total_usage, icons)));
|
store.push_back(fmt::arg("icon", getIcon(total_usage, icons)));
|
||||||
store.push_back(fmt::arg("max_frequency", max_frequency));
|
store.push_back(fmt::arg("max_frequency", max_frequency));
|
||||||
|
|
Loading…
Reference in New Issue