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,35 +23,46 @@
; (label :width 0 ; (label :width 0
; :text "") ; :text "")
(box (box
:class "mediacontrols ${large_album_art ? 'fullwidth' : ''}" :class "mediadetails ${large_album_art ? 'fullwidth' : ''}"
:orientation "h" :orientation "v"
:space-evenly true :space-evenly false
:halign "fill" :halign "fill"
:hexpand true :hexpand true
; :width 130 (label
; :spacing 15 :text "󰎇 song title")
:height 50 (label
(button :text "󰠃 song artist")
:class "mediabutton" (label
:valign "center" :text "󰀥 album name")
:halign "center" (box
:height 25 :orientation "h"
:width 25 :space-evenly true
"") :halign "fill"
(button :hexpand true
:class "mediabutton" ; :width 130
:valign "center" ; :spacing 15
:halign "center" :height 50
:height 25 (button
:width 25 :class "mediabutton"
"󰐎") :valign "center"
(button :halign "center"
:class "mediabutton" :height 25
:valign "center" :width 25
:halign "center" "")
:height 25 (button
:width 25 :class "mediabutton"
"")))) :valign "center"
:halign "center"
:height 25
:width 25
"󰐎")
(button
:class "mediabutton"
:valign "center"
:halign "center"
:height 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