From ce683cde16db220d404b38bb46529ae1d85c4041 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 3 Jun 2023 20:29:32 -0500 Subject: [PATCH] feat(waybar): add appearance change for playing media --- dots/.config/waybar/style.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/dots/.config/waybar/style.css b/dots/.config/waybar/style.css index b06d6185..cc064d7e 100644 --- a/dots/.config/waybar/style.css +++ b/dots/.config/waybar/style.css @@ -77,11 +77,17 @@ /* Media */ #custom-media { margin: 0; - background-size: 400% 400%; - /* - * NOTE: As much as I'd love to have this animation on, gtk enjoys being a massive pile of shit and causes the CPU to - * turn into a space heater. */ - /* animation: gradient_scroll 10s ease infinite; */ +} + +#custom-media.playing { + background: linear-gradient( + -45deg, + rgba(126, 156, 216, 0.75), + rgba(156, 171, 202, 0.75), + rgba(210, 126, 153, 0.75), + rgba(255, 93, 98, 0.75), + rgba(149, 127, 184, 0.75) + ); } /* Launcher */