- dmenu - Address bar
- webkit2gtk - browser engine
- xprop
- gcr
- ca-certificates
- curl ( default download handler )
- st ( default terminal for curl )
- mpv ( default video player )
- gdb and gdb-debug ( helps prevent intermittent crashes )
- youtube-dl ( for playing videos )
- dmenuhandler ( for specific interactions with links )
- linkhandler ( for automatically interactions with links )
- pass & passmenu ( convinient embedded password manager )
- hopefully I can remove the dependency on passmenu
- runs into issues when focuse is taken away from surf
- to simply copy the password to clipboard remove the --type arg in PASS()
- open a web page with linkhandler script
- open a web page with dmenuhandler script
- open middle clicked link with linkhandler
- open control-middle clicked link with dmenuhandler
- scrolling no longer relies on depreciated code
- scroll directly to top and bottom of screen with ctrl-g and ctrl-shift-g respectively
- if the URL is not a full link is used it is searched with duckduckgo
- this allows you to use !Bang searching in dmenu
- removed togglestats, and pagestats from title to look better with dwm
p.s. For more help checkout Surf Demystified
surf is a simple Web browser based on WebKit/GTK+.
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].
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
run surf [URI]
See the manpage for further options.
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