3e017b1a89
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. |
||
---|---|---|
arg.h | ||
config.def.h | ||
config.mk | ||
FAQ.md | ||
LICENSE | ||
Makefile | ||
README | ||
surf-open.sh | ||
surf.1 | ||
surf.c | ||
surf.png | ||
TODO.md |
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