diff --git a/.config/waybar/config.cgt b/.config/waybar/config.cgt index f283ff5..4c1dabf 100644 --- a/.config/waybar/config.cgt +++ b/.config/waybar/config.cgt @@ -26,7 +26,10 @@ :tray {:spacing 10} :clock {:tooltip-format "{:%Y %B}\n{calendar}" :format-alt "{:%Y-%m-%d}"} - :cpu {:format "{usage}% "} + :cpu {:format (.. (faccumulate [s "" i 0 (- (cg.opt.system :nproc) 1)] + (.. s "{icon" i "}")) " {usage}% ") + :format-icons ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█"] + :interval 2} :memory {:format "{}% "} :temperature {:hwmon-path "<% opt.cpu_temp_hwmon %>" :critical-threshold 80