diff --git a/dot_config/waybar/config.tmpl b/dot_config/waybar/config.tmpl index c476c63..b9a2b5c 100644 --- a/dot_config/waybar/config.tmpl +++ b/dot_config/waybar/config.tmpl @@ -93,9 +93,11 @@ "temperature": { {{- if eq .chezmoi.hostname "helix" }} - "thermal-zone": 0, "hwmon-path": "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input", "critical-threshold": 90, +{{- else if eq .chezmoi.hostname "hydrus" }} + "hwmon-path": "/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp2_input", + "critical-threshold": 90, {{- else }} // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", @@ -185,7 +187,6 @@ ], "modules-right": [ - "backlight", "network", "cpu", "memory", @@ -241,9 +242,17 @@ }, "temperature": { +{{- if eq .chezmoi.hostname "helix" }} + "hwmon-path": "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input", + "critical-threshold": 90, +{{- else if eq .chezmoi.hostname "hydrus" }} + "hwmon-path": "/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp2_input", + "critical-threshold": 90, +{{- else }} // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", // "critical-threshold": 80, +{{- end }} // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", "format-icons": ["", "", ""]