wip: bluetooth applet
This commit is contained in:
parent
d621fb8936
commit
000ac7b8b4
13 changed files with 1238 additions and 2 deletions
23
cosmic-applet-bluetooth/src/main.rs
Normal file
23
cosmic-applet-bluetooth/src/main.rs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// 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()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue