Go to file
Quentin Rameau 3e017b1a89 Fix WM_CLASS and WM_WINDOW_ROLE properties
Instead of forcing class and instance names, which is what GTK does by
default anyway, allow the user to set the instance name, but keep the
general class as “Surf”.
Is we won't support a “-name” parameter and don't implement a parsing of
RESOURCE_NAME env variable, let's fallback on the third behaviour, use
the name of the calling executable.
That would let the user do things like 'ln -s ./surf ./surf-other;
./surf-other' and set different parameters for the two instances (in dwm
for example).
Try to generate a unique WM_WINDOW_ROLE (within the surf process)
composed of “Surf” and the view ID.
2015-11-22 11:53:19 +01:00
arg.h Add options for scriptfile, cookiefile and stylefile. And changing the default 2012-10-31 21:13:50 +01:00
config.def.h Un(g)boolify to separate GTK dependant code from the rest 2015-11-22 02:03:26 +01:00
config.mk Switch headers to webkit2 2015-11-18 14:59:13 +01:00
FAQ.md Add a FAQ to surf. 2014-08-04 17:54:00 +02:00
LICENSE Update credits 2015-11-21 19:24:19 +01:00
Makefile Remove the pax intermediary. 2015-09-08 20:28:11 +02:00
README Add information about the dmenu requirement. 2014-05-17 19:24:25 +02:00
surf-open.sh Fix output redirection in surf-open.sh 2013-03-14 06:33:02 +01:00
surf.1 Be more specific about what enablestyles parameter does. 2015-11-03 19:45:50 +01:00
surf.c Fix WM_CLASS and WM_WINDOW_ROLE properties 2015-11-22 11:53:19 +01:00
surf.png adding surf-logo. 2010-03-24 21:05:11 +01:00
TODO.md Updating the TODO file. 2013-06-21 07:02:45 +02:00

surf - simple webkit-based browser
==================================
surf is a simple Web browser based on WebKit/GTK+.

Requirements
------------
In order to build surf you need GTK+ and Webkit/GTK+ header files.

In order to use the functionality of the url-bar, also install dmenu[0].

Installation
------------
Edit config.mk to match your local setup (surf is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install surf (if
necessary as root):

    make clean install

Running surf
------------
run
	surf [URI]

See the manpage for further options.

Running surf in tabbed
----------------------
For running surf in tabbed[1] there is a script included in the distribution,
which is run like this:

	surf-open.sh [URI]

Further invocations of the script will run surf with the specified URI in this
instance of tabbed.

[0] http://tools.suckless.org/dmenu
[1] http://tools.suckless.org/tabbed