fix CPU temperature
This commit is contained in:
parent
5f018a248e
commit
388bf2213e
@ -4,7 +4,7 @@ static const Block blocks[] = {
|
||||
{"", "echo \"$( < /proc/loadavg cut -f1,2,3 -d ' ')\" \
|
||||
\"($(mpstat --dec=0 5 1 | tr -s ' ' | grep -i '\\: all' \
|
||||
| awk -F ' ' '{ print $3 + $4 + $5 }')%, $(sensors \
|
||||
| grep 'Tdie:' | tr -s ' ' | cut -f2 -d ' ' \
|
||||
| grep 'CPU:' | tr -s ' ' | cut -f2 -d ' ' \
|
||||
| cut -c 2-))\" ", 5, 0},
|
||||
{"", "free -h | awk '/^Minne/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
||||
{"", "echo \"$(cat /sys/class/power_supply/BAT0/capacity)%\" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user