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

This commit is contained in:
Penelope Gwen 2025-07-18 17:30:02 -07:00
parent ad0c9814c7
commit b6341e3c6c
2 changed files with 19 additions and 15 deletions

View file

@ -304,9 +304,9 @@ $home-widget-border-hover-color: rgba($color5,0.3);
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: 20px; margin: 10px 10px 10px 10px;
} } */
.nowplayingart { .nowplayingart {
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

@ -2,39 +2,43 @@
'scripts/home/nowplayingart.sh') 'scripts/home/nowplayingart.sh')
(defwidget nowplayingbar [] (defwidget nowplayingbar []
(centerbox ; (centerbox
(box
:class "nowplayingbar" :class "nowplayingbar"
:orientation "h" :orientation "h"
:space-evenly true
:halign "start"
:width 250 :width 250
:height 100 :height 75
(button (button
:height 100 :height 75
:width 100 :width 75
:valign "center" :valign "center"
:halign "start" :halign "fill"
:hexpand false :hexpand false
:vexpand false :vexpand false
(nowplayingart)) (nowplayingart))
(label :width 0 ; (label :width 0
:text "") ; :text "")
(box (box
:class "mediacontrols" :class "mediacontrols"
:orientation "h" :orientation "h"
; :space-evenly true :space-evenly false
:width 100 :halign "start"
:spacing 0 ; :width 100
:spacing 10
:height 50 :height 50
(button (button
:class "mediabutton" :class "mediabutton"
:valign "center" :valign "center"
:halign "end" :halign "start"
:height 25 :height 25
:width 25 :width 25
"") "")
(button (button
:class "mediabutton" :class "mediabutton"
:valign "center" :valign "center"
:halign "end" :halign "center"
:height 25 :height 25
:width 25 :width 25
"󰐎") "󰐎")