eww(mediaplayer): add image path support for album art

This commit is contained in:
retrozinndev
2025-01-09 22:50:24 -03:00
parent 0e7f0cd3fb
commit a14034035e
10 changed files with 32 additions and 102 deletions
+10 -3
View File
@@ -12,14 +12,18 @@
:exclusive false
:namespace "eww-cc"
(box :class "cc"
:orientation "vertical"
:space-evenly false
(box :orientation "horizontal"
(eventbox
(box :class "cc"
:orientation "vertical"
:space-evenly false
(top-bar)
(tiles)
(revealer :reveal { window_state_floating-media != "open" }
:transition "slideup"
:duration "380ms"
(big-media :show-album-bg true
:show-album-image true
:visible { json_media == "" || (json_media.title == "null"
@@ -29,10 +33,13 @@
(box :class "bottom button-row"
:halign "end"
:space-evenly false
(button :class "clear-all"
:onclick "sh scripts/notification-clear.sh"
:visible { arraylength(json_notification_history["history"]) > 0 }
"󰎟 Clear")
)
)
)
)
)