mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 09:35:40 +02:00
i3-companion: fix bluetooth not powered case
This commit is contained in:
parent
ef60aa5f13
commit
1c61c22066
1 changed files with 25 additions and 26 deletions
|
@ -838,8 +838,7 @@ async def bluetooth_status(i3, event, *args):
|
||||||
devices.append(device)
|
devices.append(device)
|
||||||
|
|
||||||
if not powered:
|
if not powered:
|
||||||
output = ""
|
return ""
|
||||||
else:
|
|
||||||
output = ["bluetooth"]
|
output = ["bluetooth"]
|
||||||
for device in devices:
|
for device in devices:
|
||||||
bicons = {
|
bicons = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue