diff options
Diffstat (limited to 'src/parser.c')
| -rw-r--r-- | src/parser.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index 6ee0d6e..7cc59d1 100644 --- a/src/parser.c +++ b/src/parser.c @@ -160,6 +160,11 @@ int parser(Config *cfg) goto found; } + snprintf(path, sizeof path, "/usr/local/share/sxwmrc"); + if (access(path, R_OK) == 0) { + goto found; + } + found: FILE *f = fopen(path, "r"); if (!f) { |
