From 48afaab4c7731660999e30f8454aa771d77d6570 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 9 Apr 2022 11:29:02 +0200 Subject: [PATCH] i3-companion: debounce more bluetooth stuff It may take a bit of time to let PulseAudio transmits battery status. And for some reason, we don't get a property changed event. --- bin/i3-companion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/i3-companion b/bin/i3-companion index ab333c9..5bc93a5 100755 --- a/bin/i3-companion +++ b/bin/i3-companion @@ -745,7 +745,7 @@ async def bluetooth_notifications(i3, event, path, interface, changed, invalid): ), ) @retry(2) -@debounce(0.2) +@debounce(1) @polybar("bluetooth") async def bluetooth_status(i3, event, *args): """Update bluetooth status for Polybar."""