Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Jul 31, 2024
1 parent 1a21141 commit a24e39d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dot_config/bspwm/scripts/executable_cpu-temp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
if [[ "$(lscpu | grep 'Vendor ID:' | awk '{print $3}' | grep -q 'AMD')" -eq 0 ]]; then
sensors | grep "Tctl:" | tr -d '+' | awk '{print $2}'
fi

if [[ "$(lscpu | grep 'Vendor ID:' | awk '{print $3}' | grep -q 'Intel')" -eq 0 ]]; then
sensors | grep "Package id 0:" | tr -d '+' | awk '{print $4}'
fi

0 comments on commit a24e39d

Please sign in to comment.