repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

eww/scripts/cpu.nu

Raw
# ~/.config/eww/scripts/cpu.nu
let cpu = (sys cpu | get load_average | parse '{load}, {a}, {b}' | get load | into float | math avg | math round)
echo $cpu