aboutsummaryrefslogtreecommitdiff
path: root/homes/floppydisk/waybar.nix
diff options
context:
space:
mode:
authorFrankie B. <git@diskfloppy.me>2024-04-15 15:25:26 +0100
committerFrankie B. <git@diskfloppy.me>2024-04-15 15:25:26 +0100
commit2716a9079f659f855409eb01caf6045cb953802f (patch)
tree0ab919fe587757babaf5a5eb98f6eec8c50664df /homes/floppydisk/waybar.nix
parente4d98dd27ccf1d9e8cf39742782f7309c3a4a243 (diff)
Add bluetooth module and update color scheme
Diffstat (limited to 'homes/floppydisk/waybar.nix')
-rw-r--r--homes/floppydisk/waybar.nix10
1 files changed, 10 insertions, 0 deletions
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}%";