Files
dots/.config/polybar/system-cpu-temppercore.sh
2019-01-15 21:56:16 +01:00

4 lines
126 B
Bash
Executable File

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