mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-07-27 06:06:59 +00:00
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
8 lines
219 B
Rust
8 lines
219 B
Rust
use anyhow::{Context, Result};
|
|
use std::path::PathBuf;
|
|
|
|
pub fn get_config_path() -> Result<PathBuf> {
|
|
let config_path = dirs::config_dir().context("Failed to obtain config dir")?;
|
|
Ok(config_path.join("pwsp"))
|
|
}
|