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

This commit is contained in:
Penelope Gwen 2025-07-18 18:30:02 -07:00
parent 7cb56da131
commit e849116625
2 changed files with 17 additions and 13 deletions

View file

@ -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;
}

View file

@ -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}');"))