Skip to content

Commit

Permalink
Added /usr/etc/dillo/bm.txt bookmarks file to also be copied to ~/.di…
Browse files Browse the repository at this point in the history
…llo if not exist
  • Loading branch information
w00fpack committed Nov 19, 2021
1 parent 39d9182 commit 1975402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dillo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/paths.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1975402

Please sign in to comment.