mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibCore+Base: Move user-specific config files to $HOME/.config
This commit is contained in:
parent
7b15c85ff5
commit
bc615572a9
9 changed files with 11 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue