diff --git a/ewwtilities/src/workspace_switcher.rs b/ewwtilities/src/workspace_switcher.rs index 0af69d0..d3ebac2 100644 --- a/ewwtilities/src/workspace_switcher.rs +++ b/ewwtilities/src/workspace_switcher.rs @@ -2,7 +2,6 @@ use log::{debug, error}; use std::process::Command; use serde::{Deserialize, Serialize}; -use serde_json; use crate::CliArgs; @@ -46,7 +45,7 @@ pub fn run_workspace_selector(cli: &CliArgs) { .collect::>() .first() { - Some(val) => (*val).clone(), + Some(val) => *val, None => { error!("Could not get focused monitor from json"); panic!("Could not get focused monitor from json");