From 7271352383a45d054486a27a65b048037cdb83df Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 14 Jul 2024 14:13:09 +0200 Subject: [PATCH] chore: maybe blinking battery for waybar --- users/myuser/graphical/waybar-style.css | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/users/myuser/graphical/waybar-style.css b/users/myuser/graphical/waybar-style.css index 2d49ad9..08aeb07 100644 --- a/users/myuser/graphical/waybar-style.css +++ b/users/myuser/graphical/waybar-style.css @@ -101,7 +101,19 @@ button:hover { } @keyframes blink { - to { + 0% { + background-color: #e05f65; + } + + 49% { + background-color: #e05f65; + } + + 50% { + background-color: #000000; + } + + 100% { background-color: #000000; } } @@ -116,9 +128,8 @@ button:hover { background-color: #e05f65; animation-name: blink; animation-duration: 0.5s; - animation-timing-function: step-start; + animation-timing-function: steps(12); animation-iteration-count: infinite; - animation-direction: alternate; } #power-profiles-daemon {