I3status-rust: [bluetooth] Hide block if not connected

Created on 26 Mar 2020  路  5Comments  路  Source: greshake/i3status-rust

Thanks for your project!

It would be nice, if there would be an option to hide the bluetooth block if the specified device is not connected.

enhancement

Most helpful comment

OK I'll see what I can do. I don't have Bluetooth so I'll ping you for testing when I have something :construction_worker:

All 5 comments

Something like how the net block behaves?

Yes that would an option, I guess.

It would be also nice, if we could provide the MAC of the bluetooth controller instead of the device to connect to. This simplifies it a lot when having multiple bluetooth devices.

OK I'll see what I can do. I don't have Bluetooth so I'll ping you for testing when I have something :construction_worker:

@Rikorose @taziden @AkechiShiro Can you try the new hdie_disconnected config option added in #858?

It is working to hide the Bluetooth block when hide_disconnected = true inside the toml configuration.

When the headset is connected the block shows up as expected, I can confirm that it works as expected.

If I encounter an issue I will comment here again but I think this is working fine now, nice little upgrade thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lovesegfault picture lovesegfault  路  7Comments

greshake picture greshake  路  6Comments

YodaEmbedding picture YodaEmbedding  路  4Comments

ammgws picture ammgws  路  6Comments

michaelmrose picture michaelmrose  路  4Comments