Update html pages

This commit is contained in:
2020-03-22 23:04:07 +01:00
parent 41dfef471c
commit 0db8735eed
7 changed files with 1039 additions and 1081 deletions

View File

@@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-03-19 jeu. 10:38 -->
<!-- 2020-03-22 dim. 23:03 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Qutebrowser Configuration</title>
@@ -201,28 +201,50 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
// @license-end
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
@@ -254,10 +276,10 @@
<ul>
<li><a href="#org6be4b76">Create a new password</a></li>
<li><a href="#orgd3cff42">Cast Youtube to Chromecast</a></li>
<li><a href="#org4b6d5f9">Add url to refile.org</a></li>
<li><a href="#orgb8e61c0">Password<sub>fill</sub><sub>rc</sub></a></li>
<li><a href="#org58d6993">Org-Capture</a></li>
<li><a href="#org63ffcb4">Add Url to Buku using Rofi</a></li>
<li><a href="#org0a503bf">Add Url to Buku without asking for information</a></li>
</ul>
</li>
</ul>
@@ -311,7 +333,7 @@
<h2 id="orgdefaa05">Editor</h2>
<div class="outline-text-2" id="text-orgdefaa05">
<div class="org-src-container">
<pre class="src src-python"><span class="org-variable-name">c.editor.command</span> = [<span class="org-string">'/usr/bin/termite'</span>, <span class="org-string">'-e'</span>, <span class="org-string">'nvim {}'</span>]
<pre class="src src-python"><span class="org-variable-name">c.editor.command</span> = [<span class="org-string">'/usr/bin/termite'</span>, <span class="org-string">'--class="Floating"'</span>, <span class="org-string">'-e'</span>, <span class="org-string">'nvim {}'</span>]
</pre>
</div>
</div>
@@ -604,7 +626,7 @@ Create a Password for the current website
</div>
<p>
Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>).
Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>)
</p>
<div class="org-src-container">
<pre class="src src-python">config.bind(<span class="org-string">',p'</span>, <span class="org-string">'spawn --userscript password_fill'</span>)
@@ -612,7 +634,7 @@ Use Pass to fill password and username (configuration is done in <code>~/.config
</div>
<p>
Open Youtube video using MPV
Open Youtube video using <code>mpv</code>
</p>
<div class="org-src-container">
<pre class="src src-python">config.bind(<span class="org-string">',m'</span>, <span class="org-string">'spawn --detach mpv --force-window yes {url}'</span>)
@@ -630,24 +652,16 @@ config.bind(<span class="org-string">',C'</span>, <span class="org-string">'hint
</div>
<p>
Add url to refile.org
Add page to Bookmarks using <code>buku</code>
</p>
<div class="org-src-container">
<pre class="src src-python">config.bind(<span class="org-string">',r'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/add-to-orgmode-refile.sh'</span>)
</pre>
</div>
<p>
Add page to Bookmarks
</p>
<div class="org-src-container">
<pre class="src src-python">config.bind(<span class="org-string">',b'</span>, <span class="org-string">'spawn buku -a {url}'</span>)
<pre class="src src-python">config.bind(<span class="org-string">',b'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-add.sh'</span>)
config.bind(<span class="org-string">',B'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-rofi.sh'</span>)
</pre>
</div>
<p>
Open bookmark using buku
Open bookmark using <code>buku</code>
</p>
<div class="org-src-container">
<pre class="src src-python">config.bind(<span class="org-string">',o'</span>, <span class="org-string">'spawn ~/bin/bukurun'</span>)
@@ -713,21 +727,6 @@ pass insert --multiline <span class="org-string">"</span><span class="org-string
</div>
</div>
<div id="outline-container-org4b6d5f9" class="outline-3">
<h3 id="org4b6d5f9">Add url to refile.org</h3>
<div class="outline-text-3" id="text-org4b6d5f9">
<p>
Add the date and time of add to properties.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">echo</span> <span class="org-string">"* </span><span class="org-bold"><span class="org-warning">TODO</span></span><span class="org-string"> </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> &gt;&gt; ~/Dropbox/org/refile.org
<span class="org-type">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> &gt;&gt; ~/Dropbox/org/refile.org
<span class="org-type">echo</span> <span class="org-string">"message-info 'Added to refile.org'"</span> &gt;&gt; <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_FIFO</span></span><span class="org-string">"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb8e61c0" class="outline-3">
<h3 id="orgb8e61c0">Password<sub>fill</sub><sub>rc</sub></h3>
<div class="outline-text-3" id="text-orgb8e61c0">
@@ -784,7 +783,17 @@ Add the date and time of add to properties.
<pre class="src src-bash"><span class="org-variable-name">title</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> | rofi -p <span class="org-string">"Title"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-variable-name">tags</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">buku</span> -t --nc --np | sed -e <span class="org-string">'s/\s*[[:digit:]]*\.\s*\(.*\)\s*([[:digit:]]*)\s*/\1/'</span> -e <span class="org-string">'/^\s*$/d'</span> | sort | uniq | rofi -p <span class="org-string">"Tags"</span> -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> --tag <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">tags</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">title</span></span><span class="org-string">"</span>
buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> --tag <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">tags</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">title</span></span><span class="org-string">"</span> &amp;&amp; dunstify <span class="org-string">"Buku"</span> <span class="org-string">"&#128209; Bookmark Added"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org0a503bf" class="outline-3">
<h3 id="org0a503bf">Add Url to Buku without asking for information</h3>
<div class="outline-text-3" id="text-org0a503bf">
<div class="org-src-container">
<pre class="src src-bash">buku --add $<span class="org-variable-name">QUTE_URL</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> &amp;&amp; dunstify <span class="org-string">"Buku"</span> <span class="org-string">"&#128209; Bookmark Added"</span>
</pre>
</div>
</div>
@@ -793,7 +802,7 @@ buku --add <span class="org-string">"</span><span class="org-string"><span class
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-03-19 jeu. 10:38</p>
<p class="date">Created: 2020-03-22 dim. 23:03</p>
</div>
</body>
</html>