about summary refs log tree commit diff
path: root/scripts/dwm-status
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dwm-status')
-rwxr-xr-xscripts/dwm-status2
1 files changed, 1 insertions, 1 deletions
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