Waybar : Add a warning for temperature.
This commit is contained in:
parent
790ee978e3
commit
e6feba79ea
|
@ -123,6 +123,7 @@ in {
|
||||||
on-click-right = "powersave toggle";
|
on-click-right = "powersave toggle";
|
||||||
};
|
};
|
||||||
temperature = {
|
temperature = {
|
||||||
|
critical-threshold = 80;
|
||||||
format = "{temperatureC}°C";
|
format = "{temperatureC}°C";
|
||||||
hwmon-path-abs = "${config.setting.cpu.hwmon.path}";
|
hwmon-path-abs = "${config.setting.cpu.hwmon.path}";
|
||||||
input-filename = "${config.setting.cpu.hwmon.file}";
|
input-filename = "${config.setting.cpu.hwmon.file}";
|
||||||
|
|
|
@ -64,6 +64,7 @@ in {
|
||||||
#pulseaudio.muted,
|
#pulseaudio.muted,
|
||||||
#pulseaudio.source-muted,
|
#pulseaudio.source-muted,
|
||||||
#battery.critical,
|
#battery.critical,
|
||||||
|
#temperature.critical,
|
||||||
#tray.needs-attention,
|
#tray.needs-attention,
|
||||||
#custom-display.modified {
|
#custom-display.modified {
|
||||||
border-top: ${toString config.style.window.border}px solid #${config.style.color.accent};
|
border-top: ${toString config.style.window.border}px solid #${config.style.color.accent};
|
||||||
|
|
Loading…
Reference in a new issue