chore(waybar): rework temperature handling

This commit is contained in:
Yorick Barbanneau 2025-09-09 17:19:13 +02:00
parent 2570f25e11
commit 6000d5951b
Signed by: ephase
GPG key ID: 4447A19BBEDB8DBA
2 changed files with 4 additions and 3 deletions

View file

@ -74,8 +74,8 @@ in
cpuThermal = { cpuThermal = {
thermalZone = mkOption { thermalZone = mkOption {
type = types.str; type = types.int or null;
default = ""; default = null;
description = "CPU thermal hwmon thermal Zone"; description = "CPU thermal hwmon thermal Zone";
}; };

View file

@ -101,7 +101,8 @@ button:hover{
#battery.critical:not(.charging), #battery.critical:not(.charging),
#cpu.critical, #cpu.critical,
#memory.critical{ #memory.critical,
#temperature.critical{
border-color: @color-critical; border-color: @color-critical;
color: @color-critical; color: @color-critical;
} }