From 32b955eb7c025415010f7786a2e95e8700a92b62 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Thu, 29 Aug 2019 11:12:37 +0200 Subject: Fixed temp module --- scripts/dwm-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dwm-status b/scripts/dwm-status index ab58676..4c18374 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -174,7 +174,7 @@ volume(){ } temperature(){ - CPU_T=$(< /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input) + CPU_T=$(< /sys/devices/platform/coretemp.0/hwmon/hwmon?/temp2_input) CPU_TEMP=$(expr "$CPU_T" / 1000) if [ "$CPU_TEMP" -ge 70 ]; then -- cgit 1.4.1