mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2025-03-05 00:50:21 +01:00
waybar: specify hwmon path via confgen
This commit is contained in:
parent
f6c759d412
commit
91147307c7
2 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"temperature": {
|
||||
// "thermal-zone": 2,
|
||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"hwmon-path": "<% opt.cpu_temp_hwmon %>",
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C {icon}",
|
||||
"format": "{temperatureC}°C {icon}",
|
||||
|
|
|
@ -22,6 +22,9 @@ opts.cursor = {
|
|||
size = 24,
|
||||
}
|
||||
|
||||
-- hwmon temperature path for CPU temp used by waybar
|
||||
opts.cpu_temp_hwmon = "/sys/class/hwmon/hwmon0/temp1_input"
|
||||
|
||||
-- used in waybar config
|
||||
opts.wayland_compositor = nil
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue