mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-14 07:02:30 +02:00
Introduce cpu_frequency module
This commit is contained in:
@ -99,6 +99,9 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name) const {
|
||||
if (ref == "cpu") {
|
||||
return new waybar::modules::Cpu(id, config_[name]);
|
||||
}
|
||||
if (ref == "cpu_frequency") {
|
||||
return new waybar::modules::CpuFrequency(id, config_[name]);
|
||||
}
|
||||
if (ref == "load") {
|
||||
return new waybar::modules::Load(id, config_[name]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user