Regenerated

This commit is contained in:
2026-03-31 17:15:57 +00:00
parent 68184e53ea
commit 561346a5cd
4 changed files with 305 additions and 293 deletions
+291 -287
View File
File diff suppressed because it is too large Load Diff
+7 -3
View File
@@ -2641,9 +2641,11 @@ These are config files for waybar
"pulseaudio", "pulseaudio",
"network", "network",
"bluetooth", "bluetooth",
/*
"cpu", "cpu",
"memory", "memory",
"temperature", "temperature",
*/
"battery", "battery",
"tray", "tray",
"clock", "clock",
@@ -2987,13 +2989,15 @@ window#waybar {
These are config files for waybar These are config files for waybar
#+BEGIN_SRC sh :tangle generated/.config/waybar/scripts/bluetooth-status.sh :noweb yes :mkdirp yes :eval never #+BEGIN_SRC sh :tangle generated/.config/waybar/scripts/bluetooth-status.sh :noweb yes :mkdirp yes :eval never
#!/usr/bin/env bash #!/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 if [ -n "$bt_connected" ]; then
echo "" echo "" # Main icon
else else
echo "" echo ""
fi fi
# Output the list for tooltip # Export list for tooltip
echo "$bt_connected" echo "$bt_connected"
#+END_SRC #+END_SRC
+2
View File
@@ -11,9 +11,11 @@
"pulseaudio", "pulseaudio",
"network", "network",
"bluetooth", "bluetooth",
/*
"cpu", "cpu",
"memory", "memory",
"temperature", "temperature",
*/
"battery", "battery",
"tray", "tray",
"clock", "clock",
@@ -1,9 +1,11 @@
#!/usr/bin/env bash #!/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 if [ -n "$bt_connected" ]; then
echo "" echo "" # Main icon
else else
echo "" echo ""
fi fi
# Output the list for tooltip # Export list for tooltip
echo "$bt_connected" echo "$bt_connected"