libcosmic/examples/applet/src/main.rs

13 lines
289 B
Rust
Raw Normal View History

use crate::window::Window;
mod window;
fn main() -> cosmic::iced::Result {
2024-10-16 20:36:46 -04:00
let env = env_logger::Env::default()
.filter_or("MY_LOG_LEVEL", "warn")
.write_style_or("MY_LOG_STYLE", "always");
env_logger::init_from_env(env);
cosmic::applet::run::<Window>(())
}