chore(waybar): rework temperature handling
This commit is contained in:
parent
2570f25e11
commit
6000d5951b
2 changed files with 4 additions and 3 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue