diff --git a/src/app/data_harvester.rs b/src/app/data_harvester.rs index db07cf41..8c8b8209 100644 --- a/src/app/data_harvester.rs +++ b/src/app/data_harvester.rs @@ -114,7 +114,6 @@ impl DataState { let current_instant = std::time::Instant::now(); - debug!("Start...."); self.data.cpu = cpu::get_cpu_data_list(&self.sys); if let Ok(process_list) = processes::get_sorted_processes_list( &self.sys, @@ -175,7 +174,6 @@ impl DataState { if let Ok(temp) = temp_res { self.data.temperature_sensors = temp; } - debug!("End...."); // Update time self.data.last_collection_time = current_instant; diff --git a/src/main.rs b/src/main.rs index a0059756..863e1343 100644 --- a/src/main.rs +++ b/src/main.rs @@ -587,7 +587,7 @@ fn get_default_widget(matches: &clap::ArgMatches<'static>, config: &Config) -> a return app::WidgetPosition::Process; } else if let Some(flags) = &config.flags { if let Some(default_widget) = &flags.default_widget { - match default_widget.to_lowercase().as_str() { + match default_widget.as_str() { "cpu_default" => { return app::WidgetPosition::Cpu; }