eww: add floating media popup on bar media click

This commit is contained in:
retrozinndev
2024-12-20 15:46:04 -03:00
parent b0d61250e8
commit 5bc04e4dff
13 changed files with 224 additions and 163 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
:space-evenly false
(top-bar)
(toggles)
(big-media :album_background true)
(big-media :album-background true)
(notifications)
)
)
+7 -2
View File
@@ -1,10 +1,15 @@
(defwindow floating-media []
:monitor 0
:geometry (geometry :anchor "top center")
:geometry (geometry :anchor "top center"
:width "350px")
:exclusive false
:stacking "overlay"
:focusable false
(box :class "floating-media"
(big-media :album_background true)
:orientation "vertical"
:space-evenly false
:style "box-shadow: 0 5px 6px 1px rgb(0, 0, 0);"
(big-media :album-background true
:player-info true)
)
)