1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:57:44 +00:00

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";