This commit is contained in:
2023-04-12 20:32:07 +02:00
committed by soraefir
parent 10fbbc2654
commit a57512f3e5
90 changed files with 5470 additions and 4 deletions

30
home/gui/eww/modules/sys.yuck Executable file
View File

@@ -0,0 +1,30 @@
(defwidget sys []
(box
:class "module"
:space-evenly false
:spacing 5
(circular-progress
:value {EWW_CPU.avg}
:class "cpubar"
:thickness 3
(button
:onclick "${EWW_CMD} open --toggle system-menu"
(label :class "icon-text" :text "")))
(circular-progress
:value {memory.percent}
:class "membar"
:thickness 3
(button
:onclick "${EWW_CMD} open --toggle system-menu"
(label :class "icon-text" :text "")))
(circular-progress
:value {battery.percentage}
:class "batbar"
:style "color: ${battery.color};"
:thickness 3
(button
:tooltip "${battery.percentage}%"
:onclick "${EWW_CMD} open --toggle system-menu"
(label :class "icon-text" :text "")))))