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;
background-color: $home-widget-bg-color;
// .nowplayingart,
.mediacontrols {
.mediadetails {
margin: 0px 25px 0px 15px;
label {
margin: 0px;
}
&.fullwidth {
margin: 0px 35px;
margin: 10px 35px;
}
// margin-left: 10px;
}

View file

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

View file

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