modules/power-profiles-daemon: kebab case name in config

power_profiles_daemon => power-profiles-daemon
This commit is contained in:
Félix Baylac Jacqué
2024-03-02 18:37:32 +01:00
parent 5ba7c9eb60
commit 5578c122ab
3 changed files with 5 additions and 5 deletions

View File

@ -283,7 +283,7 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name,
if (ref == "bluetooth") {
return new waybar::modules::Bluetooth(id, config_[name]);
}
if (ref == "power_profiles_daemon") {
if (ref == "power-profiles-daemon") {
return new waybar::modules::PowerProfilesDaemon(id, config_[name]);
}
#endif