From 2716a9079f659f855409eb01caf6045cb953802f Mon Sep 17 00:00:00 2001 From: "Frankie B." Date: Mon, 15 Apr 2024 15:25:26 +0100 Subject: Add bluetooth module and update color scheme --- homes/floppydisk/waybar.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'homes/floppydisk/waybar.nix') diff --git a/homes/floppydisk/waybar.nix b/homes/floppydisk/waybar.nix index 3c5085a..8065f21 100644 --- a/homes/floppydisk/waybar.nix +++ b/homes/floppydisk/waybar.nix @@ -17,6 +17,7 @@ "memory" "pulseaudio" "network" + "bluetooth" "clock" ]; @@ -155,6 +156,15 @@ format-alt = "{ifname}: {ipaddr}/{cidr}"; }; + "bluetooth" = { + format = " {status}"; + format-disabled = ""; + format-connected = " {num_connections} connected"; + tooltip-format = "{controller_alias}\t{controller_address}"; + tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{device_enumerate}"; + tooltip-format-enumerate-connected = "{device_alias}\t{device_address}"; + }; + "pulseaudio" = { on-click = "pavucontrol"; format = "{icon}{volume}%"; -- cgit v1.2.3-54-g00ecf