Navigation Menu

Skip to content

Commit

Permalink
added lbbtwo config to tmux-cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
VectorCell committed Sep 18, 2020
1 parent 523014e commit 19e7fa2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tmux-cpu
Expand Up @@ -40,6 +40,9 @@ elif [ "$HOSTNAME" == "toyota" ]; then
elif [ "$HOSTNAME" == "lbbtop" ]; then
temp=$(sensors | grep Package | awk '{print $4}' | tr -d '+°C')
tempc=$(python -c "print int(round($temp))")
elif [ "$HOSTNAME" == "lbbtwo" ]; then
temp=$(sensors | grep Package | awk '{print $4}' | tr -d '+°C')
tempc=$(python -c "print int(round($temp))")
echo -n " ${tempc}°C "
elif [ "$(lscpu | grep Arch | awk '{print $2}')" == "armv6l" ] \
|| [ "$(lscpu | grep Arch | awk '{print $2}')" == "armv7l" ] \
Expand Down

0 comments on commit 19e7fa2

Please sign in to comment.