diff options
author | Barrucadu <mike@barrucadu.co.uk> | 2009-04-27 21:50:37 +0100 |
---|---|---|
committer | Barrucadu <mike@barrucadu.co.uk> | 2009-04-27 21:50:37 +0100 |
commit | 5d4ce25afe538dad351d2b0fa37bc5f4c15967bd (patch) | |
tree | 50afc02d6e607729b6edee2fb26984d24c80f3a3 /uzbl.c | |
parent | 33c016f2e4be17a9afc03f5032bdc813ef66b373 (diff) |
Fixed XDG config dir implementation. Now looks for $XDG_CONFIG_HOME/uzbl/config.
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -457,7 +457,7 @@ settings_init () { printf("XDG_CONFIG_HOME: %s\n", XDG_CONFIG_HOME); strcpy (conf, XDG_CONFIG_HOME); - strcat (conf, "/uzbl"); + strcat (conf, "/uzbl/config"); if (file_exists (conf)) { printf ("Config file %s found.\n", conf); config_file = &conf[0]; @@ -473,7 +473,7 @@ settings_init () { char *dir = (char *)strtok (dirs, ":"); while (dir && ! file_exists (conf)) { strcpy (conf, dir); - strcat (conf, "/uzbl"); + strcat (conf, "/uzbl/config"); if (file_exists (conf)) { printf ("Config file %s found.\n", conf); config_file = &conf[0]; |