mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
Update temperature module with hwmon paths
This commit is contained in:
parent
488118888d
commit
c6cc1db4d9
1 changed files with 11 additions and 2 deletions
|
@ -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": ["", "", ""]
|
||||
|
|
Loading…
Reference in a new issue