.files/dotfiles/config/polybar/cpuload.sh
2017-12-30 12:31:57 +01:00

6 lines
132 B
Bash
Executable file

#!/usr/bin/env bash
load=$(uptime | grep -ohe 'load average[s:][: ].*' | sed 's/,//g' | awk '{print $3" "$4" "$5}')
echo -n $load