cosmic-applets/cosmic-applet-network/src/main.rs

24 lines
444 B
Rust
Raw Normal View History

2022-05-26 11:57:41 -04:00
// SPDX-License-Identifier: GPL-3.0-or-later
2022-02-01 16:46:25 -05:00
mod app;
mod config;
mod localize;
mod network_manager;
2022-02-01 16:46:25 -05:00
use log::info;
2022-02-01 16:46:25 -05:00
use crate::config::{APP_ID, PROFILE, VERSION};
use crate::localize::localize;
2022-02-01 16:46:25 -05:00
fn main() -> cosmic::iced::Result {
// Initialize logger
pretty_env_logger::init();
info!("Iced Workspaces Applet ({})", APP_ID);
info!("Version: {} ({})", VERSION, PROFILE);
2022-02-01 14:10:15 -05:00
// Prepare i18n
localize();
2022-08-16 14:36:31 -04:00
app::run()
2022-02-01 13:24:00 -05:00
}