aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/gui
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/gui')
-rw-r--r--home/profiles/gui/config/waybar/style.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/profiles/gui/config/waybar/style.nix b/home/profiles/gui/config/waybar/style.nix
index 92eb772..ac6aad7 100644
--- a/home/profiles/gui/config/waybar/style.nix
+++ b/home/profiles/gui/config/waybar/style.nix
@@ -73,6 +73,21 @@ in
border-bottom: 1px solid #${bright0};
}
+ @keyframes blinkBattery {
+ to {
+ border-color: #${color3};
+ }
+ }
+
+ #battery.charging {
+ border-bottom: 1px solid transparent;
+ animation-name: blinkBattery;
+ animation-duration: 1s;
+ animation-timing-function: steps(12);
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+ }
+
#tray {
/* TODO: https://github.com/Alexays/Waybar/issues/2906 */
margin: 0;