New backup 2025-03-04 16:30:02

This commit is contained in:
Penelope Gwen 2025-03-04 16:30:02 -08:00
parent aaa1e706f6
commit d5da91409d
2 changed files with 5 additions and 4 deletions

View file

@ -71,10 +71,10 @@
:space-evenly true
:halign "start"
(for entry in array
(button :onclick 'notify-send ${entry.name}"'
(for device in array
(button :onclick 'notify-send ${device.name}'
:class ""
'${entry.name}'))))
"${device.name}"))))

3
de/home/.config/eww/scripts/bt-devices Normal file → Executable file
View file

@ -1,3 +1,4 @@
#!/bin/bash
printf '%s' '[{"name":"mouse"},{"name":"headphones"}]'
devices=$(echo '[{"name":"mouse"},{"name":"headphones"}]' | jq '.')
echo ${devices}