aboutsummaryrefslogtreecommitdiff
path: root/tw/services/files/polybar.ini
diff options
context:
space:
mode:
authorTimo Wilken2024-06-04 14:47:13 +0200
committerTimo Wilken2024-06-04 14:47:13 +0200
commite749c97ffb35eba54d94d6069613475971d69c90 (patch)
treea8cc544ed6b4868296153778adab499520af87a5 /tw/services/files/polybar.ini
parent3ef917bec25342730c8f3e15406e1fca8175ec4d (diff)
Allow configuring thermal zone shown in polybar
This is highly likely to be different on different machines.
Diffstat (limited to 'tw/services/files/polybar.ini')
-rw-r--r--tw/services/files/polybar.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/tw/services/files/polybar.ini b/tw/services/files/polybar.ini
index 54f6ff19..5c398c4a 100644
--- a/tw/services/files/polybar.ini
+++ b/tw/services/files/polybar.ini
@@ -153,8 +153,7 @@ ramp-coreload-7-foreground = ${colors.alert}
[module/temp]
type = internal/temperature
-; head /sys/class/thermal/thermal_zone*/type
-thermal-zone = 1
+thermal-zone = ${env:POLYBAR_THERMAL_ZONE}
format-prefix = "🌡 "
format-prefix-foreground = ${colors.primary}
format-warn-prefix = "🌡 "