waybar: show cpu clock

This commit is contained in:
LordMZTE 2024-11-18 09:35:30 +01:00
parent 14237e56fa
commit c5e0c62ff3
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -54,7 +54,7 @@ end
:clock {:tooltip-format "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>" :clock {:tooltip-format "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
:format-alt "{:%Y-%m-%d}"} :format-alt "{:%Y-%m-%d}"}
:cpu {:format (.. (faccumulate [s "" i 0 (- (cg.opt.system :nproc) 1)] :cpu {:format (.. (faccumulate [s "" i 0 (- (cg.opt.system :nproc) 1)]
(.. s "{icon" i "}")) " {usage}% ") (.. s "{icon" i "}")) " {usage}% {avg_frequency}GHz ")
:interval 2 :interval 2
: format-icons} : format-icons}
:memory {:format "{}% "} :memory {:format "{}% "}