diff --git a/modules/home-manager/desktop/sway/default.nix b/modules/home-manager/desktop/sway/default.nix index b3950e7..d8fa2ff 100644 --- a/modules/home-manager/desktop/sway/default.nix +++ b/modules/home-manager/desktop/sway/default.nix @@ -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"; }; diff --git a/modules/home-manager/desktop/sway/includes/files/waybar-style.css b/modules/home-manager/desktop/sway/includes/files/waybar-style.css index f7cc59f..d1dd1a2 100644 --- a/modules/home-manager/desktop/sway/includes/files/waybar-style.css +++ b/modules/home-manager/desktop/sway/includes/files/waybar-style.css @@ -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; }