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 = {
thermalZone = mkOption {
type = types.str;
default = "";
type = types.int or null;
default = null;
description = "CPU thermal hwmon thermal Zone";
};

View file

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