mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
7 lines
218 B
Rust
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"))
|
|
}
|