diff options
author | clarkzjw <[email protected]> | 2022-12-19 12:32:21 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2022-12-19 12:32:21 -0800 |
commit | 697c2c26dcbe58cd40ed776b282429e407465a77 (patch) | |
tree | 247fb6fa2c6b35444edc6f66df157617c011d553 /dot_config/i3/scripts | |
parent | bca177c49574987e34f426f6ba73fb0a609a41a7 (diff) | |
download | dotfiles-697c2c26dcbe58cd40ed776b282429e407465a77.tar.gz |
temperature: fix cpu temperature reading
Diffstat (limited to 'dot_config/i3/scripts')
-rw-r--r-- | dot_config/i3/scripts/executable_temperature | 2 |
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; | |||
51 | while (<SENSORS>) { | 51 | while (<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 | } |
57 | close(SENSORS); | 57 | close(SENSORS); |