New backup 2025-07-18 20:45:02
This commit is contained in:
parent
3399d00b2c
commit
c5008e0f71
1 changed files with 46 additions and 25 deletions
|
@ -11,33 +11,35 @@
|
||||||
; (centerbox
|
; (centerbox
|
||||||
(box
|
(box
|
||||||
:orientation 'v'
|
:orientation 'v'
|
||||||
|
:class "nowplayingbar"
|
||||||
(box
|
(box
|
||||||
:class "nowplayingbar"
|
|
||||||
: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
|
; :width 100
|
||||||
; :visible {!large_album_art}
|
; :height 100)
|
||||||
; :onhover '${EWW_CMD} update small_art_overlay=true'
|
(eventbox
|
||||||
; :onhoverlost '${EWW_CMD} update small_art_overlay=false'
|
:visible {!large_album_art}
|
||||||
; (button
|
:onhover '${EWW_CMD} update small_art_overlay=true'
|
||||||
; :height 100
|
:onhoverlost '${EWW_CMD} update small_art_overlay=false'
|
||||||
; :width 100
|
(button
|
||||||
; :valign "cs"
|
:height 100
|
||||||
; :halign "fill"
|
:width 100
|
||||||
; :hexpand false
|
:valign "cs"
|
||||||
; :vexpand false
|
:halign "fill"
|
||||||
; :onclick '${EWW_CMD} update large_album_art=true'
|
:hexpand false
|
||||||
; (overlay
|
:vexpand false
|
||||||
; (nowplayingart)
|
:onclick '${EWW_CMD} update large_album_art=true'
|
||||||
; (label :class "art-button-overlay"
|
(overlay
|
||||||
; :height 100
|
(nowplayingart)
|
||||||
; :width 100
|
(label :class "art-button-overlay"
|
||||||
; :visible {small_art_overlay}
|
:height 100
|
||||||
; :text ""))))
|
: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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue