diff options
-rw-r--r-- | contrib/bash-completion | 3 | ||||
-rw-r--r-- | doc/dwb.1 | 22 | ||||
-rw-r--r-- | doc/dwb.1.html | 4556 | ||||
-rw-r--r-- | doc/dwb.1.txt | 16 | ||||
-rw-r--r-- | src/application.c | 26 | ||||
-rw-r--r-- | src/application.h | 1 | ||||
-rw-r--r-- | src/commands.c | 5 | ||||
-rw-r--r-- | src/commands.h | 1 | ||||
-rw-r--r-- | src/config.h | 4 |
9 files changed, 42 insertions, 4592 deletions
diff --git a/contrib/bash-completion b/contrib/bash-completion index 2742f21b..4bde472b 100644 --- a/contrib/bash-completion +++ b/contrib/bash-completion @@ -85,7 +85,8 @@ _dwb() { opts="-h -c -e -f -l -n -r -R -p -x -v -S" lopts="--help --check-script --embed --force --list-sessions --new-instance - --restore --override-restore --profile --execute --version --enable-scripts" + --restore --override-restore --profile --execute --version --enable-scripts + --set-as-default" case "${prev}" in -c|--check-script) @@ -92,6 +92,18 @@ is enabled\&. Enables the javascript interface, if there are scripts in $XDG_CONFIG_HOME/dwb/userscripts that use the javascript api this option is not needed\&. .RE .PP +\fB\-\-set\-as\-default\fR +.RS 4 +Sets dwb as default browser, if called with no arguments it will be set for all mimetypes listed in dwb\&.desktop, if the first argument is +\fImimetype\fR +it will be set for all succeding mimetypes, e\&.g\&. +\fBdwb \-\-set\-as\-default "mimetype text/html"\fR +if the first argument is +\fIextension\fR +it will be set for all succeeding filename extensions, e\&.g\&. +\fBdwb \-\-set\-as\-default "extension html htm"\fR\&. +.RE +.PP \fB\-x, \-\-execute\fR=\fIcommands\fR .RS 4 Execute a list of dwb commands separated by @@ -1389,7 +1401,6 @@ lt lt lt lt lt lt lt lt lt lt lt lt -lt lt lt lt lt lt. T{ .sp @@ -2214,15 +2225,6 @@ Set a setting T} T{ .sp -set_as_default -T}:T{ -.sp -T}:T{ -.sp -Sets dwb as default application, if called with no arguments it will be set for all mimetypes listed in dwb\&.desktop, if the first argument is \fImimetype\fR it will be set for all mimetypes given on commandline, if the first argument is \fIextension\fR it will be set for all filename extensions given on commandline -T} -T{ -.sp set_key T}:T{ .sp diff --git a/doc/dwb.1.html b/doc/dwb.1.html deleted file mode 100644 index 512820e2..00000000 --- a/doc/dwb.1.html +++ /dev/null @@ -1,4556 +0,0 @@ -<!DOCTYPE html>
-<html lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="generator" content="AsciiDoc 8.6.8">
-<title>DWB(1)</title>
-<style type="text/css">
-/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
-
-/* Default font. */
-body {
- font-family: Georgia,serif;
-}
-
-/* Title font. */
-h1, h2, h3, h4, h5, h6,
-div.title, caption.title,
-thead, p.table.header,
-#toctitle,
-#author, #revnumber, #revdate, #revremark,
-#footer {
- font-family: Arial,Helvetica,sans-serif;
-}
-
-body {
- margin: 1em 5% 1em 5%;
-}
-
-a {
- color: blue;
- text-decoration: underline;
-}
-a:visited {
- color: fuchsia;
-}
-
-em {
- font-style: italic;
- color: navy;
-}
-
-strong {
- font-weight: bold;
- color: #083194;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: #527bbd;
- margin-top: 1.2em;
- margin-bottom: 0.5em;
- line-height: 1.3;
-}
-
-h1, h2, h3 {
- border-bottom: 2px solid silver;
-}
-h2 {
- padding-top: 0.5em;
-}
-h3 {
- float: left;
-}
-h3 + * {
- clear: left;
-}
-h5 {
- font-size: 1.0em;
-}
-
-div.sectionbody {
- margin-left: 0;
-}
-
-hr {
- border: 1px solid silver;
-}
-
-p {
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-
-ul, ol, li > p {
- margin-top: 0;
-}
-ul > li { color: #aaa; }
-ul > li > * { color: black; }
-
-.monospaced, code, pre {
- font-family: "Courier New", Courier, monospace;
- font-size: inherit;
- color: navy;
- padding: 0;
- margin: 0;
-}
-
-
-#author {
- color: #527bbd;
- font-weight: bold;
- font-size: 1.1em;
-}
-#email {
-}
-#revnumber, #revdate, #revremark {
-}
-
-#footer {
- font-size: small;
- border-top: 2px solid silver;
- padding-top: 0.5em;
- margin-top: 4.0em;
-}
-#footer-text {
- float: left;
- padding-bottom: 0.5em;
-}
-#footer-badges {
- float: right;
- padding-bottom: 0.5em;
-}
-
-#preamble {
- margin-top: 1.5em;
- margin-bottom: 1.5em;
-}
-div.imageblock, div.exampleblock, div.verseblock,
-div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
-div.admonitionblock {
- margin-top: 1.0em;
- margin-bottom: 1.5em;
-}
-div.admonitionblock {
- margin-top: 2.0em;
- margin-bottom: 2.0em;
- margin-right: 10%;
- color: #606060;
-}
-
-div.content { /* Block element content. */
- padding: 0;
-}
-
-/* Block element titles. */
-div.title, caption.title {
- color: #527bbd;
- font-weight: bold;
- text-align: left;
- margin-top: 1.0em;
- margin-bottom: 0.5em;
-}
-div.title + * {
- margin-top: 0;
-}
-
-td div.title:first-child {
- margin-top: 0.0em;
-}
-div.content div.title:first-child {
- margin-top: 0.0em;
-}
-div.content + div.title {
- margin-top: 0.0em;
-}
-
-div.sidebarblock > div.content {
- background: #ffffee;
- border: 1px solid #dddddd;
- border-left: 4px solid #f0f0f0;
- padding: 0.5em;
-}
-
-div.listingblock > div.content {
- border: 1px solid #dddddd;
- border-left: 5px solid #f0f0f0;
- background: #f8f8f8;
- padding: 0.5em;
-}
-
-div.quoteblock, div.verseblock {
- padding-left: 1.0em;
- margin-left: 1.0em;
- margin-right: 10%;
- border-left: 5px solid #f0f0f0;
- color: #888;
-}
-
-div.quoteblock > div.attribution {
- padding-top: 0.5em;
- text-align: right;
-}
-
-div.verseblock > pre.content {
- font-family: inherit;
- font-size: inherit;
-}
-div.verseblock > div.attribution {
- padding-top: 0.75em;
- text-align: left;
-}
-/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
-div.verseblock + div.attribution {
- text-align: left;
-}
-
-div.admonitionblock .icon {
- vertical-align: top;
- font-size: 1.1em;
- font-weight: bold;
- text-decoration: underline;
- color: #527bbd;
- padding-right: 0.5em;
-}
-div.admonitionblock td.content {
- padding-left: 0.5em;
- border-left: 3px solid #dddddd;
-}
-
-div.exampleblock > div.content {
- border-left: 3px solid #dddddd;
- padding-left: 0.5em;
-}
-
-div.imageblock div.content { padding-left: 0; }
-span.image img { border-style: none; }
-a.image:visited { color: white; }
-
-dl {
- margin-top: 0.8em;
- margin-bottom: 0.8em;
-}
-dt {
- margin-top: 0.5em;
- margin-bottom: 0;
- font-style: normal;
- color: navy;
-}
-dd > *:first-child {
- margin-top: 0.1em;
-}
-
-ul, ol {
- list-style-position: outside;
-}
-ol.arabic {
- list-style-type: decimal;
-}
-ol.loweralpha {
- list-style-type: lower-alpha;
-}
-ol.upperalpha {
- list-style-type: upper-alpha;
-}
-ol.lowerroman {
- list-style-type: lower-roman;
-}
-ol.upperroman {
- list-style-type: upper-roman;
-}
-
-div.compact ul, div.compact ol,
-div.compact p, div.compact p,
-div.compact div, div.compact div {
- margin-top: 0.1em;
- margin-bottom: 0.1em;
-}
-
-tfoot {
- font-weight: bold;
-}
-td > div.verse {
- white-space: pre;
-}
-
-div.hdlist {
- margin-top: 0.8em;
- margin-bottom: 0.8em;
-}
-div.hdlist tr {
- padding-bottom: 15px;
-}
-dt.hdlist1.strong, td.hdlist1.strong {
- font-weight: bold;
-}
-td.hdlist1 {
- vertical-align: top;
- font-style: normal;
- padding-right: 0.8em;
- color: navy;
-}
-td.hdlist2 {
- vertical-align: top;
-}
-div.hdlist.compact tr {
- margin: 0;
- padding-bottom: 0;
-}
-
-.comment {
- background: yellow;
-}
-
-.footnote, .footnoteref {
- font-size: 0.8em;
-}
-
-span.footnote, span.footnoteref {
- vertical-align: super;
-}
-
-#footnotes {
- margin: 20px 0 20px 0;
- padding: 7px 0 0 0;
-}
-
-#footnotes div.footnote {
- margin: 0 0 5px 0;
-}
-
-#footnotes hr {
- border: none;
- border-top: 1px solid silver;
- height: 1px;
- text-align: left;
- margin-left: 0;
- width: 20%;
- min-width: 100px;
-}
-
-div.colist td {
- padding-right: 0.5em;
- padding-bottom: 0.3em;
- vertical-align: top;
-}
-div.colist td img {
- margin-top: 0.3em;
-}
-
-@media print {
- #footer-badges { display: none; }
-}
-
-#toc {
- margin-bottom: 2.5em;
-}
-
-#toctitle {
- color: #527bbd;
- font-size: 1.1em;
- font-weight: bold;
- margin-top: 1.0em;
- margin-bottom: 0.1em;
-}
-
-div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
- margin-top: 0;
- margin-bottom: 0;
-}
-div.toclevel2 {
- margin-left: 2em;
- font-size: 0.9em;
-}
-div.toclevel3 {
- margin-left: 4em;
- font-size: 0.9em;
-}
-div.toclevel4 {
- margin-left: 6em;
- font-size: 0.9em;
-}
-
-span.aqua { color: aqua; }
-span.black { color: black; }
-span.blue { color: blue; }
-span.fuchsia { color: fuchsia; }
-span.gray { color: gray; }
-span.green { color: green; }
-span.lime { color: lime; }
-span.maroon { color: maroon; }
-span.navy { color: navy; }
-span.olive { color: olive; }
-span.purple { color: purple; }
-span.red { color: red; }
-span.silver { color: silver; }
-span.teal { color: teal; }
-span.white { color: white; }
-span.yellow { color: yellow; }
-
-span.aqua-background { background: aqua; }
-span.black-background { background: black; }
-span.blue-background { background: blue; }
-span.fuchsia-background { background: fuchsia; }
-span.gray-background { background: gray; }
-span.green-background { background: green; }
-span.lime-background { background: lime; }
-span.maroon-background { background: maroon; }
-span.navy-background { background: navy; }
-span.olive-background { background: olive; }
-span.purple-background { background: purple; }
-span.red-background { background: red; }
-span.silver-background { background: silver; }
-span.teal-background { background: teal; }
-span.white-background { background: white; }
-span.yellow-background { background: yellow; }
-
-span.big { font-size: 2em; }
-span.small { font-size: 0.6em; }
-
-span.underline { text-decoration: underline; }
-span.overline { text-decoration: overline; }
-span.line-through { text-decoration: line-through; }
-
-div.unbreakable { page-break-inside: avoid; }
-
-
-/*
- * xhtml11 specific
- *
- * */
-
-div.tableblock {
- margin-top: 1.0em;
- margin-bottom: 1.5em;
-}
-div.tableblock > table {
- border: 3px solid #527bbd;
-}
-thead, p.table.header {
- font-weight: bold;
- color: #527bbd;
-}
-p.table {
- margin-top: 0;
-}
-/* Because the table frame attribute is overriden by CSS in most browsers. */
-div.tableblock > table[frame="void"] {
- border-style: none;
-}
-div.tableblock > table[frame="hsides"] {
- border-left-style: none;
- border-right-style: none;
-}
-div.tableblock > table[frame="vsides"] {
- border-top-style: none;
- border-bottom-style: none;
-}
-
-
-/*
- * html5 specific
- *
- * */
-
-table.tableblock {
- margin-top: 1.0em;
- margin-bottom: 1.5em;
-}
-thead, p.tableblock.header {
- font-weight: bold;
- color: #527bbd;
-}
-p.tableblock {
- margin-top: 0;
-}
-table.tableblock {
- border-width: 3px;
- border-spacing: 0px;
- border-style: solid;
- border-color: #527bbd;
- border-collapse: collapse;
-}
-th.tableblock, td.tableblock {
- border-width: 1px;
- padding: 4px;
- border-style: solid;
- border-color: #527bbd;
-}
-
-table.tableblock.frame-topbot {
- border-left-style: hidden;
- border-right-style: hidden;
-}
-table.tableblock.frame-sides {
- border-top-style: hidden;
- border-bottom-style: hidden;
-}
-table.tableblock.frame-none {
- border-style: hidden;
-}
-
-th.tableblock.halign-left, td.tableblock.halign-left {
- text-align: left;
-}
-th.tableblock.halign-center, td.tableblock.halign-center {
- text-align: center;
-}
-th.tableblock.halign-right, td.tableblock.halign-right {
- text-align: right;
-}
-
-th.tableblock.valign-top, td.tableblock.valign-top {
- vertical-align: top;
-}
-th.tableblock.valign-middle, td.tableblock.valign-middle {
- vertical-align: middle;
-}
-th.tableblock.valign-bottom, td.tableblock.valign-bottom {
- vertical-align: bottom;
-}
-
-
-/*
- * manpage specific
- *
- * */
-
-body.manpage h1 {
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- border-top: 2px solid silver;
- border-bottom: 2px solid silver;
-}
-body.manpage h2 {
- border-style: none;
-}
-body.manpage div.sectionbody {
- margin-left: 3em;
-}
-
-@media print {
- body.manpage div#toc { display: none; }
-}
-
-
-</style>
-<script type="text/javascript">
-/*<![CDATA[*/
-var asciidoc = { // Namespace.
-
-/////////////////////////////////////////////////////////////////////
-// Table Of Contents generator
-/////////////////////////////////////////////////////////////////////
-
-/* Author: Mihai Bazon, September 2002
- * http://students.infoiasi.ro/~mishoo
- *
- * Table Of Content generator
- * Version: 0.4
- *
- * Feel free to use this script under the terms of the GNU General Public
- * License, as long as you do not remove or alter this notice.
- */
-
- /* modified by Troy D. Hanson, September 2006. License: GPL */
- /* modified by Stuart Rackham, 2006, 2009. License: GPL */
-
-// toclevels = 1..4.
-toc: function (toclevels) {
-
- function getText(el) {
- var text = "";
- for (var i = el.firstChild; i != null; i = i.nextSibling) {
- if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
- text += i.data;
- else if (i.firstChild != null)
- text += getText(i);
- }
- return text;
- }
-
- function TocEntry(el, text, toclevel) {
- this.element = el;
- this.text = text;
- this.toclevel = toclevel;
- }
-
- function tocEntries(el, toclevels) {
- var result = new Array;
- var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
- // Function that scans the DOM tree for header elements (the DOM2
- // nodeIterator API would be a better technique but not supported by all
- // browsers).
- var iterate = function (el) {
- for (var i = el.firstChild; i != null; i = i.nextSibling) {
- if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
- var mo = re.exec(i.tagName);
- if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
- result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
- }
- iterate(i);
- }
- }
- }
- iterate(el);
- return result;
- }
-
- var toc = document.getElementById("toc");
- if (!toc) {
- return;
- }
-
- // Delete existing TOC entries in case we're reloading the TOC.
- var tocEntriesToRemove = [];
- var i;
- for (i = 0; i < toc.childNodes.length; i++) {
- var entry = toc.childNodes[i];
- if (entry.nodeName.toLowerCase() == 'div'
- && entry.getAttribute("class")
- && entry.getAttribute("class").match(/^toclevel/))
- tocEntriesToRemove.push(entry);
- }
- for (i = 0; i < tocEntriesToRemove.length; i++) {
- toc.removeChild(tocEntriesToRemove[i]);
- }
-
- // Rebuild TOC entries.
- var entries = tocEntries(document.getElementById("content"), toclevels);
- for (var i = 0; i < entries.length; ++i) {
- var entry = entries[i];
- if (entry.element.id == "")
- entry.element.id = "_toc_" + i;
- var a = document.createElement("a");
- a.href = "#" + entry.element.id;
- a.appendChild(document.createTextNode(entry.text));
- var div = document.createElement("div");
- div.appendChild(a);
- div.className = "toclevel" + entry.toclevel;
- toc.appendChild(div);
- }
- if (entries.length == 0)
- toc.parentNode.removeChild(toc);
-},
-
-
-/////////////////////////////////////////////////////////////////////
-// Footnotes generator
-/////////////////////////////////////////////////////////////////////
-
-/* Based on footnote generation code from:
- * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
- */
-
-footnotes: function () {
- // Delete existing footnote entries in case we're reloading the footnodes.
- var i;
- var noteholder = document.getElementById("footnotes");
- if (!noteholder) {
- return;
- }
- var entriesToRemove = [];
- for (i = 0; i < noteholder.childNodes.length; i++) {
- var entry = noteholder.childNodes[i];
- if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
- entriesToRemove.push(entry);
- }
- for (i = 0; i < entriesToRemove.length; i++) {
- noteholder.removeChild(entriesToRemove[i]);
- }
-
- // Rebuild footnote entries.
- var cont = document.getElementById("content");
- var spans = cont.getElementsByTagName("span");
- var refs = {};
- var n = 0;
- for (i=0; i<spans.length; i++) {
- if (spans[i].className == "footnote") {
- n++;
- var note = spans[i].getAttribute("data-note");
- if (!note) {
- // Use [\s\S] in place of . so multi-line matches work.
- // Because JavaScript has no s (dotall) regex flag.
- note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
- spans[i].innerHTML =
- "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
- "' title='View footnote' class='footnote'>" + n + "</a>]";
- spans[i].setAttribute("data-note", note);
- }
- noteholder.innerHTML +=
- "<div class='footnote' id='_footnote_" + n + "'>" +
- "<a href='#_footnoteref_" + n + "' title='Return to text'>" +
- n + "</a>. " + note + "</div>";
- var id =spans[i].getAttribute("id");
- if (id != null) refs["#"+id] = n;
- }
- }
- if (n == 0)
- noteholder.parentNode.removeChild(noteholder);
- else {
- // Process footnoterefs.
- for (i=0; i<spans.length; i++) {
- if (spans[i].className == "footnoteref") {
- var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
- href = href.match(/#.*/)[0]; // Because IE return full URL.
- n = refs[href];
- spans[i].innerHTML =
- "[<a href='#_footnote_" + n +
- "' title='View footnote' class='footnote'>" + n + "</a>]";
- }
- }
- }
-},
-
-install: function(toclevels) {
- var timerId;
-
- function reinstall() {
- asciidoc.footnotes();
- if (toclevels) {
- asciidoc.toc(toclevels);
- }
- }
-
- function reinstallAndRemoveTimer() {
- clearInterval(timerId);
- reinstall();
- }
-
- timerId = setInterval(reinstall, 500);
- if (document.addEventListener)
- document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);
- else
- window.onload = reinstallAndRemoveTimer;
-}
-
-}
-asciidoc.install();
-/*]]>*/
-</script>
-</head>
-<body class="manpage">
-<div id="header">
-<h1>
-DWB(1) Manual Page
-</h1>
-<h2>NAME</h2>
-<div class="sectionbody">
-<p>dwb -
- dynamic web browser
-</p>
-</div>
-</div>
-<div id="content">
-<div class="sect1">
-<h2 id="_synopsis">SYNOPSIS</h2>
-<div class="sectionbody">
-<div class="paragraph"><p><strong>dwb</strong> [<em>OPTIONS</em>] [ <em>URLS</em> ]</p></div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="_description">DESCRIPTION</h2>
-<div class="sectionbody">
-<div class="paragraph"><p>dwb(1) is a small webbrowser based on WebKit and GTK which aims to be mostly
-keyboard-driven.</p></div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="_options">OPTIONS</h2>
-<div class="sectionbody">
-<div class="dlist"><dl>
-<dt class="hdlist1">
-<strong>-c, --check-script-syntax</strong>=<em>script</em>
-</dt>
-<dd>
-<p>
- Checks if a the syntax of a script that uses the javascript api is correct
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-e, --embed</strong>=<em>wid</em>
-</dt>
-<dd>
-<p>
- Embed dwb into <wid>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-f, --force</strong>
-</dt>
-<dd>
-<p>
- Force restoring a previously saved session, even if it seems that another
- process has opened a session with the same name.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-l, --list-sessions</strong>
-</dt>
-<dd>
-<p>
- List previously saved sessions. A <em>*</em> indicates that another instance has
- currently opened the session.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-n, --new-instance</strong>
-</dt>
-<dd>
-<p>
- New instance, overrides setting
- <em>single-instance</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-p, --profile</strong>=<em>profilename</em>
-</dt>
-<dd>
-<p>
- Load configuration for profile <em>profilename</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-r, --restore</strong>=<em>sessionname</em>
-</dt>
-<dd>
-<p>
- Restore session with name <em>sessionname</em>
- or the default session, if <em>sessionname</em> is omitted.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-R, --override-restore</strong>
-</dt>
-<dd>
-<p>
- Open a new session, even if <em>save-session</em> is enabled.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-S, --enable-scripts</strong>
-</dt>
-<dd>
-<p>
- Enables the javascript interface, if there are scripts in
- $XDG_CONFIG_HOME/dwb/userscripts that use the javascript api this option is
- not needed.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-x, --execute</strong>=<em>commands</em>
-</dt>
-<dd>
-<p>
- Execute a list of dwb commands separated by <em>;;</em>, see
- <a href="#CUSTOM_COMMANDS"><em>CUSTOM COMMANDS</em></a>
- and <a href="#COMMAND_OVERVIEW"><em>COMMAND OVERVIEW</em></a> for details.
- If <em>single instance</em> is enabled all commands will be executed in the primary
- instance.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>-v, --version</strong>
-</dt>
-<dd>
-<p>
- Show version information and exit.
-</p>
-</dd>
-</dl></div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="MODES">MODES</h2>
-<div class="sectionbody">
-<div class="paragraph"><p>dwb has different modes:</p></div>
-<div class="dlist"><dl>
-<dt class="hdlist1">
-<strong>Normal mode</strong>
-</dt>
-<dd>
-<p>
-The default mode. Pressing <em>Escape</em> always enter
-normal mode, all keyboard inputs will be interpreted as shortcuts, keypresses
-are not sent to the webview.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Insert mode</strong>
-</dt>
-<dd>
-<p>
-Used for editing text elements in a webpage.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Hint mode</strong>
-</dt>
-<dd>
-<p>
-Follow links via hints.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Command mode</strong>
-</dt>
-<dd>
-<p>
-Execute dwb commands from the builtin commandline.
-</p>
-</dd>
-</dl></div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="SHORTCUTS">SHORTCUTS</h2>
-<div class="sectionbody">
-<div class="sect2">
-<h3 id="_normal_mode_shortcuts">Normal mode shortcuts</h3>
-<div class="dlist"><dl>
-<dt class="hdlist1">
-<strong>[n]j</strong>
-</dt>
-<dd>
-<p>
-Scroll [n times] down (command: <em>scroll_down</em>, aliases: <em>down</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]k</strong>
-</dt>
-<dd>
-<p>
-Scroll [n times] up (command: <em>scroll_up</em>, aliases: <em>up</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]h</strong>
-</dt>
-<dd>
-<p>
-Scroll [n times] left (command: <em>scroll_left</em>, aliases: <em>left</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]l</strong>
-</dt>
-<dd>
-<p>
-Scroll [n times] right (command: <em>scroll_right</em>, aliases: <em>right</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]gg</strong>
-</dt>
-<dd>
-<p>
-Scroll to the top or to n% of the page (command: <em>scroll_top</em>, aliases: <em>top</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]G</strong>
-</dt>
-<dd>
-<p>
-Scroll to the bottom or to n% of the page (command: <em>scroll_bottom</em>, aliases: <em>bottom</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]C-f</strong>
-</dt>
-<dd>
-<p>
-Scroll [n] pages down (command: <em>scroll_page_down</em>, aliases: <em>pagedown</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]C-b</strong>
-</dt>
-<dd>
-<p>
-Scroll [n] pages up (command: <em>scroll_page_up</em>, aliases: <em>pageup</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]C-d</strong>
-</dt>
-<dd>
-<p>
-Scroll [n] half pages down (command: <em>scroll_halfpage_down</em>, aliases: <em>halfdown</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]C-u</strong>
-</dt>
-<dd>
-<p>
-Scroll [n] half pages up (command: <em>scroll_halfpage_up</em>, aliases: <em>halfup</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>:</strong>
-</dt>
-<dd>
-<p>
-Enter Command mode.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>o</strong>
-</dt>
-<dd>
-<p>
-Open new url in the focused tab, the argument $URI will be replaced by the
-current uri (command: <em>open</em>, aliases: <em>o</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>go</strong>
-</dt>
-<dd>
-<p>
-Open url in the focused tab, set current url in the navigation bar (command:
-<em>open_url</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>O</strong>
-</dt>
-<dd>
-<p>
-Open url in a new tab, the argument $URI will be replaced by the current uri
-(command: <em>tabopen</em>, aliases: <em>topen</em>, <em>t</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gO</strong>
-</dt>
-<dd>
-<p>
-Open url in a new tab, set current url in the navigation bar (command
-<em>tabopen_url</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>xo</strong>
-</dt>
-<dd>
-<p>
-Open url in a new tab in background, the argument $URI will be repaced with the
-current uri (command: <em>backopen</em>, aliases: <em>bopen</em> ).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>xO</strong>
-</dt>
-<dd>
-<p>
-Open url in a new tab in background, set current url in the navigation bar (command:
-<em>backopen_url</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wo</strong>
-</dt>
-<dd>
-<p>
-Open url in a new instance (command: <em>winopen</em>, aliases: <em>wopen</em>, <em>w</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>i</strong>
-</dt>
-<dd>
-<p>
-Enter insert mode (command: <em>insert_mode</em>, aliases: <em>i</em>, <em>insert</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-n</strong>
-</dt>
-<dd>
-<p>
-Enter normal mode.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ga</strong>
-</dt>
-<dd>
-<p>
-Add a new blank tab (command: <em>tab_new</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>d</strong>
-</dt>
-<dd>
-<p>
-Close current tab (command: <em>close_tab</em>, aliases: <em>close</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]gc</strong>
-</dt>
-<dd>
-<p>
-Clear tab n or of current tab, clears the history of the tab and loads
-<em>about:blank</em>. (command <em>clear_tab</em>, aliases: <em>clear</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>co</strong>
-</dt>
-<dd>
-<p>
-Close all tabs except for the current one (command <em>only</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-q</strong>
-</dt>
-<dd>
-<p>
-Quit (command <em>quit</em>, aliases: <em>q</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>u</strong>
-</dt>
-<dd>
-<p>
-Undo closing last tab (command <em>undo</em>, aliases: <em>u</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-h</strong>
-</dt>
-<dd>
-<p>
-Open the default startpage (command <em>start_page</em>, aliases: <em>home</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>H</strong>
-</dt>
-<dd>
-<p>
-Go back (command
-<em>history_back</em>, aliases: <em>back</em>, <em>ba</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>L</strong>
-</dt>
-<dd>
-<p>
-Go forward (command
-<em>history_forward</em>, aliases: <em>forward</em>, <em>fo</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>th</strong>
-</dt>
-<dd>
-<p>
-Go back in a new tab (command
-<em>tab_hist_back</em>, aliases: <em>tabback</em>, <em>tba</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tl</strong>
-</dt>
-<dd>
-<p>
-Go forward in a new tab (command
-<em>tab_hist_forward</em>, aliases: <em>tabforward</em>, <em>tfo</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wh</strong>
-</dt>
-<dd>
-<p>
-Go back in a new window (command
-<em>win_hist_back</em>, aliases: <em>winback</em>, <em>wba</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wl</strong>
-</dt>
-<dd>
-<p>
-Go forward in a new window (command <em>win_hist_forward</em>, aliases: <em>winforward</em>,
-<em>wfo</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>/</strong>
-</dt>
-<dd>
-<p>
-Find forward (command <em>find_forward</em>, alias: <em>ffind</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>?</strong>
-</dt>
-<dd>
-<p>
-Find backward (command <em>find_backward</em>, alias <em>bfind</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>c/</strong>
-</dt>
-<dd>
-<p>
-Find forward, ignore case (command <em>find_forward_ic</em>, alias: <em>iffind</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>c?</strong>
-</dt>
-<dd>
-<p>
-Find backward, ignore case (command <em>find_backward_ic</em>, alias <em>ibfind</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>M</strong>
-</dt>
-<dd>
-<p>
-Add a bookmark (command <em>bookmark</em>, aliases: <em>bmark</em>, <em>bma</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gb</strong>
-</dt>
-<dd>
-<p>
-Show Bookmarks (command <em>bookmarks</em>, aliases: <em>bmarks</em>, <em>bmas</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gB</strong>
-</dt>
-<dd>
-<p>
-Show Bookmarks, open bookmark in a new tab (command <em>tab_bookmarks</em>, aliases:
-<em>tabmarks</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wB</strong>
-</dt>
-<dd>
-<p>
-Show Bookmarks, open bookmark in a new window (command <em>win_bookmarks</em>, aliases:
-<em>winmarks</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>m</strong>
-</dt>
-<dd>
-<p>
-Add a quickmark (command <em>save_quickmark</em>, aliases: <em>quickmark</em>, <em>qmark</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>b</strong>
-</dt>
-<dd>
-<p>
-Open quickmark (command <em>quickmark</em>, aliases: <em>qmarks</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>B</strong>
-</dt>
-<dd>
-<p>
-Open quickmark in a new tab (command <em>tab_quickmark</em>, aliases: <em>tabqmarks</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wb[:graph:]</strong>
-</dt>
-<dd>
-<p>
-Open quickmark in a new window (command <em>win_quickmark</em>, aliases: <em>winqmarks</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]r</strong>
-</dt>
-<dd>
-<p>
-Reload tab n or current tab if n is omitted (command <em>reload</em>, aliases: <em>re</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]R</strong>
-</dt>
-<dd>
-<p>
-Reload tab n or current tab if n is omitted without using any cached data
-(command <em>reload_bypass_cache</em>, aliases: <em>refull</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]C-s</strong>
-</dt>
-<dd>
-<p>
-Stop loading of tab n or of current tab is [n] is omitted (command
-<em>stop_loading</em>,
-aliases:
-<em>stop</em>,
-<em>st</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]+</strong>
-</dt>
-<dd>
-<p>
-Zoom in [n times] (command <em>zoom_in</em>, aliases: <em>zi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]-</strong>
-</dt>
-<dd>
-<p>
-Zoom out [n times] (command <em>zoom_out</em>, aliases: <em>zo</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]=</strong>
-</dt>
-<dd>
-<p>
-Zoom to n percent or to 100% if n is omitted(command
-<em>zoom</em>, aliases: <em>z</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>sf</strong>
-</dt>
-<dd>
-<p>
-Save all configuration files (command
-<em>save</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ZZ</strong>
-</dt>
-<dd>
-<p>
-Save current session and exit (command
-<em>save_session</em>, aliases: <em>wq</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gZZ</strong>
-</dt>
-<dd>
-<p>
-Save current session with name and exit (command
-<em>save_named_session</em>, aliases: <em>wqn</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]J</strong>
-</dt>
-<dd>
-<p>
-Cycle focus [n tab] forwards. (command
-<em>focus_next</em>, aliases: <em>tabnext</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]K</strong>
-</dt>
-<dd>
-<p>
-Cycle focus [n tab] backwards. (command
-<em>focus_prev</em>, aliases: <em>tabprev</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]T</strong>
-</dt>
-<dd>
-<p>
-Focus nth tab, first tab if n is omitted or last tab if n is 0.
-(command <em>focus_tab</em>, aliases: <em>tab</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-Tab</strong>
-</dt>
-<dd>
-<p>
-Toggle between current and last focused tab
-(command <em>toggle_tab</em>, aliases: <em>ttab</em>)
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]gm</strong>
-</dt>
-<dd>
-<p>
-Move current tab to position [n] or to first position if n is omitted.
-(command <em>tab_move</em>, aliases: <em>tabm</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]gl</strong>
-</dt>
-<dd>
-<p>
-Move current tab [n] positions left.
-(command <em>tab_move_left</em>, aliases: <em>tabl</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]gr</strong>
-</dt>
-<dd>
-<p>
-Move current tab [n] positions right.
-(command <em>tab_move_right</em>, aliases: <em>tabr</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gt</strong>
-</dt>
-<dd>
-<p>
-Show all open tabs. (command
-<em>buffers</em>, aliases: <em>bu</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]C-P</strong>
-</dt>
-<dd>
-<p>
-Protect tab [n]. Closing this tab must be confirmed (command
-<em>protect</em>, aliases: <em>prot</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]xd</strong>
-</dt>
-<dd>
-<p>
-Lock tab [n]. Locking a tab will lock this tab to the current domain, it’s not
-possible to navigate to another domain until unlocked.
-<em>lock_domain</em>, aliases: <em>dlock</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]xu</strong>
-</dt>
-<dd>
-<p>
-Lock tab [n]. Locking a tab will lock this tab to the current uri, it’s not
-possible to navigate to another uri until unlocked.
-<em>lock_uri</em>, aliases: <em>ulock</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>f</strong>
-</dt>
-<dd>
-<p>
-Show hints (command
-<em>hints</em>, aliases: <em>hints</em>, <em>hi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>F</strong>
-</dt>
-<dd>
-<p>
-Show hints, open link in a new foreground tab. (command
-<em>hints_tab</em>, aliases: <em>tabhints</em>, <em>thi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;b</strong>
-</dt>
-<dd>
-<p>
-Show hints, open link in a new background tab. (command
-<em>hints_background</em>, aliases: <em>backhints</em>, <em>bhi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wf</strong>
-</dt>
-<dd>
-<p>
-Show hints, open link in a new tab. (command
-<em>hints_win</em>, aliases: <em>winhints</em>, <em>whi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;i</strong>
-</dt>
-<dd>
-<p>
-Follow image (command
-<em>hints_images</em>, aliases: <em>ihints</em>, <em>ihi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;I</strong>
-</dt>
-<dd>
-<p>
-Follow image in a new tab (command
-<em>hints_images_tab</em>, aliases: <em>itabhints</em>, <em>ithi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>.i</strong>
-</dt>
-<dd>
-<p>
-Follow image in a background tab (command
-<em>hints_images_background</em>, aliases: <em>ibackhints</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;e</strong>
-</dt>
-<dd>
-<p>
-Focus editable elements via hints (command
-<em>hints_editable</em>, aliases: <em>ehints</em>, <em>ehi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;o</strong>
-</dt>
-<dd>
-<p>
-Set hint’s url in commandline (command
-<em>hints_url</em>, aliases: <em>uhints</em>, <em>uhi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;O</strong>
-</dt>
-<dd>
-<p>
-Set hint’s url in commandline, open in a new tab (command
-<em>hints_url_tab</em>, aliases: <em>utabhints</em>, <em>uthi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>.o</strong>
-</dt>
-<dd>
-<p>
-Set hint’s url in commandline, open in a background tab (command
-<em>hints_url_background</em>, aliases: <em>ubackhints</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;d</strong>
-</dt>
-<dd>
-<p>
-Download via hints (command
-<em>hints_download</em>, aliases: <em>dhints</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;y</strong>
-</dt>
-<dd>
-<p>
-Save link location to clipboard (command
-<em>hints_clipboard</em>, aliases: <em>chints</em>, <em>chi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;Y</strong>
-</dt>
-<dd>
-<p>
-Save link location to primary selection (command
-<em>hints_primary</em>, aliases: <em>phints</em>, <em>phi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;r</strong>
-</dt>
-<dd>
-<p>
-Rapid hint mode, each matching hint opens a new tab in background. (command
-<em>hints_rapid</em>, aliases: <em>rhints</em>, <em>rhi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>;R</strong>
-</dt>
-<dd>
-<p>
-Rapid hint mode, each matching hint opens a new window. (command
-<em>hints_rapid_win</em>, aliases: <em>wrhints</em>, <em>wrhi</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gf</strong>
-</dt>
-<dd>
-<p>
-Toggle "view source" (command
-<em>view_source</em>, aliases: <em>source</em>, <em>so</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>CC</strong>
-</dt>
-<dd>
-<p>
-Allow persistent cookie for the current website. The domain will be saved in
-<em>cookies.allow</em>.
-Cookies that are allowed by the cookies.allow whitelist are stored in
-$XDG_CONFIG_HOME/dwb/$profilename/cookies. (command
-<em>allow_cookie</em>, aliases: <em>cookie</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>CS</strong>
-</dt>
-<dd>
-<p>
-Allow session cookie for the current website. The domain will be saved in
-<em>cookies_session.allow</em>.
-This is only useful if <em>cookies-store-policy</em> is set to <em>never</em>, see
-cookies-store-policy for details. (command
-<em>allow_session_cookie</em>, aliases: <em>scookie</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>CT</strong>
-</dt>
-<dd>
-<p>
-Allow session cookies for the current website temporarily. Only first party
-cookies are allowed. The domain is not saved to a whitelist and the cookies will
-not be saved persitently. (command
-<em>allow_session_cookie_tmp</em>,
-aliases:
-<em>tcookie</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]yy</strong>
-</dt>
-<dd>
-<p>
-Yank the url of tab n or of current tab if n is omitted to clipboard
-(command
-<em>yank</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>yY</strong>
-</dt>
-<dd>
-<p>
-Yank the url of tab n or of current tab if n is omitted to primary
-selection (command <em>yank_primary</em>, aliases: <em>pyank</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>yt</strong>
-</dt>
-<dd>
-<p>
-Yank the title of tab n or of current tab if n is omitted to clipboard
-(command <em>yank_title</em>, aliases: <em>tyank</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>yT</strong>
-</dt>
-<dd>
-<p>
-Yank the title of tab n or of current tab if n is omitted to primary
-selection (command <em>yank_title_primary</em>, aliases: <em>tpyank</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>pp</strong>
-</dt>
-<dd>
-<p>
-Paste from clipboard (command <em>paste</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>pP</strong>
-</dt>
-<dd>
-<p>
-Paste from primary selection (command <em>paste_primary</em>, aliases: <em>ppaste</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Pp</strong>
-</dt>
-<dd>
-<p>
-Paste from clipboard and load in a new tab (command <em>tab_paste</em>, aliases: <em>tpaste</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>PP</strong>
-</dt>
-<dd>
-<p>
-Paste from primary selection and load in a new tab (command <em>tab_paste_primary</em>,
-aliases: <em>tppaste</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wp</strong>
-</dt>
-<dd>
-<p>
-Paste from clipboard and load in a new window (command <em>paste_nw</em>, aliases:
-<em>winpaste</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>wP</strong>
-</dt>
-<dd>
-<p>
-Paste from primary selection and load in a new window (command
-<em>paste_primary_nw</em>, aliases: <em>winppaste</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]ad</strong>
-</dt>
-<dd>
-<p>
-Cancel the download with number n or the first download in the lists of running
-downloads if n is omitted. (command <em>cancel_download</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gs</strong>
-</dt>
-<dd>
-<p>
-Add a searchengine. Textfields can be chosen with tab and a keyword must be
-specified. The first defined searchengine will be the default searchengine. The
-keyword can be used in all open commands, e.g.
-<em>:open <keyword> <searchterm></em> (command <em>save_search_field</em>, aliases: <em>search</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>gd</strong>
-</dt>
-<dd>
-<p>
-Download the current site. (command <em>download</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Sb</strong>
-</dt>
-<dd>
-<p>
-Show bookmarks (command <em>show_bookmarks</em>, aliases: <em>sbookmarks</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Sq</strong>
-</dt>
-<dd>
-<p>
-Show quickmarks (command <em>show_quickmarks</em>, aliases: <em>squickmarks</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Sh</strong>
-</dt>
-<dd>
-<p>
-Show history (command <em>show_history</em>, aliases: <em>shistory</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Sd</strong>
-</dt>
-<dd>
-<p>
-Show download (command <em>show_downloads</em>, aliases: <em>sdownloads</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Sk</strong>
-</dt>
-<dd>
-<p>
-Show keys (command <em>show_keys</em>, aliases: <em>skeys</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Ss</strong>
-</dt>
-<dd>
-<p>
-Show settings (command <em>show_settings</em>, aliases: <em>ssettings</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ss</strong>
-</dt>
-<dd>
-<p>
-Set setting, the interactive version of the command set, for changing settings
-in scripts use set instead (command <em>set_setting</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>sl</strong>
-</dt>
-<dd>
-<p>
-Set local setting, changes a setting but doesn’t save the setting to
-configuration file. The interactive version of the command local_set, for
-changing settings locally in scripts use local_set instead
-(command <em>set_local_setting</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>sk</strong>
-</dt>
-<dd>
-<p>
-Set keyboard shortcut (command <em>set_key</em>, aliases: <em>keys</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-p</strong>
-</dt>
-<dd>
-<p>
-Toggle proxy (command <em>proxy</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tsh</strong>
-</dt>
-<dd>
-<p>
-Toggle scripts for current host permanently (command <em>toggle_scripts_host</em>,
-aliases: <em>hscript</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tsu</strong>
-</dt>
-<dd>
-<p>
-Toggle scripts for current url permanently (command <em>toggle_scripts_uri</em>,
-aliases: <em>uscript</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tth</strong>
-</dt>
-<dd>
-<p>
-Toggle scripts for current host temporarily (command <em>toggle_scripts_host_tmp</em>,
-aliases: <em>thscript</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ttu</strong>
-</dt>
-<dd>
-<p>
-Toggle scripts for current url temporarily (command <em>toggle_scripts_uri_tmp</em>,
-aliases: <em>tuscript</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ph</strong>
-</dt>
-<dd>
-<p>
-Toggle plugins for current host permanently (command <em>toggle_plugins_host</em>,
-aliases: <em>hplugin</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>pu</strong>
-</dt>
-<dd>
-<p>
-Toggle plugins for current url permanently (command <em>toggle_plugins_uri</em>,
-aliases: <em>uplugin</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>pth</strong>
-</dt>
-<dd>
-<p>
-Toggle plugins for current host temporarily (command <em>toggle_plugins_host_tmp</em>,
-aliases: <em>thplugin</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ptu</strong>
-</dt>
-<dd>
-<p>
-Toggle plugins for current url temporarily (command <em>toggle_plugins_uri_tmp</em>,
-aliases: <em>tuplugin</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>V</strong>
-</dt>
-<dd>
-<p>
-Next navigation action will be opened in a new tab (command <em>new_tab</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>W</strong>
-</dt>
-<dd>
-<p>
-Next navigation action will be opened in a new window (command <em>new_win</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>eu</strong>
-</dt>
-<dd>
-<p>
-Show and execute userscripts (command <em>execute_userscript</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]wi</strong>
-</dt>
-<dd>
-<p>
-Show the webinspector of tab n or of current tab if n is omitted. Note that <em>enable-developer-extras</em> has to be set.
-(commmand <em>web_inspector</em>, aliases: <em>inspect</em>, <em>insp</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-e</strong>
-</dt>
-<dd>
-<p>
-Open external editor for current input/textarea (command
-<em>open_editor</em>, aliases: <em>editor</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>g.</strong>
-</dt>
-<dd>
-<p>
-Toggle hidden files when browsing local filesystem.
-(command <em>open_editor</em>, aliases: <em>editor</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>F11</strong>
-</dt>
-<dd>
-<p>
-Toggle fullscreen (command <em>fullscreen</em>, aliases: <em>fs</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>F12</strong>
-</dt>
-<dd>
-<p>
-Toggle presentation mode.
-(command <em>presentation_mode</em>, aliases: <em>present</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>xx</strong>
-</dt>
-<dd>
-<p>
-Toggle visibility of tabbar and statusbar. (command <em>toggle_bars</em>, aliases: <em>bars</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>xt</strong>
-</dt>
-<dd>
-<p>
-Toggle visibility of tabbar. (command <em>toggle_tabbar</em>, aliases: <em>tbar</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>xb</strong>
-</dt>
-<dd>
-<p>
-Toggle visibility of statusbar.
-(command <em>toggle_statusbar</em>, aliases: <em>sbar</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>xv</strong>
-</dt>
-<dd>
-<p>
-Toggle visibility of a tab.
-(command <em>visible</em>, aliases: <em>vis</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>[n]C-M-p</strong>
-</dt>
-<dd>
-<p>
-Print focused frame of tab n or of current tab if n is omitted.
-(command <em>print</em>, aliases: <em>ha</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>unbound</strong>
-</dt>
-<dd>
-<p>
-Execute a javascript snippet (command
-<em>execute_javascript</em>, aliases: <em>exja</em>, <em>js</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>unbound</strong>
-</dt>
-<dd>
-<p>
-Set a setting from commandline (command <em>set</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>unbound</strong>
-</dt>
-<dd>
-<p>
-Toggle a boolean setting from commandline (command <em>toggle_setting</em>, aliases:
-<em>toggle</em>, <em>tog</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>unbound</strong>
-</dt>
-<dd>
-<p>
-Load a html string. This command is mainly intended for use in userscripts (command
-<em>load_html</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>unbound</strong>
-</dt>
-<dd>
-<p>
-Load a html string in a new tab. This command is mainly intended for use in userscripts (command
-<em>load_html_tab</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>unbound</strong>
-</dt>
-<dd>
-<p>
-Execute a javascript snippet that uses the the internal javascript api. This
-command only works if the javascript interface is enabled, i.e. if there are
-scripts in $XDG_CONFIG_HOME/dwb/userscripts that use the api or if dwb is
-started with -S/--enable-scripts (command
-<em>eval</em>).
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>Tab (S-Tab)</strong>
-</dt>
-<dd>
-<p>
-In normal mode Tab shows the next (previous) shortcut, that matches the
-currently entered keysequence.
-When opening a url, the next (previous) item in command
-history, bookmarks or history will be completed. In hint mode the next (previous)
-hint will get focus. Tab also completes settings and shortcut-settings.
-When initiating a download, full paths (downloads and spawning programs) and
-binaries (spawning programs) in PATH will be completed.
-In command mode tab will complete builtin commands and urls if the command
-accepts an url.
-</p>
-</dd>
-</dl></div>
-</div>
-<div class="sect2">
-<h3 id="_textentry_shortcuts">Textentry shortcuts</h3>
-<div class="dlist"><dl>
-<dt class="hdlist1">
-<strong>C-h</strong>
-</dt>
-<dd>
-<p>
-Delete a single letter.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-w</strong>
-</dt>
-<dd>
-<p>
-Delete word back.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-e</strong>
-</dt>
-<dd>
-<p>
-Delete word forward.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-u</strong>
-</dt>
-<dd>
-<p>
-Delete to the beginning of the entry.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-i</strong>
-</dt>
-<dd>
-<p>
-Delete to the end of the entry.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-f</strong>
-</dt>
-<dd>
-<p>
-Move cursor one word forward.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-b</strong>
-</dt>
-<dd>
-<p>
-Move cursor one word back.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-j</strong>
-</dt>
-<dd>
-<p>
-Show next item in command history.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-k</strong>
-</dt>
-<dd>
-<p>
-Show previous item in command history.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-x</strong>
-</dt>
-<dd>
-<p>
-When initalizing a download, C-x toggles between choosing a file path and
-choosing a spawning application.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-g</strong>
-</dt>
-<dd>
-<p>
-Alternative shortcut for activate.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-c</strong>
-</dt>
-<dd>
-<p>
-Alternative shortcut for escape, the corresponding setting is
-.IR entry_escape .
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-p</strong>
-</dt>
-<dd>
-<p>
-Init local path completion.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-H</strong>
-</dt>
-<dd>
-<p>
-Init history completion.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-B</strong>
-</dt>
-<dd>
-<p>
-Init bookmark completion.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-I</strong>
-</dt>
-<dd>
-<p>
-Init input history completion.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-S</strong>
-</dt>
-<dd>
-<p>
-Init searchengine completion.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-U</strong>
-</dt>
-<dd>
-<p>
-Init userscript completion.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>C-p</strong>
-</dt>
-<dd>
-<p>
-Complete local path.
-</p>
-</dd>
-</dl></div>
-</div>
-<div class="sect2">
-<h3 id="_shortcut_syntax">Shortcut syntax</h3>
-<div class="paragraph"><p>All printable shortcuts are case sensitive, i.e. aH means press a then press
-shift, then press h. Shortcuts can be combined with a modifier, valid modifiers
-are <em>Control</em>, <em>Mod1</em>, <em>Mod4</em> and <em>Shift</em>
-where Shift can only be used with non printable keys such as F1, space, Tab, … .
-Non printable keys must be surrounded by @, e.g. "Control @F1@", Shift @space@.
-\ and @ itself must be escaped with \.</p></div>
-</div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="CUSTOM_COMMANDS">CUSTOM COMMANDS</h2>
-<div class="sectionbody">
-<div class="paragraph"><p>Custom commands are a sequence of dwb commands that can be bound to a shortcut.
-The syntax is</p></div>
-<div class="listingblock">
-<div class="content monospaced">
-<pre><shortcut>:<command>;;<command>;;...</pre>
-</div></div>
-<div class="paragraph"><p>where shortcut is the shortcut for the commandsequence, <strong>:</strong> may be escaped with <strong>\:</strong>
-and command is of the form</p></div>
-<div class="listingblock">
-<div class="content monospaced">
-<pre>[numerical modifier]<command or alias> [argument for the command]</pre>
-</div></div>
-<div class="paragraph"><p>for example</p></div>
-<div class="listingblock">
-<div class="content monospaced">
-<pre>Control W:tabopen http://example.com;; 150zoom</pre>
-</div></div>
-<div class="paragraph"><p>opens <a href="http://example.com">http://example.com</a> in a new tab and zooms to 150%.</p></div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="COMMAND_OVERVIEW">COMMAND OVERVIEW</h2>
-<div class="sectionbody">
-<table class="tableblock frame-all grid-all"
-style="
-width:100%;
-">
-<col style="width:33%;">
-<col style="width:33%;">
-<col style="width:33%;">
-<thead>
-<tr>
-<th class="tableblock halign-left valign-top" >Command </th>
-<th class="tableblock halign-left valign-top" >Alias </th>
-<th class="tableblock halign-left valign-top" >Description</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">allow_cookie</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">cookie</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Allow persistent cookies for current site</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">allow_session_cookie</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scookie</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Allow session cookies for currrent site</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">allow_session_cookie_tmp</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tcookie</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Allow session cookies for current site
- temporarily</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bookmark</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bma, bmark</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Bookmark current page</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bookmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bmas, bmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Show bookmarks</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">buffers</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bu</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Show all open tabs</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">cancel_download</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Cancel a download</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">clear_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">clear</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Clear tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">close_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">close</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Close tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">download</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Download current site</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">dump</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Write html of current website to a
- file or stdout if no argument is given</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">eval</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Execute a javascript snippet that
- uses the internal javascript api</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">execute_javascript</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">exja, js</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Execute a javascript snippet</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">execute_userscript</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Execute userscript</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">find_backward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bfind</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Find backward</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">find_backward_ic</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ibfind</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Find backward case sensitive</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">find_forward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ffind</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Find forward</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">find_forward_ic</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">iffind</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Find forward case sensitive</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">find_next</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">fnext</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Find next</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">find_previous</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">fprev</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Find previous</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">focus_input</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Focus next input</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">focus_next</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabnext</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Focus next tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">focus_prev</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabprev</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Focus previous tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">focus_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Focus nth tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">fullscreen</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">fs</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle fullscreen</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow hints</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_background</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">backhints, bhi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow hints in a background tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_clipboard</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">chints, chi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Save link location to clipboard</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_download</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">dhints, dhi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Download via hints</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_editable</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ehints, ehi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Focus editable elements</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_images</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ihints, ihi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow images</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_images_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">itabhints, ithi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow images in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_images_background</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ibackhints</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow images in a background tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_links</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">lhints, lhi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow links</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_primary</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">phints, phi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Save link location to primary
- selection</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_rapid</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">rhints, rhi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open new tabs in background
- rapidly</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_rapid_win</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">wrhints, wrhi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open new windows rapidly</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabhints, thi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow hints in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_url</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">uhints, uhi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Set hints url in commandline</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_url_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">utabhints, uthi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Set hints url in commandline,
- open in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_url_background</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ubackhints</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Set hints url in commandline,
- open in a background tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hints_win</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">winhints, whi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Follow hints in a new window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">history_back</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ba, back</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Go back</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">history_forward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">fo, forward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Go forward</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">insert_mode</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">i, insert</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Insert mode
- local_set Set a setting only for the running
- instance, don’t save it to the
- configuration file</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">lock_domain</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">dlock</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Lock tab to current domain</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">lock_uri</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ulock</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Lock tab to current uri</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">new_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open next navigation action in
- new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">new_win</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open next navigation action in
- new window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">only</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Close all tabs except for the
- current one</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">open</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">o</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open url</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">open_editor</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">editor</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open external editor for
- input/textarea.</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">open_url</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open, edit current url</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">paste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open from clipboard</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">paste_primary</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ppaste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open from primary selection</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">presentation_mode</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">present</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle presentation mode</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">print</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ha</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Print page</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">print_preview</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Show a print preview</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">protect</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">prot</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Protect/unprotect tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">proxy</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle proxy</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">quickmark</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">qmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open quickmark</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">quit</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">q</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Quit</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">reload</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">re</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Reload current page</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">reload_bookmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Reload bookmark file</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">reload_bypass_cache</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">refull</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Reload without using cached data</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">reload_quickmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Reload quickmark file</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">reload_userscripts</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Reload userscripts</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">save</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Save all configuration files</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">save_named_session</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">wqn</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Save current session with name</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">save_quickmark</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">qmark, quickmark</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Save a quickmark</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">save_search_field</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">search</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Add a new searchengine</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">save_session</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">wq</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Save current session</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_bottom</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bottom</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll to bottom of the page</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_down</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">down</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll down</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_halfpage_down</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">halfdown</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll one-half page down</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_halfpage_up</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">halfup</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll one-half page up</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_left</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">left</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll left</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_page_down</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">pagedown</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll one page down</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_page_up</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">pageup</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll one page up</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_right</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">right</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll right</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_top</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">top</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll to the top of the page</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">scroll_up</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">up</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Scroll up</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">sanitize</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Clears history and cookies,
- <em>sanitize history</em> only clears history
- <em>sanitize cookies</em> only clears cookies</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">set</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Set a setting</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">set_as_default</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Sets dwb as default application, if
- called with no arguments it will be
- set for all mimetypes listed in
- dwb.desktop, if the first argument is
- <em>mimetype</em> it will be set for all
- mimetypes given on commandline, if
- the first argument is <em>extension</em> it
- will be set for all filename
- extensions given on commandline</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">set_key</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">keys</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Set keybinding</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">set_local_setting</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Set a setting for the running instance
- interactively</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">set_setting</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Set a setting interactive</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">show_keys</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">skeys</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Show and modify keyboard
- configuration</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">show_settings</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ssettings</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Show and modify global properties</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">start_page</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">home</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open the default homepage</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">stop_loading</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">st, stop</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Stop loading current page</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_bookmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Show bookmarks, open in new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabdo</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Execute a command in all tabs</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_hist_back</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tba, tabback</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Go back in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_hist_forward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tfo, tabforward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Go forward in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_move</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabm</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Move tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_move_left</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabl</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Move tab left</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_move_right</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabr</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Move tab right</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_new</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open a new blank tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_paste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tpaste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open from clipboard in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_paste_primary</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tppaste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open from primary selection in a
- new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tab_quickmark</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabqmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open quickmark in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabopen</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">t, topen</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open in a new tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tabopen_url</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open in a new tab, edit current
- url</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_bars</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">bars</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle tabbar and statusbar</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_hidden_files</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hidden</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle hidden files in directory
- listings</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_plugins_host</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hplugin</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle plugin blocker for host</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_plugins_host_tmp</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tuplugin</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle plugin blocker for domain
- for this session</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_plugins_uri</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">uplugin</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle plugin blocker for uri</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_plugins_uri_tmp</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tuplugin</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle plugin blocker for uri for
- this session</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_scripts_host</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">hscript</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle scripts for current domain</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_scripts_host_tmp</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">thscript</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle scripts for current host
- for this session</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_scripts_uri</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">uscript</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle scripts for current uri</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_scripts_uri_tmp</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tuscript</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle scripts for current uri
- for this session</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_setting</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tog, toggle</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle a setting</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_local_setting</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">loctog</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle a setting for the current
- session</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_statusbar</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">sbar</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle statusbar</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_tab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">ttab</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle between current and last tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">toggle_tabbar</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tbar</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle tabbar</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">undo</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">u</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Undo closing last tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">view_source</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">so, source</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">View page source</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">visible</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">vis</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Toggle visibility of a tab</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">web_inspector</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">insp, inspect</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open the webinspector</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">win_bookmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">winmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Show bookmarks, open in new
- window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">win_hist_back</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">wba, winback</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Go back in a new window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">win_hist_forward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">wfo, winforward</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Go forward in a new window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">win_paste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">wpaste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open from clipboard in a new
- window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">win_paste_primary</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">wppaste</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open primary selection in a new
- window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">win_quickmark</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">winqmarks</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open quickmark in a new window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">winopen</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">w, wopen</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open in a new window</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">winopen_url</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Open in a new window, edit
- current url</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">yank</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Yank url to clipboard</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">yank_primary</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">pyank</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Yank url to primary selection</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">yank_title</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tyank</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Yank title to clipboard</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">yank_title_primary</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">tpyank</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Yank title to primary selection</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">zoom</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">z</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Zoom</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">zoom_in</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">zi</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Zoom in</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">zoom_out</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">zo</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">Zoom out</p></td>
-</tr>
-</tbody>
-</table>
-<div class="paragraph"><p>dwb can be customized in a web interface (command <em>show_settings</em>) or via command line (command
-<em>set_setting</em>). Modified settings will be saved in Modified settings will be
-saved in <em>~/.config/dwb/settings</em> when closing dwb. Shorcuts can also be
-modified in a web interface (command <em>show_keys</em>) or via command line (command
-<em>set_key</em>). Shortcuts will be saved in <em>$HOME/.config/dwb/keys</em>.</p></div>
-<div class="paragraph"><p>If a string value is set to <em>NULL</em> the default value will be used.</p></div>
-<div class="sect2">
-<h3 id="_webkit_builtin_settings">WebKit builtin settings</h3>
-<div class="dlist"><dl>
-<dt class="hdlist1">
-<strong>auto-load-images</strong>
-</dt>
-<dd>
-<p>
-Load images automatically. Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>auto-resize-window</strong>
-</dt>
-<dd>
-<p>
-Resize window through DOM-methods. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>auto-shrink-images</strong>
-</dt>
-<dd>
-<p>
-Automatically shrink standalone images to fit. Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>cursive-font-family</strong>
-</dt>
-<dd>
-<p>
-Default cursive font family used to display text. Possible values: a font
-description or NULL, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>custom-encoding</strong>
-</dt>
-<dd>
-<p>
-A custom encoding used for the webview. Possible values: encoding string or
-NULL, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>default-encoding</strong>
-</dt>
-<dd>
-<p>
-The default encoding used to display text. Possible values: encoding string or
-NULL, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>default-font-family</strong>
-</dt>
-<dd>
-<p>
-The default font family used to display text. Possible values: a font
-description or NULL, default value:
-<em>sans-serif</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>default-font-size</strong>
-</dt>
-<dd>
-<p>
-The default font size used to display text. Possible values: a font size
-(integer), default value:
-<em>12</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>default-monospace-font-size</strong>
-</dt>
-<dd>
-<p>
-The default font size used to display monospace text. Possible values: a font size
-(integer), default value: <em>10</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>editable</strong>
-</dt>
-<dd>
-<p>
-Whether the content of a webpage should be editable. Possible values:
-true/false, default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-accelerated-compositing</strong>
-</dt>
-<dd>
-<p>
-Whether to enable gpu accelerated compositing. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-caret-browsing</strong>
-</dt>
-<dd>
-<p>
-Whether to enable caret browsing. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-default-context-menu</strong>
-</dt>
-<dd>
-<p>
-Whether right-clicks open a context menu. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-dns-prefetching</strong>
-</dt>
-<dd>
-<p>
-Whether webkit prefetches domain names.
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-developer-extras</strong>
-</dt>
-<dd>
-<p>
-Whether the web-inspector should be enabled. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-dom-paste</strong>
-</dt>
-<dd>
-<p>
-Whether enable DOM-paste. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-frame-flattening</strong>
-</dt>
-<dd>
-<p>
-Whether to enable the Frame Flattening. With this setting each subframe is expanded
-to its contents, which will flatten all the frames to become one scrollable page.
-Whether file uris can be accessed. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-file-access-from-file-uris</strong>
-</dt>
-<dd>
-<p>
-Whether file uris can be accessed. Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-html5-database</strong>
-</dt>
-<dd>
-<p>
-Whether to enable HTML5 client-side SQL database support.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-html5-local-storage</strong>
-</dt>
-<dd>
-<p>
-Whether to enable HTML5 localStorage support.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-java-applet</strong>
-</dt>
-<dd>
-<p>
-Whether to enable Java <applet>-tag.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-offline-web-application-cache</strong>
-</dt>
-<dd>
-<p>
-Enable or disable HTML5 offline web application cache support.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-page-cache</strong>
-</dt>
-<dd>
-<p>
-Enable or disable page cache.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-plugins</strong>
-</dt>
-<dd>
-<p>
-Enable or disable embedded plugins.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-private-browsing</strong>
-</dt>
-<dd>
-<p>
-Enable or disable private browsing.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-scripts</strong>
-</dt>
-<dd>
-<p>
-Enable or disable embedded scripting-languages.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-site-specific-quirks</strong>
-</dt>
-<dd>
-<p>
-Enables the site-specific compatibility workarounds.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-spatial-navigation</strong>
-</dt>
-<dd>
-<p>
-Whether to enable the Spatial Navigation. This feature consists in the ability
-to navigate between focusable elements in a Web page, such as hyperlinks and
-form controls, by using Left, Right, Up and Down arrow keys.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-spell-checking</strong>
-</dt>
-<dd>
-<p>
-Whether to enable spell checking.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-universal-access-from-file-uris</strong>
-</dt>
-<dd>
-<p>
-Whether to allow files loaded through file:// URIs universal access to all pages.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-webgl</strong>
-</dt>
-<dd>
-<p>
-Whether to enable the webgl on pages. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-xss-auditor</strong>
-</dt>
-<dd>
-<p>
-Whether to enable the XSS Auditor. This feature filters some kinds of reflective
-XSS attacks on vulnerable web sites.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enforce-96-dpi</strong>
-</dt>
-<dd>
-<p>
-Enforce a resolution of 96 DPI.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>fantasy-font-family</strong>
-</dt>
-<dd>
-<p>
-Default fantasy font family used to display text. Possible values: a font description or
-NULL, default value: <em>serif</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>javascript-can-access-clipboard</strong>
-</dt>
-<dd>
-<p>
-Whether javascript can access Clipboard.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>full-content-zoom</strong>
-</dt>
-<dd>
-<p>
-Whether the full content is scaled when zooming.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>javascript-can-open-windows-automatically</strong>
-</dt>
-<dd>
-<p>
-Whether JavaScript can open popup windows automatically without user intervention.
-Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>minimum-font-size</strong>
-</dt>
-<dd>
-<p>
-The minimum font size used to display text. Possible values: a font size
-(integer), default value: <em>5</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>minimum-logical-font-size</strong>
-</dt>
-<dd>
-<p>
-The minimum logical font size used to display text. Possible values: a font size
-(integer), default value: <em>5</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>monospace-font-family</strong>
-</dt>
-<dd>
-<p>
-Default font family used to display monospace text. Possible values: a font description or
-NULL, default value: <em>monospace</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>print-backgrounds</strong>
-</dt>
-<dd>
-<p>
-Whether background images should be printed.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>resizable-text-areas</strong>
-</dt>
-<dd>
-<p>
-Whether text areas are resizable.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>sans-serif-font-family</strong>
-</dt>
-<dd>
-<p>
-Default sans-serif font family used to display text. Possible values: a font description or
-NULL, default value:
-<em>sans-serif</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>serif-font-family</strong>
-</dt>
-<dd>
-<p>
-Default serif font family used to display text. Possible values: a font description or
-NULL, default value: <em>serif</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>spell-checking-language</strong>
-</dt>
-<dd>
-<p>
-The languages to be used for spell checking, separated by commas. Possible
-values: a string or NULL, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-cycles-through-elements</strong>
-</dt>
-<dd>
-<p>
-Whether the tab key cycles through elements on the page.
-Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>user-agent</strong>
-</dt>
-<dd>
-<p>
-The user-agent-string. Possible values: a user-agent or
-NULL, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>user-stylesheet-uri</strong>
-</dt>
-<dd>
-<p>
-The URI of a stylesheet that is applied to every page. If a local file is used,
-must start with file://. Possible values: an
-uri-string or NULL, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>zoom-level</strong>
-</dt>
-<dd>
-<p>
-The zoom level of the content. Possible values: a decimal,
-default value:
-<em>1.0</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>zoom-step</strong>
-</dt>
-<dd>
-<p>
-The value by which the zoom level is changed when zooming in or out. Possible
-values: a decimal,
-default value:
-<em>0.1</em>.
-</p>
-</dd>
-</dl></div>
-</div>
-<div class="sect2">
-<h3 id="_other_settings">Other settings</h3>
-<div class="dlist"><dl>
-<dt class="hdlist1">
-<strong>accept-language</strong>
-</dt>
-<dd>
-<p>
-If set it will be used to set <em>Accept-Language</em> header for all requests,
-default value:
-<em>NULL</em>
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>active-completion-bg-color</strong>
-</dt>
-<dd>
-<p>
-The background color for an active element in tab-completion. Possible values:
-an rgb color-string,
-default value:
-<em>#000000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>active-completion-fg-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color for an active element in tab-completion. Possible values:
-an rgb color-string.
-default value:
-<em>#53868b</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>adblocker</strong>
-</dt>
-<dd>
-<p>
-Block advertisements using a filterlist, see also
-.IR adblocker-filterlist .
-Default value:
-<em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>adblocker-filterlist</strong>
-</dt>
-<dd>
-<p>
-A path to a adblock plus compatible filterlist for the adblocker or a path to a
-directory with filterlists.
-Default value:
-<em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>addressbar-dns-lookup</strong>
-</dt>
-<dd>
-<p>
-Whether to perform a dns lookup for text typed into the address bar. If set to
-true dwb performs a dns lookup for all text that does not have a valid scheme
-and does not contain whitespaces. Default value: false.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>background-color</strong>
-</dt>
-<dd>
-<p>
-The background color of the statusbar. Possible values: an rgb color-string,
-default value:
-<em>#000000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>bars-padding</strong>
-</dt>
-<dd>
-<p>
-Padding of the status, download, completion and tab bars, default value: 0.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>auto-completion</strong>
-</dt>
-<dd>
-<p>
-Whether possible keystrokes should be shown. (Shift-) Tab cycles through keystrokes.
-Possible values: true/false,
-default value:
-<em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>auto-insert-mode</strong>
-</dt>
-<dd>
-<p>
-Whether to go automatically in insert mode if an editable element has focus
-after loading a site.
-Possible values: true/false,
-default value:
-<em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>background-tabs</strong>
-</dt>
-<dd>
-<p>
-Open new tabs in background.
-Possible values: true/false,
-default value:
-<em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>cache-model</strong>
-</dt>
-<dd>
-<p>
-The cache model used by webkit, possible values are <em>webbrowser</em> and
-<em>documentviewer</em>. Webbrowser increases loading speed but increases memory
-usage, documentviewer reduces memory usage but also decreases browsing speed.
-Default Value: <em>webbrowser</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>close-last-tab-policy</strong>
-</dt>
-<dd>
-<p>
-Behaviour when the last tab is closed, possible values are <em>ignore</em>, <em>clear</em> and
-<em>close</em>; default value: <em>ignore</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>close-tab-focus-policy</strong>
-</dt>
-<dd>
-<p>
-Controls the focus when the focused tab is closed, possible values are <em>right</em>,
-<em>left</em>, <em>rightmost</em>, and <em>leftmost</em>; default value: <em>right</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>complete-bookmarks</strong>
-</dt>
-<dd>
-<p>
-Whether to complete bookmarks with tab-completion. Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>complete-history</strong>
-</dt>
-<dd>
-<p>
-Whether to complete browsing history with tab-completion. Possible values:
-true/false, default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>complete-searchengines</strong>
-</dt>
-<dd>
-<p>
-Whether to complete searchengines with tab-completion. Possible values:
-true/false, default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>complete-userscripts</strong>
-</dt>
-<dd>
-<p>
-Whether to complete userscripts with tab-completion. Possible values:
-true/false, default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>cookies-store-policy</strong>
-</dt>
-<dd>
-<p>
-The storage policy for cookies, possible values are <em>session</em>, <em>persistent</em>, and
-<em>never</em>. If set to session all session cookies are accepted, only cookies with
-a matching domain in cookies.allow will be stored persistently. If set to
-<em>persistent</em> all cookies are stored persistently. If set to <em>never</em> the cookies
-allowed by cookies_session.allow are allowed for the current session and cookies
-allowed by cookies.allow are save persistently, all other cookies are rejected.
-Default value: <em>session</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>cookies-accept-policy</strong>
-</dt>
-<dd>
-<p>
-The accept policy for cookies. <em>always</em> will accept all cookies, <em>nothirdparty</em>
-will accept all cookies except for third party cookies, <em>never</em> will reject all
-cookies. This setting also affects session cookies. default value: <em>always</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>default-width</strong>
-</dt>
-<dd>
-<p>
-The default width of dwb’s window. Possible values: width in pixel,
-default value: <em>800</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>default-height</strong>
-</dt>
-<dd>
-<p>
-The default height of dwb’s window. Possible values: height in pixel,
-default value: <em>600</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>do-not-track</strong>
-</dt>
-<dd>
-<p>
-Whether to add do-not-track flag on request headers, default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-fg-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color of the download bar, default value: <em>#ffffff</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-bg-color</strong>
-</dt>
-<dd>
-<p>
-The background color of the download bar, default value:
-<em>#000000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-gradient-start</strong>
-</dt>
-<dd>
-<p>
-The start color for the download progress gradient color, default value
-<em>#0000aa</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-gradient-stop</strong>
-</dt>
-<dd>
-<p>
-The end color for the download progress gradient color, default value
-<em>#00aa00</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-external-command</strong>
-</dt>
-<dd>
-<p>
-A command that will be invoked if <em>download-use-external-program</em> is set. There
-are four variables that can be used in the command: <em>dwb_uri</em> will be replaced
-with the download-uri, <em>dwb_output</em> will be replaced with the fullpath of the
-destination, <em>dwb_cookies</em> will be replaced with the path to the cookie-file,
-<em>dwb_referer</em> will be replaced with the uri of the site the download started,
-dwb_proxy will be replaced with the proxy url if dwb uses a proxy.
-Additionally the environment-variables <em>DWB_URI</em>, <em>DWB_FILENAME</em>, <em>DWB_COOKIES</em>,
-<em>DWB_REFERER</em>, <em>DWB_MIME_TYPE</em>, <em>DWB_PROXY</em> and <em>DWB_USER_AGENT</em> are set. Default value:
-<em>xterm -e wget dwb_uri -O dwb_output --load-cookies dwb_cookies</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-directory</strong>
-</dt>
-<dd>
-<p>
-The default download directory, if empty, the current working directory is used
-or the last download path is used. default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-no-confirm</strong>
-</dt>
-<dd>
-<p>
-Whether to start downloads immediately without asking for a path,
-<em>download-directory</em> needs to be set to an existing path. default value:
-<em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>download-use-external-program</strong>
-</dt>
-<dd>
-<p>
-Whether to use an external download program specified in
-'download-external-programm\' or the builtin download helper. Possible values:
-true/false, default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>editor</strong>
-</dt>
-<dd>
-<p>
-External editor used for inputs/textareas.
-default value:
-<em>xterm -e vim dwb_uri</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>enable-favicon</strong>
-</dt>
-<dd>
-<p>
-Whether to show a favicon in the tab.
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>error-color</strong>
-</dt>
-<dd>
-<p>
-The color for error-messages. Possible values: an rgb color-string,
-default value: <em>#ff0000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>error-color</strong>
-</dt>
-<dd>
-<p>
-The color for prompt-messages. Possible values: an rgb color-string,
-default value: <em>#00ff00</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>file-sync-interval</strong>
-</dt>
-<dd>
-<p>
-Interval in seconds to save history, cookies or session to hdd or 0 to
-immediately save, see also <strong>sync-files</strong>,
-default value: 120.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>font</strong>
-</dt>
-<dd>
-<p>
-The font used for the ui. Possible values: a font description
-string, default value:
-<em>monospace 8</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>font-completion</strong>
-</dt>
-<dd>
-<p>
-The font used for tabcompletion. Possible values: a font description
-string.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>font-entry</strong>
-</dt>
-<dd>
-<p>
-The font used for the address bar. Possible values: a font description
-string.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>font-hidden-statusbar</strong>
-</dt>
-<dd>
-<p>
-The font used for status elements if the statusbar is hidden. Possible values: a
-css font description. Default value: 'normal’10px helvetica .
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>font-nofocus</strong>
-</dt>
-<dd>
-<p>
-The font used for tablabels without focus and completion items without focus. Possible values: a font description
-string.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>foreground-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color of statusbar. Possible values: an rgb color-string.
-default value:
-<em>#ffffff</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-active-color</strong>
-</dt>
-<dd>
-<p>
-The background color for active link, i.e. the link followed when Return is
-pressed. Possible values: a rgb color string, default value: <em>#00ff00</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-autofollow</strong>
-</dt>
-<dd>
-<p>
-Whether to follow hints automatically if only one hint matches the typed
-letters. Default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-bg-color</strong>
-</dt>
-<dd>
-<p>
-The background color used for hints. Possible values: a rgb color string,
-default value: <em>#000088</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-border</strong>
-</dt>
-<dd>
-<p>
-The boreder used for hints. Possible values: a css border description,
-default value:
-<em>2px dashed #000000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-fg-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color used for hints. Possible values: a rgb color string,
-default value: <em>#ffffff</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-font</strong>
-</dt>
-<dd>
-<p>
-The font used for hints. Possible values: css font description,
-default value:
-<em>bold 10px monospace</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-highlight-links</strong>
-</dt>
-<dd>
-<p>
-Whether to highlight all links in hint-mode,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-letter-seq</strong>
-</dt>
-<dd>
-<p>
-A letter sequence used for letter hints. Possible values: a letter sequence,
-every letter should appear only once. Default value: <em>FDSARTGBVECWXQYIOPMNHZULKJ</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-normal-color</strong>
-</dt>
-<dd>
-<p>
-The background color for a normal link. Possible values: a rgb color string,
-default value: <em>#ffff99</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-opacity</strong>
-</dt>
-<dd>
-<p>
-The opacity of a hint. Possible values: a decimal from 0.0 to 1.0,
-default value: <em>0.75</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hint-style</strong>
-</dt>
-<dd>
-<p>
-The type of hints, that are used. When set to "number", letters will match the
-links text. Possible values: letter/number, default value: <em>letter</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>hints-key-lock</strong>
-</dt>
-<dd>
-<p>
-Timeout in milliseconds all keypresses are ignored after following a hint,
-default value: 250
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>history-length</strong>
-</dt>
-<dd>
-<p>
-The urls that are saved in the browsing history. Specifying a too large value
-can make tab-completion slow. Possible values: number of urls,
-default value: <em>500</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>javascript-schemes</strong>
-</dt>
-<dd>
-<p>
-Whether to allow loading javascript snippets with scheme <em>javascript</em>,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>load-on-focus</strong>
-</dt>
-<dd>
-<p>
-Whether to defer loading of a tab until a tab is focused, especially
-useful on startup and with slow internet connections, default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>max-visible-completions</strong>
-</dt>
-<dd>
-<p>
-The maximum number of visible completions, default value: <em>11</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>message-delay</strong>
-</dt>
-<dd>
-<p>
-The duration messages are shown. Possible values: duration in seconds (integer),
-default value: <em>2</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>navigation-history-max</strong>
-</dt>
-<dd>
-<p>
-Maximum length of navigation history. <em>enable-private-browsing</em> must be disabled to
-save command history at all. default value: <em>500</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>new-tab-position-policy</strong>
-</dt>
-<dd>
-<p>
-Controls the position of a newly created tab, possible values are <em>right</em>,
-a new tab is created right of the current tab, <em>left</em>, a new tab is created left
-of the current tab, <em>rightmost</em>, a new tab is created left of the last tab and
-<em>leftmost</em>, a new tab is created left of the first tab. Default value: <em>right</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>normal-completion-bg-color</strong>
-</dt>
-<dd>
-<p>
-The background color of inactive element in tab-completion. Possible values: an
-rgb color-string, default value: <em>#151515</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>normal-completion-fg-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color of inactive element in tab-completion. Possible values: an rgb color-string.
-color-string, default value: <em>#eeeeee</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>passthrough-keys</strong>
-</dt>
-<dd>
-<p>
-Keysstrokes that will be passed to the website, <strong>webkit</strong> means only webkit builtin
-shortcuts will be passed through, <strong>all</strong> means all will be passed through, <strong>none</strong>
-means no keystrokes will be passed through, default value: <em>webkit</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>print-previewer</strong>
-</dt>
-<dd>
-<p>
-Program used for printing previews, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>private-color</strong>
-</dt>
-<dd>
-<p>
-Statusbar color used when private browsing is enabled, default value: <em>#505050</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>proxy</strong>
-</dt>
-<dd>
-<p>
-Whether to use a HTTP-proxy. Possible values: true/false,
-default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>proxy-url</strong>
-</dt>
-<dd>
-<p>
-The proxy-url, can also be set via the http_proxy environment variable. Possible
-values: an url string, default value: <em>NULL</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>save-session</strong>
-</dt>
-<dd>
-<p>
-Save the session when dwb is closed and restore the last saved session when
-invoking dwb. Possible values: true/false, default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>scheme-handler</strong>
-</dt>
-<dd>
-<p>
-A script or application that handles uris that cannot be loaded by dwb. dwb only
-loads uris with scheme <em>http</em>, <em>https</em>, <em>file</em>, <em>about</em> and <em>dwb</em>; support for
-e.g. ftp is provided through a scheme handler. The scheme handler can either be
-an application or a script. The first command line argument will be the uri for
-your application, so you can simply set this to <em>xdg-open</em>. There are also the
-environment variables <em>DWB_URI</em>, <em>DWB_SCHEME</em>, <em>DWB_COOKIES</em>, <em>DWB_USER_AGENT</em>,
-and <em>DWB_REFERER</em> available which can be used in a script, for example:
-</p>
-</dd>
-</dl></div>
-<div class="listingblock">
-<div class="content monospaced">
-<pre>#!/bin/sh
-
-case ${DWB_SCHEME} in
- mailto) xterm -e "mutt ${DWB_URI}";;
- ftp) xterm -e "ncftp ${DWB_URI}";;
- *) xdg-open ${DWB_URI}
-esac</pre>
-</div></div>
-<div class="dlist"><dl>
-<dt class="hdlist1">
-<strong>show-single-tab</strong>
-</dt>
-<dd>
-<p>
-Whether to show the tabbar if only one tab is open, default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>searchengine-submit-pattern</strong>
-</dt>
-<dd>
-<p>
-The pattern which will be replaced with the search terms.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>scroll-step</strong>
-</dt>
-<dd>
-<p>
-The step-increment in pixels for scrolling. If set to a value lower or equal 0,
-the default step-increment will be used. default value: <em>0.0</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>scrollbars</strong>
-</dt>
-<dd>
-<p>
-Whether scrollbars should be enabled. default value: <em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>single-instance</strong>
-</dt>
-<dd>
-<p>
-Only one instance of dwb per user. This option will be overridden by the
-commandlineoption \(hyn. Possible values: true/false,
-default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ssl-strict</strong>
-</dt>
-<dd>
-<p>
-Whether to allow only save ssl-certificates. default value: <em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ssl-ca-cert</strong>
-</dt>
-<dd>
-<p>
-Path to ssl-certificate, only with libsoup < 2.38.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ssl-use-system-ca-cert</strong>
-</dt>
-<dd>
-<p>
-Path to ssl-certificate, only with libsoup >= 2.38.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ssl-trusted-color</strong>
-</dt>
-<dd>
-<p>
-Color of the url in the statusbar for ssl-encrypted sites and trusted
-certificate. default value: <em>#00ff00</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>ssl-untrusted-color</strong>
-</dt>
-<dd>
-<p>
-Color of the url in the statusbar for ssl-encrypted sites and untrusted
-certificate. default value: <em>#ff0000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>startpage</strong>
-</dt>
-<dd>
-<p>
-The default startpage. Possible values: an url or "about:blank" for an empty
-startpage, default value: <em>about:blank</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>sync-files</strong>
-</dt>
-<dd>
-<p>
-Type of files to sync, see also <strong>file-sync-interval</strong>.
-Possible values are <em>all</em>, <em>cookies</em>, <em>history</em>, <em>session</em> or a combination,
-default value: <em>all</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tabbar-visible</strong>
-</dt>
-<dd>
-<p>
-When the tabbar is hidden specifies the number of seconds the tabbar is visible
-when switching between tabs, default value: <em>2</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-active-bg-color</strong>
-</dt>
-<dd>
-<p>
-The background color the tab of the focused tab. Possible values: an rgb
-color-string, default value: <em>#000000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-active-fg-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color of the tab of the focused tab. Possible values: an rgb
-color-string, default value: <em>#ffffff</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-normal-bg-color</strong>
-</dt>
-<dd>
-<p>
-The background color the tab of a not focused tab. Possible values: an rgb
-color-string, default value: <em>#505050</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-normal-fg-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color of the tab of a not focused tab. Possible values: an rgb
-color-string, default value: <em>#cccccc</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-normal-fg-color</strong>
-</dt>
-<dd>
-<p>
-The foreground color of the tab of a not focused tab. Possible values: an rgb
-color-string, default value: <em>#cccccc</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-protected-color</strong>
-</dt>
-<dd>
-<p>
-The color of the tabnumber of protected tabs. Possible values: an rgb color-string,
-default value: <em>#ff0000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tab-number-color</strong>
-</dt>
-<dd>
-<p>
-The color of the tabnumber. Possible values: an rgb color-string,
-default value: <em>#ff0000</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>tabbed-browsing</strong>
-</dt>
-<dd>
-<p>
-Enable tabbed-browsing. If disabled, all new window/new tab requests will be
-opened in a new window,
-default value:
-<em>true</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>update-search-delay</strong>
-</dt>
-<dd>
-<p>
-Delay in milliseconds before updating search results. If set to 0 search results
-will be updated after every keypress. If set to a value greater than 0 search
-results will be updated after that delay but only if the search-term has not
-changed since the timeout started. It is recommended to set this value greater
-than 0, default value: <em>200</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>use-ntlm</strong>
-</dt>
-<dd>
-<p>
-Whether to use NTLM-authentication,
-default value:
-<em>false</em>.
-</p>
-</dd>
-<dt class="hdlist1">
-<strong>widget-packing</strong>
-</dt>
-<dd>
-<p>
-A string consisting of 4 characters, where possible characters are: <em>d</em>, <em>w</em>,
-<em>T</em>, <em>t</em>, <em>S</em> and <em>s</em>. The order of the widgets correspond the the order of
-characters in the string where <em>d</em> corresponds to the download bar, <em>t</em> and <em>T</em>
-to the tab bar where <em>T</em> means that the tabbar will not be visible, <em>w</em> to the
-webview and <em>s</em> and <em>S</em> to the statusbar where <em>S</em> means that the statusbar
-won’t be visible. Default value: <em>dtws</em>.
-</p>
-</dd>
-</dl></div>
-</div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="FILES">FILES</h2>
-<div class="sectionbody">
-<div class="sect2">
-<h3 id="_userscripts">Userscripts</h3>
-<div class="paragraph"><p>Userscripts can be stored in
-<em>~/.config/dwb/userscripts</em>.
-The first argument of the script will be the current url, the second argument is
-the title, the third argument will be the profile name, the fourth argument is
-the numerical modifier and the fifth argument is a commandline argument. Also
-the variables
-<em>DWB_URI</em>,
-<em>DWB_TITLE</em>,
-<em>DWB_PROFILE</em>,
-<em>DWB_NUMMOD</em>,
-<em>DWB_ARGUMENT</em>,
-<em>DWB_REFERER</em>,
-and
-<em>DWB_USER_AGENT</em>
-are set.
-The keybinding for
-the script must be defined in the script itself in a commented line of the form
-<strong><comment symbols> dwb: <keybinding></strong>.</p></div>
-<div class="paragraph"><p>dwb also provides a small javascript api, scripts that use the api must have the
-special shebang <strong>#!javascript</strong> or start with <strong>//!javascript</strong> for details see
-also <a href="http://portix.bitbucket.org/dwb/api/">http://portix.bitbucket.org/dwb/api/</a> and <strong>dwb-js</strong>(7).</p></div>
-<div class="sect3">
-<h4 id="_examples">Examples</h4>
-<div class="paragraph"><p>The following script will download the current webpage:</p></div>
-<div class="listingblock">
-<div class="content monospaced">
-<pre>#!/bin/bash
-# dwb: Control w
-
-wget $DWB_URI</pre>
-</div></div>
-<div class="paragraph"><p>Popup an alert dialog:</p></div>
-<div class="listingblock">
-<div class="content monospaced">
-<pre>#!/bin/bash
-# dwb: Control h
-
-echo "js window.alert('Hello world');" > ${DWB_FIFO}</pre>
-</div></div>
-<div class="paragraph"><p>Block requests from specific sites:</p></div>
-<div class="listingblock">
-<div class="content monospaced">
-<pre>#!javascript
-
-var block = [ new RegExp("https://example.org.*"), new RegExp("https://example.co.uk.*") ];
-
-Signal.connect("resource", function(wv, frame, request) {
- for (var i=0, l=block.length; i<l; ++i)
- {
- if (block[i].test(request.uri))
- {
- request.uri = "about:blank";
- return true;
- }
- }
- return false;
-});</pre>
-</div></div>
-</div>
-</div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="_resources">RESOURCES</h2>
-<div class="sectionbody">
-<div class="paragraph"><p>bitbucket: <a href="http://bitbucket.org/portix/dwb">http://bitbucket.org/portix/dwb</a></p></div>
-<div class="paragraph"><p>homepage: <a href="http://portix.bitbucket.org/dwb/">http://portix.bitbucket.org/dwb/</a></p></div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="_see_also">SEE ALSO</h2>
-<div class="sectionbody">
-<div class="paragraph"><p><strong>dwbem</strong>(1) <strong>dwb-js</strong>(7)</p></div>
-</div>
-</div>
-</div>
-<div id="footnotes"><hr></div>
-<div id="footer">
-<div id="footer-text">
-Last updated 2013-04-10 12:26:46 CEST
-</div>
-</div>
-</body>
-</html>
diff --git a/doc/dwb.1.txt b/doc/dwb.1.txt index a5e3ce66..ecaab28b 100644 --- a/doc/dwb.1.txt +++ b/doc/dwb.1.txt @@ -56,6 +56,13 @@ OPTIONS $XDG_CONFIG_HOME/dwb/userscripts that use the javascript api this option is not needed. +*--set-as-default*:: +Sets dwb as default browser, if called with no arguments it will be set for all +mimetypes listed in dwb.desktop, if the first argument is 'mimetype' it will be +set for all succeding mimetypes, e.g. *dwb --set-as-default "mimetype text/html"* +if the first argument is 'extension' it will be set for all succeeding filename +extensions, e.g. *dwb --set-as-default "extension html htm"*. + *-x, --execute*='commands':: Execute a list of dwb commands separated by ';;', see <<CUSTOM_COMMANDS,'CUSTOM COMMANDS'>> @@ -826,15 +833,6 @@ COMMAND OVERVIEW 'sanitize history' only clears history 'sanitize cookies' only clears cookies |set | |Set a setting -|set_as_default | |Sets dwb as default application, if - called with no arguments it will be - set for all mimetypes listed in - dwb.desktop, if the first argument is - 'mimetype' it will be set for all - mimetypes given on commandline, if - the first argument is 'extension' it - will be set for all filename - extensions given on commandline |set_key |keys |Set keybinding |set_local_setting | |Set a setting for the running instance interactively diff --git a/src/application.c b/src/application.c index 8edc6ffc..acc5352c 100644 --- a/src/application.c +++ b/src/application.c @@ -19,11 +19,13 @@ #include <gtk/gtk.h> #include <sys/stat.h> #include <fcntl.h> +#include <stdlib.h> #include "dwb.h" #include "view.h" #include "session.h" #include "util.h" #include "scripts.h" +#include "application.h" #include <gio-unix-2.0/gio/gdesktopappinfo.h> static gboolean application_parse_option(const gchar *, const gchar *, gpointer , GError **); @@ -54,6 +56,7 @@ static GOptionEntry options[] = { { "execute", 'x', 0, G_OPTION_ARG_STRING_ARRAY, &s_opt_exe, "Execute commands", NULL}, { "version", 'v', 0, G_OPTION_ARG_NONE, &s_opt_version, "Show version information and exit", NULL}, { "enable-scripts", 'S', 0, G_OPTION_ARG_NONE, &s_opt_enable_scripts, "Enable javascript api", NULL}, + { "set-as-default", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, &application_parse_option, "Sets dwb as default browser", NULL}, { NULL, 0, 0, 0, NULL, NULL, NULL } }; static GOptionContext *option_context; @@ -403,14 +406,14 @@ application_start(GApplication *app, char **argv) g_application_hold(app); }/*}}}*/ -DwbStatus +static gboolean application_set_default(const char *text) { GDesktopAppInfo *info = g_desktop_app_info_new("dwb.desktop"); if (info == NULL) { dwb_set_error_message(dwb.state.fview, "No desktop file found"); - return STATUS_OK; + return false; } if (text == NULL || *text == '\0') { @@ -425,7 +428,7 @@ application_set_default(const char *text) char **token = g_strsplit(text, " ", -1); if (token[0] == NULL || token[1] == NULL) { - return STATUS_ERROR; + return false; } else if (!g_strcmp0(token[0], "mimetype")) { @@ -438,10 +441,10 @@ application_set_default(const char *text) g_app_info_set_as_default_for_extension(G_APP_INFO(info), token[i], NULL); } else - return STATUS_ERROR; + return false; } - return STATUS_OK; + return true; } static GOptionContext * /* application_get_option_context(void) {{{*/ @@ -459,6 +462,19 @@ application_get_option_context(void) static gboolean /* application_parse_option(const gchar *key, const gchar *value, gpointer data, GError **error) {{{*/ application_parse_option(const gchar *key, const gchar *value, gpointer data, GError **error) { + if (!g_strcmp0(key, "--set-as-default")) + { + if (!application_set_default(value)) + { + fprintf(stderr, "Invalid option for --set-as-default\n"); + exit(EXIT_FAILURE); + } + else + { + exit(EXIT_SUCCESS); + } + + } if (!g_strcmp0(key, "-r") || !g_strcmp0(key, "--restore")) { if (value != NULL) diff --git a/src/application.h b/src/application.h index d65a6b0c..7b5d128f 100644 --- a/src/application.h +++ b/src/application.h @@ -21,5 +21,4 @@ gint application_run(int, char **); void application_stop(void); -DwbStatus application_set_default(const char *text); #endif diff --git a/src/commands.c b/src/commands.c index edf37282..43d9def3 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1090,8 +1090,3 @@ commands_tabdo(KeyMap *km, Arg *arg) dwb_focus_view(current, "tabdo"); return STATUS_OK; } -DwbStatus -commands_set_as_default(KeyMap *km, Arg *arg) -{ - return application_set_default(arg->p); -} diff --git a/src/commands.h b/src/commands.h index 597b801d..59b09a6a 100644 --- a/src/commands.h +++ b/src/commands.h @@ -99,6 +99,5 @@ DwbStatus commands_reload_bookmarks(KeyMap *, Arg *); DwbStatus commands_reload_quickmarks(KeyMap *, Arg *); DwbStatus commands_print_preview(KeyMap *, Arg *); DwbStatus commands_tabdo(KeyMap *, Arg *); -DwbStatus commands_set_as_default(KeyMap *, Arg *); #endif diff --git a/src/config.h b/src/config.h index c3d7bca0..9643c639 100644 --- a/src/config.h +++ b/src/config.h @@ -188,14 +188,10 @@ static KeyValue KEYS[] = { { "reload_bookmarks", { NULL, 0, 0 }, }, { "reload_quickmarks", { NULL, 0, 0 }, }, { "print_preview", { NULL, 0, 0 }, }, - { "set_as_default", { NULL, 0, 0 }, }, }; /* FUNCTION_MAP{{{*/ static FunctionMap FMAP [] = { - { { "set_as_default", "Set dwb as default application", }, CP_COMMANDLINE | CP_DONT_CLEAN, - (Func)commands_set_as_default, "Invalid arguments", ALWAYS_SM, - { .p = NULL }, EP_NONE, { NULL }, }, { { "tabdo", "Execute a command in all tabs", }, CP_COMMANDLINE | CP_NEEDS_ARG, (Func)commands_tabdo, "Missing command", ALWAYS_SM, { .p = NULL }, EP_NONE, { NULL }, }, |