eww: add new tiles to control-center, new notification popup, new styles for a lot of widgets

This commit is contained in:
retrozinndev
2025-01-07 16:26:20 -03:00
parent 435b222e03
commit c505ecf4cf
43 changed files with 802 additions and 319 deletions
+17
View File
@@ -0,0 +1,17 @@
(defwidget hardware [ ?cpu ?memory ?visible ]
(eventbox :class "hardware-eventbox button"
:onclick "sh ${EWW_CONFIG_DIR}/scripts/eww-window.sh toggle hardware-monitor"
:visible { visible == "" || visible ? true : false }
(box :class "hardware"
:space-evenly false
(box :class "cpu"
:visible { cpu == "" || cpu ? true : false }
(label :text " ${ round(EWW_CPU?.avg, 0) }%")
)
(box :class "memory"
:visible { memory == "" || memory ? true : false }
(label :text " ${ round(EWW_RAM?.used_mem_perc, 0) }%")
)
)
)
)