LibCore+Base: Move user-specific config files to $HOME/.config

This commit is contained in:
Andreas Kling
2020-08-05 17:18:59 +02:00
parent 7b15c85ff5
commit bc615572a9
9 changed files with 11 additions and 2 deletions

View File

@@ -61,6 +61,14 @@ String StandardPaths::downloads_directory()
return LexicalPath::canonicalized_path(builder.to_string());
}
String StandardPaths::config_directory()
{
StringBuilder builder;
builder.append(home_directory());
builder.append("/.config");
return LexicalPath::canonicalized_path(builder.to_string());
}
String StandardPaths::tempfile_directory()
{
return "/tmp";