New backup 2025-03-04 16:15:03
This commit is contained in:
parent
87f3f9ebcb
commit
aaa1e706f6
2 changed files with 28 additions and 4 deletions
|
@ -17,7 +17,7 @@
|
||||||
(volume)
|
(volume)
|
||||||
(network)
|
(network)
|
||||||
(vpn)
|
(vpn)
|
||||||
(bluetooth)
|
(bluetooth :array btDeviceArray)
|
||||||
(sysdisk)
|
(sysdisk)
|
||||||
(sysmem)
|
(sysmem)
|
||||||
(clock)
|
(clock)
|
||||||
|
@ -56,9 +56,30 @@
|
||||||
(button :onclick 'notify-send "test"'
|
(button :onclick 'notify-send "test"'
|
||||||
{formattime(EWW_TIME,"%b %d, %Y | %H:%M")}))
|
{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
|
(defpoll inhibit_active :initial false
|
||||||
:interval "1s"
|
:interval "1s"
|
||||||
|
|
3
de/home/.config/eww/scripts/bt-devices
Normal file
3
de/home/.config/eww/scripts/bt-devices
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
printf '%s' '[{"name":"mouse"},{"name":"headphones"}]'
|
Loading…
Add table
Reference in a new issue