diff --git a/tmux-cpu b/tmux-cpu index 345db22..d442ea7 100755 --- a/tmux-cpu +++ b/tmux-cpu @@ -31,7 +31,7 @@ elif [ "$HOSTNAME" == "tank" ]; then echo -n " ${tempc}°C " elif [ "$HOSTNAME" == "nissan" ]; then temp=$(sensors | grep Package | awk '{print $4}' | tr -d '+°C') - tempc=$(python -c "print int(round($temp))") + tempc=$(python3 -c "print(int(round($temp)))") echo -n " ${tempc}°C " elif [ "$HOSTNAME" == "toyota" ]; then tempsc="$(sensors | grep '^Core' | tr -d '+°C' | awk '{print $3}' | tr '\n' ',' | rev | colrm 1 1 | rev)"