New backup 2025-07-18 20:45:02

This commit is contained in:
Penelope Gwen 2025-07-18 20:45:02 -07:00
parent 3399d00b2c
commit c5008e0f71

View file

@ -11,33 +11,35 @@
; (centerbox ; (centerbox
(box (box
:orientation 'v' :orientation 'v'
(box
:class "nowplayingbar" :class "nowplayingbar"
(box
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
:halign "center" :halign "center"
:width 300 :width 300
:height 100 :height 100
(nowplaying_revealer :visible {!large_album_art}) ; (nowplaying_revealer :visible {!large_album_art}
; (eventbox
; :visible {!large_album_art}
; :onhover '${EWW_CMD} update small_art_overlay=true'
; :onhoverlost '${EWW_CMD} update small_art_overlay=false'
; (button
; :height 100
; :width 100 ; :width 100
; :valign "cs" ; :height 100)
; :halign "fill" (eventbox
; :hexpand false :visible {!large_album_art}
; :vexpand false :onhover '${EWW_CMD} update small_art_overlay=true'
; :onclick '${EWW_CMD} update large_album_art=true' :onhoverlost '${EWW_CMD} update small_art_overlay=false'
; (overlay (button
; (nowplayingart) :height 100
; (label :class "art-button-overlay" :width 100
; :height 100 :valign "cs"
; :width 100 :halign "fill"
; :visible {small_art_overlay} :hexpand false
; :text "")))) :vexpand false
:onclick '${EWW_CMD} update large_album_art=true'
(overlay
(nowplayingart)
(label :class "art-button-overlay"
:height 100
:width 100
:visible {small_art_overlay}
:text ""))))
(box (box
:class "mediadetails ${large_album_art ? 'fullwidth' : ''}" :class "mediadetails ${large_album_art ? 'fullwidth' : ''}"
:orientation "v" :orientation "v"
@ -77,7 +79,26 @@
:height 25 :height 25
:width 25 :width 25
"")))) ""))))
(nowplaying_revealer :visible {large_album_art}))) ;; (nowplaying_revealer :visible false)))
(eventbox
:visible {large_album_art}
:onhover '${EWW_CMD} update small_art_overlay=true'
:onhoverlost '${EWW_CMD} update small_art_overlay=false'
(button
:height 100
:width 100
:valign "cs"
:halign "fill"
:hexpand false
:vexpand false
:onclick '${EWW_CMD} update large_album_art=false'
(overlay
(nowplayingart)
(label :class "art-button-overlay"
:height 100
:width 100
:visible {small_art_overlay}
:text ""))))))
;(defwidget nowplaying_revealer [revealvar revealvar-name] ;(defwidget nowplaying_revealer [revealvar revealvar-name]
(defwidget nowplaying_revealer [] (defwidget nowplaying_revealer []
@ -86,13 +107,13 @@
:onhover '${EWW_CMD} update small_art_overlay=true' :onhover '${EWW_CMD} update small_art_overlay=true'
:onhoverlost '${EWW_CMD} update small_art_overlay=false' :onhoverlost '${EWW_CMD} update small_art_overlay=false'
(button (button
:height 100 ;; :height 100
:width 100 ;; :width 100
:valign "center" :valign "center"
:halign "fill" :halign "fill"
:hexpand false :hexpand false
:vexpand false :vexpand false
:onclick '${EWW_CMD} update large_album_art=true' :onclick '${EWW_CMD} update large_album_art=${large_album_art ? "false" : "true"}'
(overlay (overlay
(nowplayingart) (nowplayingart)
(label :class "art-button-overlay" (label :class "art-button-overlay"