dotfiles/system-specific/cheems/polybar/system-cpu-temppercore.sh

4 lines
126 B
Bash
Raw Permalink Normal View History

2020-12-05 08:18:52 +00:00
#!/bin/sh
sensors | grep Core | awk '{print substr($3, 2, length($3)-5)}' | tr "\\n" " " | sed 's/ /°C /g' | sed 's/ $//'