.files/dotfiles/config/polybar/cpuload.sh
Philip Henning c377eb276a consolidate and templeate my to files
in order to stop maintainung different files for each operationg system
2021-09-11 23:45:56 +02:00

10 lines
158 B
Bash
Executable file

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