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:
parent
fb6ae42f3b
commit
6d0fe4c8ac
10 changed files with 414 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue