updated waybar

This commit is contained in:
2025-08-29 00:58:18 +02:00
parent 52cc37a102
commit 02e48b7d1e
12 changed files with 275 additions and 102 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 "{}"