1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

feat: add networkmanager module

This commit is contained in:
Reinout Meliesie 2024-02-10 17:12:07 +01:00 committed by Jake Stanger
parent fb6ae42f3b
commit 6d0fe4c8ac
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
10 changed files with 414 additions and 2 deletions

View file

@ -36,6 +36,8 @@ pub mod label;
pub mod launcher;
#[cfg(feature = "music")]
pub mod music;
#[cfg(feature = "network_manager")]
pub mod networkmanager;
#[cfg(feature = "notifications")]
pub mod notifications;
pub mod script;
@ -285,6 +287,8 @@ pub trait ModuleFactory {
let id = Ironbar::unique_id();
let common = module.take_common();
debug!("adding module {} (id: {})", TModule::name(), id);
let (ui_tx, ui_rx) = mpsc::channel::<ModuleUpdateEvent<TSend>>(64);
let (controller_tx, controller_rx) = mpsc::channel::<TRev>(64);