Introduce cpu_usage module

This commit is contained in:
Mann mit Hut
2023-09-13 21:56:32 +02:00
parent c36fe3a004
commit 888adb57ec
7 changed files with 251 additions and 0 deletions
+3
View File
@@ -102,6 +102,9 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name) const {
if (ref == "cpu_frequency") {
return new waybar::modules::CpuFrequency(id, config_[name]);
}
if (ref == "cpu_usage") {
return new waybar::modules::CpuUsage(id, config_[name]);
}
if (ref == "load") {
return new waybar::modules::Load(id, config_[name]);
}