mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
fix(bluetooth): tooltip-format-connected-battery
This commit is contained in:
@@ -165,7 +165,9 @@ auto waybar::modules::Bluetooth::update() -> void {
|
|||||||
format_ = default_format_;
|
format_ = default_format_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (config_["tooltip-format-" + state].isString()) {
|
if (battery_available && config_["tooltip-format-connected-battery"].isString()) {
|
||||||
|
tooltip_format = config_["tooltip-format-connected-battery"].asString();
|
||||||
|
} else if (config_["tooltip-format-" + state].isString()) {
|
||||||
tooltip_format = config_["tooltip-format-" + state].asString();
|
tooltip_format = config_["tooltip-format-" + state].asString();
|
||||||
} else if (config_["tooltip-format"].isString()) {
|
} else if (config_["tooltip-format"].isString()) {
|
||||||
tooltip_format = config_["tooltip-format"].asString();
|
tooltip_format = config_["tooltip-format"].asString();
|
||||||
|
Reference in New Issue
Block a user