From 71d7596b6f5537a5572a2588320d85e37fa5f670 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 30 Apr 2021 14:23:49 +0200 Subject: [PATCH] fix: bluetooth status tooltip --- src/modules/bluetooth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bluetooth.cpp b/src/modules/bluetooth.cpp index 88526845..1540c053 100644 --- a/src/modules/bluetooth.cpp +++ b/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);