2022-12-06 16:12:59 +01:00
|
|
|
// Copyright 2022 System76 <info@system76.com>
|
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2022-10-09 11:25:46 -07:00
|
|
|
use cosmic::{iced::Application, settings};
|
|
|
|
|
|
|
|
|
|
mod window;
|
|
|
|
|
pub use window::*;
|
2022-09-30 08:55:37 -06:00
|
|
|
|
2022-09-30 09:35:55 -06:00
|
|
|
pub fn main() -> cosmic::iced::Result {
|
2022-09-30 14:51:39 -06:00
|
|
|
let mut settings = settings();
|
|
|
|
|
settings.window.min_size = Some((600, 300));
|
2022-10-07 05:21:37 +02:00
|
|
|
// TODO: Window resize handles not functioning yet
|
2022-10-12 19:44:44 -07:00
|
|
|
settings.window.decorations = false;
|
2022-09-30 14:51:39 -06:00
|
|
|
Window::run(settings)
|
2022-09-30 08:55:37 -06:00
|
|
|
}
|