i have to rework the bar... too full

This commit is contained in:
2025-08-15 21:13:36 +02:00
parent e45ea11b28
commit 6e647070d8
4 changed files with 19 additions and 16 deletions

View File

@@ -109,7 +109,7 @@ if [ -n "$device_mac" ]; then
device_name=$(bluetoothctl info "$device_mac" | rg "Alias:" | cut -d ' ' -f 2-)
# Output in Waybar's JSON format
tooltip=$(bt-audio-info $device_mac)
echo "{\"text\": \"$device_name <span size='large'>󰂰</span>\", \"tooltip\": \"$tooltip\"}"
echo "{\"text\": \"$device_name <span size='large'>󰂰</span>\", \"tooltip\": \"$tooltip\"}"
else
# Output empty string when no device is connected
echo "{}"