adding cpu to bar
This commit is contained in:
parent
539c55b426
commit
108ade85ab
2 changed files with 32 additions and 2 deletions
16
eww/eww.yuck
16
eww/eww.yuck
|
@ -146,6 +146,21 @@
|
|||
:tooltip "${EWW_BATTERY["BAT1"].capacity}% battery left"
|
||||
" "))))
|
||||
|
||||
(defwidget cpu []
|
||||
(box
|
||||
:class "cpu_module"
|
||||
:vexpand "false"
|
||||
:hexpand "false"
|
||||
(circular-progress
|
||||
:value {EWW_CPU.avg}
|
||||
:class "cpubar"
|
||||
:thickness 4
|
||||
(button
|
||||
:onclick "scripts/pop system"
|
||||
:class "iconcpu"
|
||||
:tooltip "using ${EWW_CPU.avg}% of cpu"
|
||||
" "))))
|
||||
|
||||
(defwidget mem []
|
||||
(box
|
||||
:class "mem_module"
|
||||
|
@ -233,6 +248,7 @@
|
|||
(wifi)
|
||||
(sep)
|
||||
(bat)
|
||||
(cpu)
|
||||
(mem)
|
||||
(sep)
|
||||
(clock_module)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue