[fix] Fix the CPU tempreature file path

This commit is contained in:
Anas Elgarhy 2023-06-04 13:59:41 +03:00
parent 4a4db8cf6e
commit bf217ddfd6
No known key found for this signature in database
GPG key ID: 0501802A1D496528

View file

@ -69,7 +69,7 @@ static const struct arg args[] = {
{ run_command, "BR:%s%% ", "xbacklight -get | awk '{printf \"%.0f\", $1}'" }, { run_command, "BR:%s%% ", "xbacklight -get | awk '{printf \"%.0f\", $1}'" },
{ cpu_perc, "CPU:%s%%|", NULL }, { cpu_perc, "CPU:%s%%|", NULL },
{ cpu_freq, "%s ", NULL }, { cpu_freq, "%s ", NULL },
{ temp, "%s\u00b0C ", "/sys/class/thermal/thermal_zone8/temp" }, { temp, "%s\u00b0C ", "/sys/class/hwmon/hwmon5/temp1_input" },
{ ram_perc, "RAM:%s%% ", NULL }, { ram_perc, "RAM:%s%% ", NULL },
// { netspeed_tx, " %s ^ ", "wlan0" }, // { netspeed_tx, " %s ^ ", "wlan0" },
// { netspeed_rx, " %s ", "wlan0" }, // { netspeed_rx, " %s ", "wlan0" },