Waybar: Fix CPU/GPU temperature module blink when high/alert.

This commit is contained in:
Viyurz 2024-03-08 09:17:32 +01:00
parent dc27edb891
commit 8b11017e75
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -116,15 +116,15 @@
} }
#battery.30:not(.charging), #battery.30:not(.charging),
#custom-temp-gpu.high, #custom-gpu-temp.high,
#custom-temp-cpu.high { #custom-cpu-temp.high {
background-color: alpha(@bad, 0.33); background-color: alpha(@bad, 0.33);
} }
#battery.20:not(.charging), #battery.20:not(.charging),
#battery.10:not(.charging), #battery.10:not(.charging),
#custom-temp-gpu.alert, #custom-gpu-temp.alert,
#custom-temp-cpu.alert { #custom-cpu-temp.alert {
background-color: alpha(@bad, 0.5); background-color: alpha(@bad, 0.5);
animation-name: blink; animation-name: blink;
animation-duration: 1.5s; animation-duration: 1.5s;