summaryrefslogtreecommitdiff
path: root/.config/eww/pollers.yuck
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-10-18 16:49:18 -0400
committerbd <bdunahu@operationnull.com>2025-10-18 16:49:18 -0400
commit4d6171844a8b6971c76be8054aa56b65685317fd (patch)
treeadbea5f22b8c6f6c3392cac5c049d5424f9ba770 /.config/eww/pollers.yuck
parentb5eaf56936b0620e0fb0f2f0d4bb12936f7f2445 (diff)
move tab-bar-global info to dedicated eww panel
Diffstat (limited to '.config/eww/pollers.yuck')
-rw-r--r--.config/eww/pollers.yuck12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/eww/pollers.yuck b/.config/eww/pollers.yuck
new file mode 100644
index 0000000..bb5d521
--- /dev/null
+++ b/.config/eww/pollers.yuck
@@ -0,0 +1,12 @@
+(defpoll volume :interval "2s" "scripts/getvol")
+(defpoll time :interval "30s" "date '+%H:%M'")
+(defpoll date :interval "30s" "date '+%b %d'")
+(defpoll ws :interval "0.1s" "scripts/update_workspaces")
+(defpoll mail :interval "60s" "$HOME/.local/bin/mail-string")
+(defpoll t1 :interval "60s" "$HOME/.local/bin/t1-string")
+(defpoll batperc :interval "60s" "echo \"$(cat /sys/class/power_supply/BAT0/capacity)%\"")
+
+;; Local Variables:
+;; mode: scheme
+;; compile-command: "eww daemon --restart; eww open bar"
+;; End: