diff --git a/packages/desktop/src/main.rs b/packages/desktop/src/main.rs index c1f2521e..608c394a 100644 --- a/packages/desktop/src/main.rs +++ b/packages/desktop/src/main.rs @@ -1,7 +1,9 @@ use std::{collections::HashMap, env, sync::Arc}; use clap::Parser; -use providers::{config::ProviderConfig, manager::init_provider_manager}; +use providers::{ + config::ProviderConfig, provider_manager::init_provider_manager, +}; use serde::Serialize; use tauri::{ AppHandle, Manager, State, WebviewUrl, WebviewWindowBuilder, Window, @@ -19,7 +21,7 @@ use tracing_subscriber::EnvFilter; use crate::{ cli::{Cli, CliCommand}, monitors::get_monitors_str, - providers::manager::ProviderManager, + providers::provider_manager::ProviderManager, sys_tray::setup_sys_tray, util::window_ext::WindowExt, }; diff --git a/packages/desktop/src/providers/mod.rs b/packages/desktop/src/providers/mod.rs index d50fda30..b902a359 100644 --- a/packages/desktop/src/providers/mod.rs +++ b/packages/desktop/src/providers/mod.rs @@ -5,10 +5,10 @@ pub mod host; pub mod ip; #[cfg(windows)] pub mod komorebi; -pub mod manager; pub mod memory; pub mod network; pub mod provider; +pub mod provider_manager; pub mod provider_ref; pub mod variables; pub mod weather; diff --git a/packages/desktop/src/providers/manager.rs b/packages/desktop/src/providers/provider_manager.rs similarity index 100% rename from packages/desktop/src/providers/manager.rs rename to packages/desktop/src/providers/provider_manager.rs diff --git a/packages/desktop/src/providers/provider_ref.rs b/packages/desktop/src/providers/provider_ref.rs index 9c6f32a0..21f5a921 100644 --- a/packages/desktop/src/providers/provider_ref.rs +++ b/packages/desktop/src/providers/provider_ref.rs @@ -9,9 +9,10 @@ use tracing::info; use super::komorebi::KomorebiProvider; use super::{ battery::BatteryProvider, config::ProviderConfig, cpu::CpuProvider, - host::HostProvider, ip::IpProvider, manager::SharedProviderState, - memory::MemoryProvider, network::NetworkProvider, provider::Provider, - variables::ProviderVariables, weather::WeatherProvider, + host::HostProvider, ip::IpProvider, memory::MemoryProvider, + network::NetworkProvider, provider::Provider, + provider_manager::SharedProviderState, variables::ProviderVariables, + weather::WeatherProvider, }; /// Reference to an active provider.