modules/power-profiles-daemon: kebab case name in config
power_profiles_daemon => power-profiles-daemon
This commit is contained in:
parent
5ba7c9eb60
commit
5578c122ab
|
@ -42,7 +42,7 @@ $XDG_CONFIG_HOME/waybar/config
|
|||
Compact display (default config):
|
||||
|
||||
```
|
||||
"power_profiles_daemon": {
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||
"tooltip": true,
|
||||
|
@ -58,7 +58,7 @@ Compact display (default config):
|
|||
Display the full profile name:
|
||||
|
||||
```
|
||||
"power_profiles_daemon": {
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon} {profile}",
|
||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||
"tooltip": true,
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"idle_inhibitor",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"power_profiles_daemon",
|
||||
"power-profiles-daemon",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature",
|
||||
|
@ -148,7 +148,7 @@
|
|||
"battery#bat2": {
|
||||
"bat": "BAT2"
|
||||
},
|
||||
"power_profiles_daemon": {
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||
"tooltip": true,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue