This commit is contained in:
end-4
2024-02-22 15:35:06 +07:00
commit 8db26e9707
4220 changed files with 208544 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
(defwidget bgdecor_widget []
(box
:vexpand true
:space-evenly false :orientation "v"
(box
:class "bar-bg ${BAR_HEIGHT >= 2 ? 'bar-height' : ''}"
)
(overlay
:vexpand true
(box
:vexpand true
:class "bgdecor-box"
)
(image
:path "images/svg/corner_topleft.svg"
:halign "start"
:valign "start"
:image-width BG_ROUNDING
:image-height BG_ROUNDING
)
(image
:path "images/svg/corner_topright.svg"
:halign "end"
:valign "start"
:image-width BG_ROUNDING
:image-height BG_ROUNDING
)
(image
:path "images/svg/corner_bottomleft.svg"
:halign "start"
:valign "end"
:image-width BG_ROUNDING
:image-height BG_ROUNDING
)
(image
:path "images/svg/corner_bottomright.svg"
:halign "end"
:valign "end"
:image-width BG_ROUNDING
:image-height BG_ROUNDING
)
)
(box
:class "bar-bg ${BAR_HEIGHT >= 2 ? '' : 'bar-bottom-height'}"
)
(box
:class "bar-bg ${open_visualizer ? 'visualizer-height' : ''}"
)
)
)
(defwindow bgdecor
:monitor 0
:stacking "bg"
:namespace "noblur"
:geometry (geometry
:width "100%"
:height "100%"
)
(bgdecor_widget)
)