about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-29 11:12:37 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-29 11:12:37 +0200
commit32b955eb7c025415010f7786a2e95e8700a92b62 (patch)
tree241bb2ea98d0cb340490454fd8b41969beed76bf
parentReplaced thunder with thunderstorm in dwm-status weather (diff)
downloaddwm-32b955eb7c025415010f7786a2e95e8700a92b62.tar.gz
dwm-32b955eb7c025415010f7786a2e95e8700a92b62.tar.bz2
dwm-32b955eb7c025415010f7786a2e95e8700a92b62.zip
Fixed temp module
-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