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