feat(settings): global setting for icon theme

This commit is contained in:
Michael Aaron Murphy 2023-01-05 14:16:27 +01:00 committed by Michael Murphy
parent 043485c68d
commit 7d018a2139
8 changed files with 103 additions and 48 deletions

View file

@ -7,9 +7,8 @@ mod window;
pub use window::*;
pub fn main() -> cosmic::iced::Result {
settings::set_default_icon_theme("Pop");
let mut settings = settings();
settings.window.min_size = Some((600, 300));
// TODO: Window resize handles not functioning yet
settings.window.decorations = false;
Window::run(settings)
}