1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-09-18 12:46:58 +02:00

refactor(networkmanager): identify devices by their number outside of the client

This commit is contained in:
Reinout Meliesie 2025-09-04 14:54:23 +02:00
commit db88e12b8e
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
3 changed files with 26 additions and 20 deletions

View file

@ -3,12 +3,12 @@ use crate::clients::networkmanager::dbus::{DeviceState, DeviceType};
#[derive(Debug, Clone)]
pub enum ClientToModuleEvent {
DeviceChanged {
interface: String,
number: u32,
r#type: DeviceType,
new_state: DeviceState,
},
DeviceRemoved {
interface: String,
number: u32,
},
}