From e749c97ffb35eba54d94d6069613475971d69c90 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Tue, 4 Jun 2024 14:47:13 +0200 Subject: Allow configuring thermal zone shown in polybar This is highly likely to be different on different machines. --- tw/services/files/polybar.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tw/services/files') 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 = "🌡 " -- cgit v1.2.3