aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Barrucadu <mike@barrucadu.co.uk>2009-04-27 21:50:37 +0100
committerGravatar Barrucadu <mike@barrucadu.co.uk>2009-04-27 21:50:37 +0100
commit5d4ce25afe538dad351d2b0fa37bc5f4c15967bd (patch)
tree50afc02d6e607729b6edee2fb26984d24c80f3a3 /uzbl.c
parent33c016f2e4be17a9afc03f5032bdc813ef66b373 (diff)
Fixed XDG config dir implementation. Now looks for $XDG_CONFIG_HOME/uzbl/config.
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uzbl.c b/uzbl.c
index 3528bf4..895d880 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -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];