summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/StandardPaths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCore/StandardPaths.cpp')
-rw-r--r--Libraries/LibCore/StandardPaths.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Libraries/LibCore/StandardPaths.cpp b/Libraries/LibCore/StandardPaths.cpp
index c73e16461b..3ed9197835 100644
--- a/Libraries/LibCore/StandardPaths.cpp
+++ b/Libraries/LibCore/StandardPaths.cpp
@@ -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";