Add a toggle command for the stylefile.

The patch adds some better formatting for the manpage too.

Thanks to Nick <suckless-dev@njw.me.uk> for the toggle patch!
This commit is contained in:
Christoph Lohmann
2013-02-16 16:18:05 +01:00
parent 3e972f8e2a
commit bd5bbb7fc3
3 changed files with 40 additions and 8 deletions
+20 -6
View File
@@ -18,10 +18,13 @@ one can point surf to another URI by setting its XProperties.
.SH OPTIONS
.TP
.B \-c cookiefile
Specify the cookiefile to use.
Specify the
.I cookiefile
to use.
.TP
.B \-e xid
Reparents to window specified by xid.
Reparents to window specified by
.I xid.
.TP
.B \-i
Disable Images
@@ -33,16 +36,20 @@ Disable the Web Inspector (Developer Tools).
Disable Plugins
.TP
.B \-r scriptfile
Specify the user scriptfile.
Specify the user
.I scriptfile.
.TP
.B \-s
Disable Javascript
.TP
.B \-t stylefile
Specify the user stylefile.
Specify the user
.I stylefile.
.TP
.B \-u useragent
Specify the useragent which surf should use.
Specify the
.I useragent
which surf should use.
.TP
.B \-v
Prints version information to standard output, then exits.
@@ -129,6 +136,11 @@ Toggle caret browsing.
.B Ctrl\-Shift\-i
Toggle auto-loading of images.
.TP
.B Ctrl\-Shift\-m
Toggle if the
.I stylefile
file should be loaded.
.TP
.B Ctrl\-Shift\-s
Toggle script execution.
.TP
@@ -139,7 +151,9 @@ Toggle the enabling of plugins on that surf instance.
Toggle fullscreen mode.
.SH ENVIRONMENT
.B SURF_USERAGENT
If this variable is set upon startup, surf will use it as the useragent string
If this variable is set upon startup, surf will use it as the
.I useragent
string
.TP
.B http_proxy
If this variable is set and not empty upon startup, surf will use it as the http proxy