Waybar : Add a warning for temperature.
This commit is contained in:
parent
790ee978e3
commit
e6feba79ea
|
@ -123,13 +123,14 @@ in {
|
|||
on-click-right = "powersave toggle";
|
||||
};
|
||||
temperature = {
|
||||
format = "{temperatureC}°C";
|
||||
hwmon-path-abs = "${config.setting.cpu.hwmon.path}";
|
||||
input-filename = "${config.setting.cpu.hwmon.file}";
|
||||
interval = refreshInterval;
|
||||
on-click = "foot -e bash -c btop";
|
||||
on-click-right = "powersave toggle";
|
||||
tooltip = false;
|
||||
critical-threshold = 80;
|
||||
format = "{temperatureC}°C";
|
||||
hwmon-path-abs = "${config.setting.cpu.hwmon.path}";
|
||||
input-filename = "${config.setting.cpu.hwmon.file}";
|
||||
interval = refreshInterval;
|
||||
on-click = "foot -e bash -c btop";
|
||||
on-click-right = "powersave toggle";
|
||||
tooltip = false;
|
||||
};
|
||||
"custom/powersave" = {
|
||||
exec = "powersave waybar";
|
||||
|
|
|
@ -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