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";
|
||||
};
|
||||
temperature = {
|
||||
critical-threshold = 80;
|
||||
format = "{temperatureC}°C";
|
||||
hwmon-path-abs = "${config.setting.cpu.hwmon.path}";
|
||||
input-filename = "${config.setting.cpu.hwmon.file}";
|
||||
|
|
|
@ -64,6 +64,7 @@ in {
|
|||
#pulseaudio.muted,
|
||||
#pulseaudio.source-muted,
|
||||
#battery.critical,
|
||||
#temperature.critical,
|
||||
#tray.needs-attention,
|
||||
#custom-display.modified {
|
||||
border-top: ${toString config.style.window.border}px solid #${config.style.color.accent};
|
||||
|
|
Loading…
Reference in a new issue