Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
600 B

  1. diff --git a/config.def.h b/config.def.h
  2. --- a/config.def.h
  3. +++ b/config.def.h
  4. @@ -164,3 +164,5 @@ static Button buttons[] = {
  5. { OnAny, 0, 9, clicknavigate, { .i = +1 }, 1 },
  6. { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 },
  7. };
  8. +
  9. +#define HOMEPAGE "https://duckduckgo.com/"
  10. diff --git a/surf.c b/surf.c
  11. --- a/surf.c
  12. +++ b/surf.c
  13. @@ -1751,7 +1751,11 @@ main(int argc, char *argv[])
  14. if (argc > 0)
  15. arg.v = argv[0];
  16. else
  17. +#ifdef HOMEPAGE
  18. + arg.v = HOMEPAGE;
  19. +#else
  20. arg.v = "about:blank";
  21. +#endif
  22. setup();
  23. c = newclient(NULL);