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: 3px solid $home-widget-border-color;
border-radius: $home-widget-border-radius; border-radius: $home-widget-border-radius;
background-color: $home-widget-bg-color; background-color: $home-widget-bg-color;
.nowplayingart, // .nowplayingart,
.mediacontrols { .mediacontrols {
margin: 10px; // padding: 10px;
// margin-left: 10px; // margin-left: 10px;
} }
.nowplayingart { .nowplayingart {
margin: 10px;
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

@ -7,7 +7,7 @@
:class "nowplayingbar" :class "nowplayingbar"
:orientation "h" :orientation "h"
:space-evenly true :space-evenly true
:halign "fill" :halign "center"
:width 300 :width 300
:height 100 :height 100
(button (button
@ -15,7 +15,7 @@
:height 100 :height 100
:width 100 :width 100
:valign "center" :valign "center"
:halign "center" :halign "fill"
; :hexpand false ; :hexpand false
; :vexpand false ; :vexpand false
(nowplayingart)) (nowplayingart))
@ -27,36 +27,38 @@
:space-evenly true :space-evenly true
:halign "fill" :halign "fill"
; :width 130 ; :width 130
; :spacing 20 :spacing 15
:height 50 :height 50
(button (button
:class "mediabutton" :class "mediabutton"
:valign "center" :valign "center"
:halign "start" :halign "center"
:height 25 :height 25
:width 25 :width 25
"") "")
(button (button
:class "mediabutton" :class "mediabutton"
:valign "center" :valign "center"
:halign "start" :halign "center"
:height 25 :height 25
:width 25 :width 25
"󰐎") "󰐎")
(button (button
:class "mediabutton" :class "mediabutton"
:valign "center" :valign "center"
:halign "start" :halign "center"
:height 25 :height 25
:width 25 :width 25
"")))) ""))))
(defwidget nowplayingart [] (defwidget nowplayingart []
(box (image
:class "nowplayingart" :class "nowplayingart"
; :hexpand false :preserve-aspect-ratio true
; :width 50 :hexpand false
; :height 50 :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('/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}');"))