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.
This commit is contained in:
Vincent Bernat 2022-04-09 11:29:02 +02:00
parent 7314dfdd02
commit 48afaab4c7

View file

@ -745,7 +745,7 @@ async def bluetooth_notifications(i3, event, path, interface, changed, invalid):
), ),
) )
@retry(2) @retry(2)
@debounce(0.2) @debounce(1)
@polybar("bluetooth") @polybar("bluetooth")
async def bluetooth_status(i3, event, *args): async def bluetooth_status(i3, event, *args):
"""Update bluetooth status for Polybar.""" """Update bluetooth status for Polybar."""