elenapan / dotfiles

There is no place like ~/
GNU General Public License v2.0
3.48k stars 178 forks source link

Suggested manual intervention to add temperature readings for ryzen systems. #177

Open ArvinZaker opened 1 year ago

ArvinZaker commented 1 year ago

Hello,

For AMD ryzen systems, the temperature of CPU is reported in Tctl and not Package. Therefore in the evil\temperature.lua we have to change from:

local temp_script = [[
  sh -c "
  sensors | grep Package | awk '{print $4}' | cut -c 2-3
  "]]

to:

local temp_script = [[
  sh -c "
  sensors | grep 'Tctl' | awk '{print $2}' | cut -c 2-3
  "]]

Would you be able to add this to the wiki? Thanks!