diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-29 19:47:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-29 19:47:01 +0000 |
| commit | 56713e45fb9a1d73cc16c69728f78eb6ab4f7b55 (patch) | |
| tree | fbd5f312f4c1d4e459080ccc79a2f71340a8fb88 /openbox | |
| parent | b185f7d8dd188b459d8eb05715446cb17380bb85 (diff) | |
create the dirs for themes in ~/.openbox on startup
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/openbox.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index fa31204f..117349f2 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -98,6 +98,11 @@ int main(int argc, char **argv) mkdir(path, (S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH)); g_free(path); + /* create the ~/.openbox/themes dir */ + path = g_build_filename(g_get_home_dir(), ".openbox", "themes", NULL); + mkdir(path, (S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | + S_IROTH | S_IWOTH | S_IXOTH)); + g_free(path); /* parse out command line args */ parse_args(argc, argv); |
