New backup 2025-03-12 21:15:07
This commit is contained in:
parent
c8b3b6d257
commit
68ea9c712a
1 changed files with 1 additions and 7 deletions
|
@ -1,19 +1,13 @@
|
|||
(defvar reveal_bluetooth false)
|
||||
(defpoll bluetooth_active :initial true
|
||||
:interval "60s"
|
||||
'scripts/bar/bt-status')
|
||||
(defwidget bluetooth []
|
||||
(revealer-on-hover
|
||||
:revealvar reveal_bluetooth
|
||||
:revealvar-name "reveal_bluetooth"
|
||||
(button :onclick 'blueman-manager'
|
||||
:class {bluetooth_active ? "active" : ""}
|
||||
:class {matches(jq(bluetooth_status,'.[].connected'),'yes') ? "active" : ""}
|
||||
"")
|
||||
(bluetooth_children :array bluetooth_status)))
|
||||
|
||||
;(defpoll btDeviceArray :initial "${[{ "name": "dummy", "connected": "no", "icon": " ", "address": "00:00:00:00:00:00" }]}"
|
||||
; :interval "60s"
|
||||
; 'scripts/bar/bt-devices')
|
||||
(defwidget bluetooth_children [array]
|
||||
(box :class "reveal_children"
|
||||
:orientation "h"
|
||||
|
|
Loading…
Add table
Reference in a new issue