aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2022-12-19 12:32:21 -0800
committerclarkzjw <[email protected]>2022-12-19 12:32:21 -0800
commit697c2c26dcbe58cd40ed776b282429e407465a77 (patch)
tree247fb6fa2c6b35444edc6f66df157617c011d553 /dot_config/i3/scripts
parentbca177c49574987e34f426f6ba73fb0a609a41a7 (diff)
downloaddotfiles-697c2c26dcbe58cd40ed776b282429e407465a77.tar.gz
temperature: fix cpu temperature reading
Diffstat (limited to 'dot_config/i3/scripts')
-rw-r--r--dot_config/i3/scripts/executable_temperature2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/i3/scripts/executable_temperature b/dot_config/i3/scripts/executable_temperature
index 4e31610..a4d5f9e 100644
--- a/dot_config/i3/scripts/executable_temperature
+++ b/dot_config/i3/scripts/executable_temperature
@@ -51,7 +51,7 @@ open (SENSORS, "sensors -u $chip |") or die;
51while (<SENSORS>) { 51while (<SENSORS>) {
52 if (/^\s+temp1_input:\s+[\+]*([\-]*\d+\.\d)/) { 52 if (/^\s+temp1_input:\s+[\+]*([\-]*\d+\.\d)/) {
53 $temperature = $1; 53 $temperature = $1;
54 last; 54 last;
55 } 55 }
56} 56}
57close(SENSORS); 57close(SENSORS);
Powered by cgit v1.2.3 (git 2.41.0)