New backup 2025-07-18 20:15:02
This commit is contained in:
parent
16ad2897d8
commit
c8eacd506c
1 changed files with 85 additions and 60 deletions
|
@ -10,70 +10,95 @@
|
||||||
(defwidget nowplayingbar []
|
(defwidget nowplayingbar []
|
||||||
; (centerbox
|
; (centerbox
|
||||||
(box
|
(box
|
||||||
:class "nowplayingbar"
|
:orientation 'v'
|
||||||
:orientation "h"
|
|
||||||
:space-evenly false
|
|
||||||
:halign "center"
|
|
||||||
:width 300
|
|
||||||
: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
|
(box
|
||||||
:class "mediadetails ${large_album_art ? 'fullwidth' : ''}"
|
:class "nowplayingbar"
|
||||||
:orientation "v"
|
:orientation "h"
|
||||||
:space-evenly true
|
:space-evenly false
|
||||||
:halign "fill"
|
:halign "center"
|
||||||
:hexpand true
|
:width 300
|
||||||
(label
|
:height 100
|
||||||
:justify "center"
|
(nowplaying_revealer :visible {!large_album_art})
|
||||||
:text " ${nowplaying_title}
|
; (eventbox
|
||||||
${nowplaying_artist}")
|
; :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
|
(box
|
||||||
:orientation "h"
|
:class "mediadetails ${large_album_art ? 'fullwidth' : ''}"
|
||||||
:space-evenly true
|
:orientation "v"
|
||||||
|
:space-evenly true
|
||||||
:halign "fill"
|
:halign "fill"
|
||||||
:hexpand true
|
:hexpand true
|
||||||
; :width 130
|
(label
|
||||||
; :spacing 15
|
:justify "center"
|
||||||
:height 50
|
:text " ${nowplaying_title}
|
||||||
(button
|
${nowplaying_artist}")
|
||||||
:class "mediabutton"
|
(box
|
||||||
:valign "center"
|
:orientation "h"
|
||||||
:halign "center"
|
:space-evenly true
|
||||||
:height 25
|
:halign "fill"
|
||||||
:width 25
|
:hexpand true
|
||||||
"")
|
; :width 130
|
||||||
(button
|
; :spacing 15
|
||||||
:class "mediabutton"
|
:height 50
|
||||||
:valign "center"
|
(button
|
||||||
:halign "center"
|
:class "mediabutton"
|
||||||
:height 25
|
:valign "center"
|
||||||
:width 25
|
:halign "center"
|
||||||
"")
|
:height 25
|
||||||
(button
|
:width 25
|
||||||
:class "mediabutton"
|
"")
|
||||||
:valign "center"
|
(button
|
||||||
:halign "center"
|
:class "mediabutton"
|
||||||
:height 25
|
:valign "center"
|
||||||
:width 25
|
:halign "center"
|
||||||
"")))))
|
:height 25
|
||||||
|
:width 25
|
||||||
|
"")
|
||||||
|
(button
|
||||||
|
:class "mediabutton"
|
||||||
|
:valign "center"
|
||||||
|
:halign "center"
|
||||||
|
:height 25
|
||||||
|
:width 25
|
||||||
|
""))))
|
||||||
|
(nowplaying_revealer :visible {large_album_art})))
|
||||||
|
|
||||||
|
(defwidget nowplaying_revealer []
|
||||||
|
(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 "")))))
|
||||||
|
|
||||||
(defwidget nowplayingart []
|
(defwidget nowplayingart []
|
||||||
(box
|
(box
|
||||||
|
|
Loading…
Add table
Reference in a new issue