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

This commit is contained in:
Penelope Gwen 2025-07-18 16:30:02 -07:00
parent 8f79278bc3
commit aaad37e487
2 changed files with 31 additions and 8 deletions

View file

@ -297,6 +297,16 @@ $home-widget-border-hover-color: rgba($color5,0.3);
border-radius: $home-widget-border-radius; border-radius: $home-widget-border-radius;
box-shadow: inset 0 0 0px 3px $home-widget-border-color; box-shadow: inset 0 0 0px 3px $home-widget-border-color;
}*/ }*/
.nowplayingbar {
border: 3px solid $home-widget-border-color;
border-radius: $home-widget-border-radius;
background-color: $home-widget-bg-color;
.mediabutton {
background-color: $home-button-bg-color;
border-radius: $home-button-circle-border-radius
}
}
.nowplayingart, .nowplayingart,
.rat { .rat {
background-position: center; background-position: center;
@ -342,7 +352,7 @@ $home-widget-border-hover-color: rgba($color5,0.3);
border-top: 1px solid $home-widget-border-color; border-top: 1px solid $home-widget-border-color;
} }
.rat, .rat,
.nowplayingart, // .nowplayingart,
.shortcuts { .shortcuts {
border: 3px solid $home-widget-border-color; border: 3px solid $home-widget-border-color;
border-radius: $home-widget-border-radius; border-radius: $home-widget-border-radius;

View file

@ -8,26 +8,39 @@
:width 250 :width 250
:height 100 :height 100
:space-evenly false :space-evenly false
(nowplayingart) :valign "fill"
(button (button
:height 50 :height 50
:width 50 :width 50
(nowplayingart))
(button
:class "mediabutton"
:valign "center"
:halign "end"
:height 25
:width 25
"") "")
(button (button
:height 50 :class "mediabutton"
:width 50 :valign "center"
:halign "end"
:height 25
:width 25
"󰐎") "󰐎")
(label (label
:height 50 :class "mediabutton"
:width 50 :valign "center"
:halign "end"
:height 25
:width 25
:text ""))) :text "")))
(defwidget nowplayingart [] (defwidget nowplayingart []
(box (box
:class "nowplayingart" :class "nowplayingart"
; :hexpand false ; :hexpand false
:width 50 ; :width 50
:height 50 ; :height 50
; :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}');"))