1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-09-18 21:47:51 +00:00
Dotfiles/.config/polybar/polybar-scripts/system-cpu-temppercore/system-cpu-temppercore.sh
2020-07-27 07:59:00 +03:00

4 lines
126 B
Bash

#!/bin/sh
sensors | grep Core | awk '{print substr($3, 2, length($3)-5)}' | tr "\\n" " " | sed 's/ /°C /g' | sed 's/ $//'