Browse Source

fix: bluetooth status tooltip

master
Alex 9 months ago
committed by GitHub
parent
commit
71d7596b6f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/modules/bluetooth.cpp

2
src/modules/bluetooth.cpp

@ -16,7 +16,7 @@ auto waybar::modules::Bluetooth::update() -> void {
if (tooltipEnabled()) {
if (config_["tooltip-format"].isString()) {
auto tooltip_format = config_["tooltip-format"].asString();
auto tooltip_text = fmt::format(tooltip_format, status);
auto tooltip_text = fmt::format(tooltip_format, status, fmt::arg("status", status));
label_.set_tooltip_text(tooltip_text);
} else {
label_.set_tooltip_text(status);

Loading…
Cancel
Save