New backup 2025-07-18 18:45:02

This commit is contained in:
Penelope Gwen 2025-07-18 18:45:02 -07:00
parent e849116625
commit d4752ad5ba
2 changed files with 15 additions and 14 deletions

View file

@ -305,12 +305,12 @@ $home-widget-border-hover-color: rgba($color5,0.3);
background-color: $home-widget-bg-color; background-color: $home-widget-bg-color;
// .nowplayingart, // .nowplayingart,
.mediacontrols { .mediacontrols {
// padding: 10px; margin: 20px;
// margin-left: 10px; // margin-left: 10px;
} }
.nowplayingart { .nowplayingart {
margin: 10px; margin: 10px;
margin-right: 0px; // margin-right: 0px;
// border: 1px solid $home-widget-border-color; // border: 1px solid $home-widget-border-color;
border-radius: $home-widget-border-radius; border-radius: $home-widget-border-radius;
} }

View file

@ -6,18 +6,18 @@
(box (box
:class "nowplayingbar" :class "nowplayingbar"
:orientation "h" :orientation "h"
:space-evenly true :space-evenly false
:halign "center" :halign "start"
:width 300 :width 300
:height 100 :height 100
(button (button
:visible true :visible true
:height 100 :height 100
:width 100 :width 100
:valign "center" :valign "cs"
:halign "fill" :halign "fill"
; :hexpand false :hexpand false
; :vexpand false :vexpand false
(nowplayingart)) (nowplayingart))
; (label :width 0 ; (label :width 0
; :text "") ; :text "")
@ -26,8 +26,9 @@
:orientation "h" :orientation "h"
:space-evenly true :space-evenly true
:halign "fill" :halign "fill"
:hexpand true
; :width 130 ; :width 130
:spacing 15 ; :spacing 15
:height 50 :height 50
(button (button
:class "mediabutton" :class "mediabutton"
@ -52,13 +53,13 @@
"")))) ""))))
(defwidget nowplayingart [] (defwidget nowplayingart []
(image (box
:class "nowplayingart" :class "nowplayingart"
:preserve-aspect-ratio true ; :preserve-aspect-ratio true
:hexpand false :hexpand false
:image-width 100 :width 100
:image-height 100 :height 100
:path '${nowplaying_img_path}')) ; :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('/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}');")) ; :style "background-image: url('${rat_image}');"))