From bd39e7f163512ad5229f8ea8403a195e4764d5dd Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Mon, 1 Nov 2021 16:20:10 +0530 Subject: [PATCH] i3status-rust: Enable bluetooth blocks The battery percentage feature relies on the experimental flag being passed to the bluetooth daemon so that the bluez experimental API can be used for battery percentage indication. --- i3status-rust/.config/i3status-rust/config.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/i3status-rust/.config/i3status-rust/config.toml b/i3status-rust/.config/i3status-rust/config.toml index 473988a..10ba9e2 100644 --- a/i3status-rust/.config/i3status-rust/config.toml +++ b/i3status-rust/.config/i3status-rust/config.toml @@ -60,3 +60,15 @@ interface_name_include = [] block = "music" player = "mpd" buttons = ["play", "next"] + +[[block]] +block = "bluetooth" +hide_disconnected = true +mac = "74:45:CE:BA:F1:E4" +format = "Sony {percentage}" + +[[block]] +block = "bluetooth" +hide_disconnected = true +mac = "00:16:94:28:9F:C2" +format = "HD 4.40BT {percentage}"