fix waybar hwmon
This commit is contained in:
@@ -336,7 +336,8 @@ in
|
||||
};
|
||||
|
||||
temperature = {
|
||||
hwmon-path = cfg.temperature.cpu.hwmonPath;
|
||||
hwmon-path-abs = cfg.temperature.cpu.hwmonPath;
|
||||
input-filename = cfg.temperature.cpu.hwmonFile;
|
||||
critical-threshold = 110;
|
||||
format-critical = "{temperatureC}°C ";
|
||||
format = "{temperatureC}°C {icon}";
|
||||
@@ -546,7 +547,8 @@ in
|
||||
|
||||
(mkIf cfg.temperature.gpu.enable {
|
||||
"temperature#gpu" = {
|
||||
hwmon-path = cfg.temperature.gpu.hwmonPath;
|
||||
hwmon-path-abs = cfg.temperature.gpu.hwmonPath;
|
||||
input-filename = cfg.temperature.gpu.hwmonFile;
|
||||
critical-threshold = 110;
|
||||
format-critical = "{temperatureC}°C ";
|
||||
format = "{temperatureC}°C {icon}";
|
||||
|
||||
Reference in New Issue
Block a user