mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-04 21:28:21 -05:00
6 lines
111 B
Plaintext
6 lines
111 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
idle=$(printf "%.0f\n" "$(mpstat 1 1 | sed '1,4d;s/.* //')")
|
||
|
cpu=$(( 100 - idle ))
|
||
|
echo "ﰆ $cpu%"
|