From eb3794e329c2385c686b49f0ae0a5a7ebc23670c Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Fri, 18 Jul 2025 19:15:02 -0700 Subject: [PATCH] New backup 2025-07-18 19:15:02 --- de/home/.config/eww/eww.scss | 7 +- .../eww/modules/home/nowplayingart.yuck | 65 +++++++++++-------- .../eww/scripts/home/nowplaying-info.sh | 3 +- 3 files changed, 45 insertions(+), 30 deletions(-) diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index ecaf6f1..dbe2d3e 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -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; } diff --git a/de/home/.config/eww/modules/home/nowplayingart.yuck b/de/home/.config/eww/modules/home/nowplayingart.yuck index 180a008..972977c 100644 --- a/de/home/.config/eww/modules/home/nowplayingart.yuck +++ b/de/home/.config/eww/modules/home/nowplayingart.yuck @@ -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 diff --git a/de/home/.config/eww/scripts/home/nowplaying-info.sh b/de/home/.config/eww/scripts/home/nowplaying-info.sh index 2e82077..8177852 100755 --- a/de/home/.config/eww/scripts/home/nowplaying-info.sh +++ b/de/home/.config/eww/scripts/home/nowplaying-info.sh @@ -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