From 773088249e716ccc5290bf413e2bdcbba0e3e23e Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 27 Feb 2022 14:19:30 +0100 Subject: [PATCH] Bifrost: Send our name as LED owner --- rainbow/desktop/burrow-bifrost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rainbow/desktop/burrow-bifrost.c b/rainbow/desktop/burrow-bifrost.c index 6a2605b..62de296 100644 --- a/rainbow/desktop/burrow-bifrost.c +++ b/rainbow/desktop/burrow-bifrost.c @@ -135,10 +135,10 @@ static int signal_urgent_windows(sd_bus_message *m, void *userdata UNUSED, sd_bu char topic[100]; snprintf(topic, sizeof(topic), "burrow/lights/rainbow/%d", led->index); if (mask & (1 << i)) { - mqtt_publish(topic, "%.3f %.3f %.3f", led->r, led->g, led->b); + mqtt_publish(topic, "%.3f %.3f %.3f bifrost", led->r, led->g, led->b); current_led_mask |= 1U << i; } else { - mqtt_publish(topic, "0 0 0"); + mqtt_publish(topic, ""); current_led_mask &= ~(1U << i); } } -- 2.39.2