summaryrefslogtreecommitdiff
path: root/.config/eww/widgets.yuck
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-12-13 23:43:10 -0500
committerbdunahu <bdunahu@operationnull.com>2026-01-03 21:46:06 -0700
commit288ccb3984c7cb46b67d0f6bf7fb6d53c5d7a2d3 (patch)
tree47091f5aeede90e1364546e8122cd55e6d7f2971 /.config/eww/widgets.yuck
parentdf14036eb22ff9326c2806eb3f8cafc0d3042efa (diff)
guix: full refactor of configuration structure
Diffstat (limited to '.config/eww/widgets.yuck')
-rw-r--r--.config/eww/widgets.yuck92
1 files changed, 0 insertions, 92 deletions
diff --git a/.config/eww/widgets.yuck b/.config/eww/widgets.yuck
deleted file mode 100644
index c7ea4d4..0000000
--- a/.config/eww/widgets.yuck
+++ /dev/null
@@ -1,92 +0,0 @@
-(defwidget bar []
- (box :class "bar"
- :orientation "h"
- (classeswidget)
- (workspaces)
- (power-time-cpu-mem)))
-
-(defwidget power-time-cpu-mem []
- (box :class "time-cpu-mem"
- :halign "end"
- :valign "center"
- :space-evenly "false"
- :orientation "h"
- (cpu-and-mem)
- (sep)
- (weatherwidget)
- (sep)
- (mailwidget)
- (sep)
- (t1widget)
- (sep)
- (batterywidget)
- (sep)
- (label :text "${date}, "
- :class "time-label"
- :halign "end"
- :valign "center"
- :tooltip "time")
- (label :text time
- :class "time-label"
- :halign "end"
- :valign "center"
- :tooltip "time")))
-
-(defwidget cpu-and-mem []
- (box :class "cpu-and-mem"
- :orientation "h"
- :halign "end"
- :valign "center"
- :space-evenly "false"
- (circular-progress :class "vol"
- :value volume
- :thickness 6)
- (circular-progress :class "cpu"
- :value {EWW_CPU.avg}
- :thickness 6)
- (circular-progress :class "mem"
- :value {EWW_RAM.used_mem_perc}
- :thickness 6)))
-
-(defwidget batterywidget []
- (label
- :class "battery"
- :text batperc))
-
-(defwidget t1widget []
- (label
- :class "t1"
- :text "${t1}"))
-
-(defwidget mailwidget []
- (label
- :class "mail"
- :text "${mail}"))
-
-(defwidget weatherwidget []
- (label
- :class "weather"
- :text "${weather}"))
-
-(defwidget classeswidget []
- (literal :content cs))
-
-(defwidget iconwidget []
- (image
- :path "assets/raven.png"
- :class "icon"
- :image-height 20
- :preserve-aspect-ratio true))
-
-(defwidget workspaces []
- (literal :content ws))
-
-(defwidget sep []
- (box :orientation "h"
- :valign "center"
- (label :class "sepbar" :text "|")))
-
-;; Local Variables:
-;; mode: scheme
-;; compile-command: "eww daemon --restart; eww open bar"
-;; End: