Files
pipewire-soundpad/src/utils/config.rs
T
2025-12-16 21:08:47 +03:00

7 lines
218 B
Rust

use std::{error::Error, path::PathBuf};
pub fn get_config_path() -> Result<PathBuf, Box<dyn Error>> {
let config_path = dirs::config_dir().expect("Failed to obtain config dir");
Ok(config_path.join("pwsp"))
}