mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-09-22 01:58:58 +02:00
waybar: add CPU bar graph
This commit is contained in:
parent
080c16564f
commit
9dd246d4d9
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@
|
||||||
:tray {:spacing 10}
|
:tray {:spacing 10}
|
||||||
: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 "{usage}% "}
|
:cpu {:format (.. (faccumulate [s "" i 0 (- (cg.opt.system :nproc) 1)]
|
||||||
|
(.. s "{icon" i "}")) " {usage}% ")
|
||||||
|
:format-icons ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█"]
|
||||||
|
:interval 2}
|
||||||
:memory {:format "{}% "}
|
:memory {:format "{}% "}
|
||||||
:temperature {:hwmon-path "<% opt.cpu_temp_hwmon %>"
|
:temperature {:hwmon-path "<% opt.cpu_temp_hwmon %>"
|
||||||
:critical-threshold 80
|
:critical-threshold 80
|
||||||
|
|
Loading…
Reference in a new issue