From 19754021d563b78202f1e2a0b42ff7b73b51ff10 Mon Sep 17 00:00:00 2001 From: w00fpack Date: Fri, 19 Nov 2021 17:21:58 -0500 Subject: [PATCH] Added /usr/etc/dillo/bm.txt bookmarks file to also be copied to ~/.dillo if not exist --- src/dillo.cc | 3 +++ src/paths.hh | 1 + 2 files changed, 4 insertions(+) diff --git a/src/dillo.cc b/src/dillo.cc index c7ae62c2..307dda8f 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -448,6 +448,9 @@ int main(int argc, char **argv) if ((fp = Paths::getPrefsFP(PATHS_RC_PREFS))) { PrefsParser::parse(fp); } + // parse bm.txt + if ((fp = Paths::getPrefsFP(PATHS_BM))) { + } // parse keysrc if ((fp = Paths::getPrefsFP(PATHS_RC_KEYS))) { Keys::parse(fp); diff --git a/src/paths.hh b/src/paths.hh index f4e99e1d..f81b934d 100644 --- a/src/paths.hh +++ b/src/paths.hh @@ -16,6 +16,7 @@ #define PATHS_RC_KEYS "keysrc" #define PATHS_RC_DOMAIN "domainrc" #define PATHS_HSTS_PRELOAD "hsts_preload" +#define PATHS_BM "bm.txt" #define BUFFERSIZE 4096 #define COPYMODE 0644