diff --git a/komorebi-for-kde/komorebi/src/process_command.rs b/komorebi-for-kde/komorebi/src/process_command.rs index 60b5b3f0..9a9e4dc6 100644 --- a/komorebi-for-kde/komorebi/src/process_command.rs +++ b/komorebi-for-kde/komorebi/src/process_command.rs @@ -453,7 +453,7 @@ impl WindowManager { } /// Replaces the running configuration with the one in the file - pub fn replace_configuration(&mut self, config: &std::path::PathBuf) -> eyre::Result<()> { + pub fn replace_configuration(&mut self, config: &std::path::Path) -> eyre::Result<()> { // Check that this is a valid static config file first if StaticConfig::read(config).is_ok() { // Clear workspace rules; these will need to be replaced