mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 12:10:38 +02:00
Update .config/waybar/style.css
This commit is contained in:
@@ -74,3 +74,40 @@ window#waybar {
|
||||
#custom-notifications:hover {
|
||||
background-color: @sapphire;
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background: @warning;
|
||||
color: @foreground;
|
||||
animation-name: blink;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: @foreground;
|
||||
background-color: @success;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: @critical;
|
||||
color: @foreground;
|
||||
animation-name: blink;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ff0000;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user