New backup 2025-07-18 22:30:01

This commit is contained in:
Penelope Gwen 2025-07-18 22:30:01 -07:00
parent c7d14dd57d
commit ee1ffb512a
2 changed files with 10 additions and 27 deletions

View file

@ -320,7 +320,12 @@ $home-widget-border-hover-color: rgba($color5,0.3);
color: $color5;
}
.nowplayingart {
// margin: 20px 0px 20px 20px;
&.small {
margin: 20px 0px 20px 20px;
}
&.big {
margin: 20px;
}
// margin-right: 0px;
border: 1px solid $home-widget-border-color;
border-radius: $home-widget-border-radius;

View file

@ -34,7 +34,7 @@
:vexpand false
:onclick '${EWW_CMD} update large_album_art=true'
(overlay
(nowplayingart :css 'margin: 20px 0px 20px 20px;')
(nowplayingart :size 'small')
(label :class "art-button-overlay"
:height 100
:width 100
@ -93,7 +93,7 @@
:vexpand false
:onclick '${EWW_CMD} update large_album_art=false'
(overlay
(nowplayingart)
(nowplayingart :size 'big')
; :css 'margin: 20px;')
(label :class "art-button-overlay"
:height 100
@ -101,31 +101,9 @@
:visible {small_art_overlay}
:text ""))))))
;(defwidget nowplaying_revealer [revealvar revealvar-name]
(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 "center"
:halign "fill"
:hexpand false
:vexpand false
:onclick '${EWW_CMD} update large_album_art=${large_album_art ? "false" : "true"}'
(overlay
(nowplayingart)
(label :class "art-button-overlay"
:height 100
:width 100
:visible {small_art_overlay}
:text "")))))
(defwidget nowplayingart []
(defwidget nowplayingart [size]
(box
:class "nowplayingart"
:class "nowplayingart ${size}"
:hexpand false
; :width 100
; :height 100