aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/i3')
-rw-r--r--dot_config/i3/i3blocks.conf4
-rw-r--r--dot_config/i3/scripts/executable_temperature2
2 files changed, 3 insertions, 3 deletions
diff --git a/dot_config/i3/i3blocks.conf b/dot_config/i3/i3blocks.conf
index dd9f5ac..2787340 100644
--- a/dot_config/i3/i3blocks.conf
+++ b/dot_config/i3/i3blocks.conf
@@ -99,10 +99,10 @@ markup=pango
99[CPU-temperature] 99[CPU-temperature]
100label= 100label=
101command=~/.config/i3/scripts/temperature 101command=~/.config/i3/scripts/temperature
102interval=30 102interval=1
103#T_WARN=70 103#T_WARN=70
104#T_CRIT=90 104#T_CRIT=90
105#SENSOR_CHIP="" 105SENSOR_CHIP="coretemp-isa-0000"
106# where SENSOR_CHIP can be find with sensors output 106# where SENSOR_CHIP can be find with sensors output
107# can be used also for GPU temperature or other temperature sensors lm-sensors detects. 107# can be used also for GPU temperature or other temperature sensors lm-sensors detects.
108 108
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)