diff options
| author | ottjk <joshott16@gmail.com> | 2024-01-20 01:47:56 -0500 |
|---|---|---|
| committer | ottjk <joshott16@gmail.com> | 2024-01-20 01:47:56 -0500 |
| commit | 036f619b0c15791c3b149157290918d36b6da98e (patch) | |
| tree | 9a350990c38735235201ac9a93a55da9260e532e /src/main.rs | |
| parent | 6536f3aae95e266f80a5a73288e181ff10ce650b (diff) | |
| download | dfa-036f619b0c15791c3b149157290918d36b6da98e.tar.gz dfa-036f619b0c15791c3b149157290918d36b6da98e.zip | |
new save directory
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 59f3a3c..80baf13 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,9 +38,9 @@ fn main() -> Result<()> { let cli = Cli::parse(); let mut configs_path = cli.config - .unwrap_or(dirs::config_dir() - .expect("Could not resolve config directory.") - .join("dotfiles")); + .unwrap_or(dirs::home_dir() + .expect("Could not resolve home directory.") + .join(".local/share/dotfiles")); resolve_home(&mut configs_path); if !configs_path.try_exists().unwrap() { |