mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
1.0.0 rewrite
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
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"))
|
||||
}
|
||||
Reference in New Issue
Block a user