Show background image

Harcoded path for now.
This commit is contained in:
Ian Douglas Scott 2023-12-13 17:58:38 -08:00
parent a3e3bec885
commit 3ef8800fb4
3 changed files with 202 additions and 3 deletions

View file

@ -41,7 +41,7 @@ pub(crate) fn layer_surface<'a>(
}),
&surface.output,
);
match layout {
let container = match layout {
WorkspaceLayout::Vertical => widget::cosmic_container::container(
row![sidebar, toplevels]
.spacing(12)
@ -53,8 +53,8 @@ pub(crate) fn layer_surface<'a>(
.spacing(12)
.height(iced::Length::Fill),
),
}
.into()
};
crate::widgets::image_bg(container).into()
}
fn close_button(on_press: Msg) -> cosmic::Element<'static, Msg> {