dotfiles/home/dot_config/sketchybar/plugins/executable_cpu.sh
2025-09-27 16:00:34 +01:00

3 lines
138 B
Bash

#!/usr/bin/env bash
sketchybar --set "$NAME" icon="" label="$(ps -A -o %cpu | awk '{s+=$1} END {s /= 8} END {printf "%.1f%%\n", s}')"