changeset: 578:beaa6174f961
tag: tip
user: Matthew Bauer <mjbauer95_AT_gmail.com>
date: Mon Jul 05 15:24:12 2010 -0500
files: surf.suckless.org/patches/homepage.md surf.suckless.org/patches/surf-0.3-homepage.diff
description:
Added page and patch for adding a homepage for surf.
diff -r c4ec0f1418e9 -r beaa6174f961 surf.suckless.org/patches/homepage.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/surf.suckless.org/patches/homepage.md Mon Jul 05 15:24:12 2010 -0500
_AT_@ -0,0 +1,21 @@
+HOMEPAGE
+========
+
+Description
+-----------
+
+This patch allows you to set a homepage to be loaded when you have not set a uri.
+
+Add the homepage to your config.h:
+
+ #define HOMEPAGE "
http://www.google.com/"
+
+Download
+--------
+
+* [surf-0.3-homepage.diff](surf-0.3-homepage.diff) (.3k) (20100705)
+
+Author
+------
+
+* Matthew Bauer <[mjbauer95_AT_gmail.com](mailto:mjbauer95_AT_gmail.com)>
diff -r c4ec0f1418e9 -r beaa6174f961 surf.suckless.org/patches/surf-0.3-homepage.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/surf.suckless.org/patches/surf-0.3-homepage.diff Mon Jul 05 15:24:12 2010 -0500
_AT_@ -0,0 +1,15 @@
+diff -r dbb565b8d61c surf.c
+--- a/surf.c Fri Jun 25 09:42:58 2010 +0200
++++ b/surf.c Mon Jul 05 14:55:45 2010 -0500
+_AT_@ -839,6 +839,11 @@
+ newclient();
+ if(arg.v)
+ loaduri(clients, &arg);
++ #ifdef HOMEPAGE
++ else
++ arg.v = HOMEPAGE;
++ loaduri(clients, &arg);
++ #endif
+ gtk_main();
+ cleanup();
+ return EXIT_SUCCESS;
Received on Mon Jul 05 2010 - 22:17:28 CEST