blob: 4553e3dccf15eeadc132129279b20083364ed7a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
surf - simple webkit-based browser
==================================
surf is a simple Web browser based on WebKit/GTK+.
surf runs as a native Wayland client, it does not build or run on X11.
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.
Controlling a running surf
--------------------------
Every surf window creates a control fifo in $XDG_RUNTIME_DIR/surf. Writing a
line to it makes that window load a URI or search the page:
printf 'uri %s\n' https://suckless.org >"$XDG_RUNTIME_DIR"/surf/*
See the CONTROL FIFO section of the manpage. The included script
surf-open.sh [URI]
uses this to hand the URI to an already running surf, and only starts a new
one if there is none.
[0] http://tools.suckless.org/dmenu
|