Regenerated

This commit is contained in:
2026-03-31 16:58:54 +00:00
parent 0baa352bfe
commit 049746a077
5 changed files with 362 additions and 308 deletions
+7 -9
View File
@@ -10,7 +10,7 @@
"idle_inhibitor",
"pulseaudio",
"network",
"custom/bluetooth",
"bluetooth",
"cpu",
"memory",
"temperature",
@@ -74,15 +74,13 @@
"on-click-right": "nm-connection-editor",
},
"custom/bluetooth": {
"exec": "bash -c 'bluetoothctl info | grep \"Device\" | awk -F \": \" \"{print $2}\"'",
"interval": 10,
"format": "",
"bluetooth": {
"exec": "~/.config/waybar/scripts/bluetooth-status.sh",
"interval": 5,
"tooltip": true,
"tooltip-format": "{output}", // will show connected devices
"on-click": "blueman-manager", // opens blueman on click
"max-length": 50
}
"tooltip-format": "Connected devices:\n{output}",
"on-click": "blueman-manager"
}
"cpu": {
"format": "{usage}%  ",
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
bt_connected=$(bluetoothctl devices Connected | awk '{$1=""; $2=""; print substr($0,3)}')
if [ -n "$bt_connected" ]; then
echo ""
else
echo ""
fi
# Output the list for tooltip
echo "$bt_connected"