dca4264863
No need to spawn an extra sh. Use short flags for curl and quote operands. Replace sleep with read, let the user close the download window instead of waiting for an arbitrary time. Rename d to reflect what it's used for. Reorder sh positional arguments. Set $0 to a command name and shift other positional parameters to clarify the "sh -c" command. |
||
---|---|---|
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