scripts/i3blocks/Arch/temp.sh

6 lines
97 B
Bash
Executable File

#!/bin/bash
temp=$(sensors | grep "^CPU" | awk '{print $2}' | tr -d "+" )
echo -e "$temp"