summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-23 19:25:24 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-23 19:25:24 +0300
commit910e2fcc3870b9deeeb20fb7171f6d9804f88b03 (patch)
tree3a5a3551add4154ccdd1de9ecda630d307a437ae
parent31a01a16e32a3138e6470636e489706ff9172860 (diff)
eww: Add some initial values
-rw-r--r--.config/eww/eww.yuck8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck
index 4d7e8e0..df4495b 100644
--- a/.config/eww/eww.yuck
+++ b/.config/eww/eww.yuck
@@ -2,23 +2,23 @@
(deflisten active-workspace
`stdbuf -oL scripts/active-workspace-listener`)
-(deflisten workspace-list :initial "[1]"
+(deflisten workspace-list :initial '[1]'
`stdbuf -oL scripts/workspace-list-listener`)
-(deflisten datetime
+(deflisten datetime :initial '{"pretty":"","month":0}'
`stdbuf -oL scripts/datetime-listener`)
(deflisten brightness
`stdbuf -oL scripts/backlight-listener`)
-(deflisten volume :initial "0%"
+(deflisten volume :initial '{"icon":"","percentage":""}'
`stdbuf -oL scripts/volume-listener`)
(deflisten keymap
`stdbuf -oL scripts/keymap-listener`)
;; Pollers
-(defpoll battery :interval "1s"
+(defpoll battery :initial '{"icon":"","percentage":""}' :interval "1s"
`scripts/battery`)
(defpoll wireless :interval "1s"