From acde63c02ba6a876b5b1a1ee9c82ead84adf55b0 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Fri, 18 Jul 2025 19:00:01 -0700 Subject: [PATCH] New backup 2025-07-18 19:00:01 --- de/home/.config/eww/eww.scss | 5 ++++- de/home/.config/eww/modules/home/nowplayingart.yuck | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index e0816b1..ecaf6f1 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -305,7 +305,10 @@ $home-widget-border-hover-color: rgba($color5,0.3); background-color: $home-widget-bg-color; // .nowplayingart, .mediacontrols { - margin: 20px; + margin: 0px 25px 0px 15px; + &.fullwidth { + margin: 0px 35px; + } // margin-left: 10px; } .nowplayingart { diff --git a/de/home/.config/eww/modules/home/nowplayingart.yuck b/de/home/.config/eww/modules/home/nowplayingart.yuck index db5bd3f..180a008 100644 --- a/de/home/.config/eww/modules/home/nowplayingart.yuck +++ b/de/home/.config/eww/modules/home/nowplayingart.yuck @@ -1,6 +1,7 @@ (deflisten nowplaying_img_path :initial "" 'scripts/home/nowplayingart.sh') +(defvar large_album_art false) (defwidget nowplayingbar [] ; (centerbox (box @@ -11,7 +12,7 @@ :width 300 :height 100 (button - :visible true + :visible {!large_album_art} :height 100 :width 100 :valign "cs" @@ -22,7 +23,7 @@ ; (label :width 0 ; :text "") (box - :class "mediacontrols" + :class "mediacontrols ${large_album_art ? 'fullwidth' : ''}" :orientation "h" :space-evenly true :halign "fill"