Skip to content

Commit

Permalink
updated tmux-cpu for nissan
Browse files Browse the repository at this point in the history
  • Loading branch information
VectorCell committed Jan 14, 2021
1 parent e12c938 commit dbd67ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmux-cpu
Expand Up @@ -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)"
Expand Down

0 comments on commit dbd67ae

Please sign in to comment.