4 lines
138 B
Bash
4 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}')"
|