Index: wayland-pipewire-idle-inhibit/src/settings/mod.rs
===================================================================
--- wayland-pipewire-idle-inhibit.orig/src/settings/mod.rs
+++ wayland-pipewire-idle-inhibit/src/settings/mod.rs
@@ -59,7 +59,7 @@ impl Settings {
 
         let config_path = match cli.config {
             Some(ref p) => PathBuf::from(p),
-            None => xdg::BaseDirectories::with_prefix(env!("CARGO_PKG_NAME"))
+            None => xdg::BaseDirectories::with_prefix(env!("CARGO_PKG_NAME"))?
                 .place_config_file("config.toml")?,
         };
 
