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 = {
|
||||
|
||||
thermalZone = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
type = types.int or null;
|
||||
default = null;
|
||||
description = "CPU thermal hwmon thermal Zone";
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue