New backup 2025-03-04 16:30:02
This commit is contained in:
parent
aaa1e706f6
commit
d5da91409d
2 changed files with 5 additions and 4 deletions
|
@ -71,10 +71,10 @@
|
||||||
:space-evenly true
|
:space-evenly true
|
||||||
:halign "start"
|
:halign "start"
|
||||||
|
|
||||||
(for entry in array
|
(for device in array
|
||||||
(button :onclick 'notify-send ${entry.name}"'
|
(button :onclick 'notify-send ${device.name}'
|
||||||
:class ""
|
:class ""
|
||||||
'${entry.name}'))))
|
"${device.name}"))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
3
de/home/.config/eww/scripts/bt-devices
Normal file → Executable file
3
de/home/.config/eww/scripts/bt-devices
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
printf '%s' '[{"name":"mouse"},{"name":"headphones"}]'
|
devices=$(echo '[{"name":"mouse"},{"name":"headphones"}]' | jq '.')
|
||||||
|
echo ${devices}
|
||||||
|
|
Loading…
Add table
Reference in a new issue