i3-companion: fix bluetooth not powered case

This commit is contained in:
Vincent Bernat 2024-07-06 12:01:58 +02:00
parent ef60aa5f13
commit 1c61c22066

View file

@ -838,8 +838,7 @@ async def bluetooth_status(i3, event, *args):
devices.append(device)
if not powered:
output = ""
else:
return ""
output = ["bluetooth"]
for device in devices:
bicons = {