Added thermals to bar and some small tweaks

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-11-19 14:31:08 +02:00
parent 33a721844d
commit 1d370c3271
2 changed files with 24 additions and 5 deletions

View file

@ -26,7 +26,7 @@ window#waybar {
background: #64727D;
}
#clock, #battery, #cpu, #memory, #backlight, #network, #pulseaudio, #custom-playerctl, #custom-yay, #tray, #mode, #idle_inhibitor {
#clock, #battery, #cpu, #temperature, #memory, #backlight, #network, #pulseaudio, #custom-playerctl, #custom-yay, #tray, #mode, #idle_inhibitor {
padding: 0 10px;
margin: 0 5px;
}
@ -62,6 +62,21 @@ window#waybar {
animation-direction: alternate;
}
#temperature {
background: #a3be8c;
color: black;
}
#temperature.critical {
background: #bf616a;
color: white;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#cpu {
background: #2ecc71;
color: #000000;