diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2023-03-22 11:06:00 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2023-03-22 11:06:00 +0000 |
| commit | c990b20a8b6db9e6190e0ce775f0cc5ecb4bf1bb (patch) | |
| tree | 06f8bcbe92a2f27858e7e431799a13dbcd7cd3e1 /.local/bin/statusbar/cpuinfo | |
| parent | fd8a737134eb92e204aa632731ea303fed1dc1b0 (diff) | |
Update statusbar scripts
Diffstat (limited to '.local/bin/statusbar/cpuinfo')
| -rwxr-xr-x | .local/bin/statusbar/cpuinfo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/cpuinfo b/.local/bin/statusbar/cpuinfo index 78920a5..11b9efe 100755 --- a/.local/bin/statusbar/cpuinfo +++ b/.local/bin/statusbar/cpuinfo @@ -28,4 +28,4 @@ LOAD_1m=$(sed -E 's/^([^ ]+).*/\1/' /proc/loadavg | tr -d '\n') # Thermals TEMP="$(awk '{s+=$1}END{printf "%.1f", s / (1000*NR)}' /sys/class/thermal/thermal_zone*/temp)" -printf "[%s %s°]" "${LOAD_1m}" "${TEMP}" +printf "[%s %.01f°]\n" "${LOAD_1m}" "${TEMP}" |
