New backup 2025-07-18 19:15:02

This commit is contained in:
Penelope Gwen 2025-07-18 19:15:02 -07:00
parent acde63c02b
commit eb3794e329
3 changed files with 45 additions and 30 deletions

View file

@ -304,10 +304,13 @@ $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 { .mediadetails {
margin: 0px 25px 0px 15px; margin: 0px 25px 0px 15px;
label {
margin: 0px;
}
&.fullwidth { &.fullwidth {
margin: 0px 35px; margin: 10px 35px;
} }
// margin-left: 10px; // margin-left: 10px;
} }

View file

@ -23,7 +23,18 @@
; (label :width 0 ; (label :width 0
; :text "") ; :text "")
(box (box
:class "mediacontrols ${large_album_art ? 'fullwidth' : ''}" :class "mediadetails ${large_album_art ? 'fullwidth' : ''}"
:orientation "v"
:space-evenly false
:halign "fill"
:hexpand true
(label
:text "󰎇 song title")
(label
:text "󰠃 song artist")
(label
:text "󰀥 album name")
(box
:orientation "h" :orientation "h"
:space-evenly true :space-evenly true
:halign "fill" :halign "fill"
@ -51,7 +62,7 @@
:halign "center" :halign "center"
:height 25 :height 25
:width 25 :width 25
"")))) "")))))
(defwidget nowplayingart [] (defwidget nowplayingart []
(box (box

View file

@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
#playerctl --follow metadata --format '{{ title }}' | { #playerctl --follow metadata --format '{{ title }}' | {
playerctl metadata --format '{{ title }}\n{{ artist }}' playerctl metadata --format '{{ title }}
{{ artist }}'
#playerctl metadata --format '{{ title }}\n{{ artist }}' | { #playerctl metadata --format '{{ title }}\n{{ artist }}' | {
# while read -r nowplaying_title; do # while read -r nowplaying_title; do