add config (WIP)

This commit is contained in:
steven-omaha
2023-01-14 16:56:07 +01:00
parent 9d1b94dca4
commit 13e34983b9
9 changed files with 122 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ pub(crate) fn get_pacdef_group_dir() -> Result<PathBuf> {
Ok(result)
}
fn get_pacdef_base_dir() -> Result<PathBuf> {
pub(crate) fn get_pacdef_base_dir() -> Result<PathBuf> {
let mut dir = get_xdg_config_home().context("getting XDG_CONFIG_HOME")?;
dir.push("pacdef");
Ok(dir)