24 lines
438 B
Rust
24 lines
438 B
Rust
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
|
|
||
|
|
mod app;
|
||
|
|
mod bluetooth;
|
||
|
|
mod config;
|
||
|
|
mod localize;
|
||
|
|
|
||
|
|
use log::info;
|
||
|
|
|
||
|
|
use crate::config::{APP_ID, PROFILE, VERSION};
|
||
|
|
use crate::localize::localize;
|
||
|
|
|
||
|
|
fn main() -> cosmic::iced::Result {
|
||
|
|
// Initialize logger
|
||
|
|
pretty_env_logger::init();
|
||
|
|
info!("Iced Workspaces Applet ({})", APP_ID);
|
||
|
|
info!("Version: {} ({})", VERSION, PROFILE);
|
||
|
|
|
||
|
|
// Prepare i18n
|
||
|
|
localize();
|
||
|
|
|
||
|
|
app::run()
|
||
|
|
}
|