From 697c2c26dcbe58cd40ed776b282429e407465a77 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Mon, 19 Dec 2022 12:32:21 -0800 Subject: temperature: fix cpu temperature reading --- dot_config/i3/scripts/executable_temperature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dot_config/i3/scripts') 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; while () { if (/^\s+temp1_input:\s+[\+]*([\-]*\d+\.\d)/) { $temperature = $1; - last; + last; } } close(SENSORS); -- cgit v1.2.3