integrate power_bat into config

This commit is contained in:
2025-11-16 01:42:42 -05:00
parent 9bbf3f9092
commit 1524b0d801
4 changed files with 64 additions and 2 deletions

View File

@@ -92,8 +92,7 @@
(defpoll time :interval "1s" `date +'{"long":"%a %b %e %H:%M:%S %Z %Y","hour":"%H","minute":"%M"}'`)
; TODO: make this a package or something, not using rust-script
(defpoll powerstats :interval "2s" `~/Documents/power_bat.rs`)
(defpoll powerstats :interval "2s" `power_bat`)
(defwidget battery []
(box :space-evenly false