New backup 2025-03-04 16:15:03

This commit is contained in:
Penelope Gwen 2025-03-04 16:15:03 -08:00
parent 87f3f9ebcb
commit aaa1e706f6
2 changed files with 28 additions and 4 deletions

View file

@ -17,7 +17,7 @@
(volume)
(network)
(vpn)
(bluetooth)
(bluetooth :array btDeviceArray)
(sysdisk)
(sysmem)
(clock)
@ -56,9 +56,30 @@
(button :onclick 'notify-send "test"'
{formattime(EWW_TIME,"%b %d, %Y | %H:%M")}))
(defwidget bluetooth []
(button :onclick 'blueman-manager'
""))
;(defwidget bluetooth []
; (button :onclick 'blueman-manager'
; ""))
(deflisten btDeviceArray :initial "${[1]}"
'scripts/bt-devices')
(defwidget bluetooth [array]
(box :class "workspaces"
:orientation "h"
:space-evenly true
:halign "start"
(for entry in array
(button :onclick 'notify-send ${entry.name}"'
:class ""
'${entry.name}'))))
(defpoll inhibit_active :initial false
:interval "1s"

View file

@ -0,0 +1,3 @@
#!/bin/bash
printf '%s' '[{"name":"mouse"},{"name":"headphones"}]'