Regenerated
This commit is contained in:
@@ -11,9 +11,11 @@
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"bluetooth",
|
||||
/*
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature",
|
||||
*/
|
||||
"battery",
|
||||
"tray",
|
||||
"clock",
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
bt_connected=$(bluetoothctl devices Connected | awk '{$1=""; $2=""; print substr($0,3)}')
|
||||
# Get list of connected devices
|
||||
bt_connected=$(bluetoothctl devices Connected | awk '{$1=$2=""; print substr($0,3)}')
|
||||
# Icon for display
|
||||
if [ -n "$bt_connected" ]; then
|
||||
echo ""
|
||||
echo "" # Main icon
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
# Output the list for tooltip
|
||||
# Export list for tooltip
|
||||
echo "$bt_connected"
|
||||
|
||||
Reference in New Issue
Block a user