From e8491166259bf16c631c798bac8e9a82c545fdaf Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Fri, 18 Jul 2025 18:30:02 -0700 Subject: [PATCH] New backup 2025-07-18 18:30:02 --- de/home/.config/eww/eww.scss | 6 +++-- .../eww/modules/home/nowplayingart.yuck | 24 ++++++++++--------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 37f6f17..5491e68 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -303,12 +303,14 @@ $home-widget-border-hover-color: rgba($color5,0.3); border: 3px solid $home-widget-border-color; border-radius: $home-widget-border-radius; background-color: $home-widget-bg-color; - .nowplayingart, +// .nowplayingart, .mediacontrols { - margin: 10px; +// padding: 10px; // margin-left: 10px; } .nowplayingart { + margin: 10px; + margin-right: 0px; // border: 1px solid $home-widget-border-color; border-radius: $home-widget-border-radius; } diff --git a/de/home/.config/eww/modules/home/nowplayingart.yuck b/de/home/.config/eww/modules/home/nowplayingart.yuck index 8c2620d..42e0fc6 100644 --- a/de/home/.config/eww/modules/home/nowplayingart.yuck +++ b/de/home/.config/eww/modules/home/nowplayingart.yuck @@ -7,7 +7,7 @@ :class "nowplayingbar" :orientation "h" :space-evenly true - :halign "fill" + :halign "center" :width 300 :height 100 (button @@ -15,7 +15,7 @@ :height 100 :width 100 :valign "center" - :halign "center" + :halign "fill" ; :hexpand false ; :vexpand false (nowplayingart)) @@ -27,36 +27,38 @@ :space-evenly true :halign "fill" ; :width 130 -; :spacing 20 + :spacing 15 :height 50 (button :class "mediabutton" :valign "center" - :halign "start" + :halign "center" :height 25 :width 25 "") (button :class "mediabutton" :valign "center" - :halign "start" + :halign "center" :height 25 :width 25 "󰐎") (button :class "mediabutton" :valign "center" - :halign "start" + :halign "center" :height 25 :width 25 "")))) (defwidget nowplayingart [] - (box + (image :class "nowplayingart" -; :hexpand false -; :width 50 -; :height 50 + :preserve-aspect-ratio true + :hexpand false + :image-width 100 + :image-height 100 + :path '${nowplaying_img_path}')) ; :style "background-image: url('/run/user/1000/album_art_cache/getCoverArt.view?id=952&u=pogmommy&p=mG%232001068485&v=1.13.0&c=Feishin&size=300');")) - :style "background-image: url('${nowplaying_img_path}');")) +; :style "background-image: url('${nowplaying_img_path}');")) ; :style "background-image: url('${rat_image}');"))