Update HTML

This commit is contained in:
Thomas Dehaeze 2020-03-01 22:51:16 +01:00
parent 12acc0ff56
commit 9d92507b7f
21 changed files with 3190 additions and 4731 deletions

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-12 dim. 17:28 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Desktop file for the applications</title> <title>Desktop file for the applications</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -260,16 +238,13 @@ for the JavaScript code in this tag.
<ul> <ul>
<li><a href="#org3781e6a">Mime Applications</a></li> <li><a href="#org3781e6a">Mime Applications</a></li>
<li><a href="#org40d2ff7">Neomutt</a></li> <li><a href="#org40d2ff7">Neomutt</a></li>
<li><a href="#org12f6658">Zathura</a></li>
<li><a href="#orgfba702e">Weechat</a></li> <li><a href="#orgfba702e">Weechat</a></li>
<li><a href="#org0917adc">Matlab</a></li> <li><a href="#org0917adc">Matlab</a></li>
<li><a href="#org721c080">Neovim</a></li> <li><a href="#org721c080">Neovim</a></li>
<li><a href="#org253b1df"><span class="todo TODO">TODO</span> Transmission</a></li>
<li><a href="#org11a99e9">Images</a></li> <li><a href="#org11a99e9">Images</a></li>
<li><a href="#org993c573"><span class="todo TODO">TODO</span> RSS</a></li>
<li><a href="#orgf48f5f6">Qutebrowser</a></li>
<li><a href="#org6d53535">Org-Protocol</a></li> <li><a href="#org6d53535">Org-Protocol</a></li>
<li><a href="#org77502a5">Ranger</a></li> <li><a href="#org77502a5">Ranger</a></li>
<li><a href="#orgbb53a17">Emacs Client</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -328,25 +303,6 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org12f6658" class="outline-2">
<h2 id="org12f6658">Zathura</h2>
<div class="outline-text-2" id="text-org12f6658">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Version</span>=<span class="org-highlight-numbers-number">1.0</span>
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=Zathura
<span class="org-variable-name">Comment</span>=A minimalistic document viewer
<span class="org-variable-name">Exec</span>=zathura %U
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/zathura.svg
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">Categories</span>=Office;Viewer;
<span class="org-variable-name">Keywords</span>=PDF;PS;PostScript;DjVU;document;presentation;viewer;
</pre>
</div>
</div>
</div>
<div id="outline-container-orgfba702e" class="outline-2"> <div id="outline-container-orgfba702e" class="outline-2">
<h2 id="orgfba702e">Weechat</h2> <h2 id="orgfba702e">Weechat</h2>
<div class="outline-text-2" id="text-orgfba702e"> <div class="outline-text-2" id="text-orgfba702e">
@ -409,18 +365,6 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org253b1df" class="outline-2">
<h2 id="org253b1df"><span class="todo TODO">TODO</span> Transmission</h2>
<div class="outline-text-2" id="text-org253b1df">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=Torrent
<span class="org-variable-name">Exec</span>=/usr/bin/env transadd %U
</pre>
</div>
</div>
</div>
<div id="outline-container-org11a99e9" class="outline-2"> <div id="outline-container-org11a99e9" class="outline-2">
<h2 id="org11a99e9">Images</h2> <h2 id="org11a99e9">Images</h2>
<div class="outline-text-2" id="text-org11a99e9"> <div class="outline-text-2" id="text-org11a99e9">
@ -434,39 +378,6 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org993c573" class="outline-2">
<h2 id="org993c573"><span class="todo TODO">TODO</span> RSS</h2>
<div class="outline-text-2" id="text-org993c573">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=RSS feed addition
<span class="org-variable-name">Exec</span>=/usr/bin/env rssadd %U
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf48f5f6" class="outline-2">
<h2 id="orgf48f5f6">Qutebrowser</h2>
<div class="outline-text-2" id="text-orgf48f5f6">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Name</span>=qutebrowser
<span class="org-variable-name">GenericName</span>=Web Browser
<span class="org-variable-name">Comment</span>=A keyboard-driven, vim-like browser based on PyQt5
<span class="org-variable-name">Icon</span>=qutebrowser
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Categories</span>=Network;WebBrowser;
<span class="org-variable-name">Exec</span>=qutebrowser %u
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">StartupNotify</span>=false
<span class="org-variable-name">MimeType</span>=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/qute;
<span class="org-variable-name">Keywords</span>=Browser
<span class="org-variable-name">Actions</span>=new-window;preferences;
</pre>
</div>
</div>
</div>
<div id="outline-container-org6d53535" class="outline-2"> <div id="outline-container-org6d53535" class="outline-2">
<h2 id="org6d53535">Org-Protocol</h2> <h2 id="org6d53535">Org-Protocol</h2>
<div class="outline-text-2" id="text-org6d53535"> <div class="outline-text-2" id="text-org6d53535">
@ -499,10 +410,26 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgbb53a17" class="outline-2">
<h2 id="orgbb53a17">Emacs Client</h2>
<div class="outline-text-2" id="text-orgbb53a17">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Name</span>=Emacs Client
<span class="org-variable-name">Exec</span>=emacsclient -c %u
<span class="org-variable-name">Icon</span>=emacs-icon
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">MimeType</span>=x-scheme-handler/org-protocol;
<span class="org-variable-name">NoDisplay</span>=true
</pre>
</div>
</div>
</div>
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-12 dim. 17:28</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:20 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bash Configuration</title> <title>Bash Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -260,32 +238,30 @@ for the JavaScript code in this tag.
<ul> <ul>
<li><a href="#orge676bb2">Bashrc</a> <li><a href="#orge676bb2">Bashrc</a>
<ul> <ul>
<li><a href="#org6524e6a"><span class="todo TODO">TODO</span> What does that do?</a></li> <li><a href="#org6524e6a">What does that do?</a></li>
<li><a href="#orgade44ee">Bash Completion</a></li> <li><a href="#orgade44ee">Bash Completion</a></li>
<li><a href="#orgd9f988d">Ignore case for autocompletion</a></li> <li><a href="#orgd9f988d">Ignore case for autocompletion</a></li>
<li><a href="#org41663f0">Use Color</a></li> <li><a href="#org41663f0">Use Color</a></li>
<li><a href="#org72d992f"><span class="todo TODO">TODO</span> Set colorful PS1 only on colorful terminals.</a></li> <li><a href="#org72d992f">Set colorful PS1 only on colorful terminals.</a></li>
<li><a href="#orgd137e06">Some config</a></li>
<li><a href="#org6e324a6">Prompt</a></li> <li><a href="#org6e324a6">Prompt</a></li>
<li><a href="#orgeca4d01">SSH Agent</a></li> <li><a href="#orgaf06a47">SSH Agent</a></li>
<li><a href="#org586ae40">Rebind up and down arrow keys to search through bash history</a></li> <li><a href="#org586ae40">Rebind up and down arrow keys to search through bash history</a></li>
<li><a href="#org928d454"><span class="todo TODO">TODO</span> Aliases</a> <li><a href="#org928d454">Aliases</a>
<ul> <ul>
<li><a href="#orgfc778e8">Better defaults for some commands</a></li> <li><a href="#orgfc778e8">Better defaults for some commands</a></li>
<li><a href="#orgd519f4b">One letter aliases</a></li> <li><a href="#orgd519f4b">One letter aliases</a></li>
<li><a href="#org564af34">Neovim</a></li> <li><a href="#org564af34">Neovim</a></li>
<li><a href="#org258d499">Magit</a></li> <li><a href="#org258d499">Magit</a></li>
<li><a href="#org9b3882d">Vim-like</a></li> <li><a href="#org9b3882d">Vim-like</a></li>
<li><a href="#orgafc5f84">Youtube</a></li>
<li><a href="#org62f7fe5">Print each PATH entry on a separate line</a></li> <li><a href="#org62f7fe5">Print each PATH entry on a separate line</a></li>
<li><a href="#orgc2bc628"><span class="todo TODO">TODO</span> IP addresses - Remove the use of <code>dig</code> and <code>ifbashig</code></a></li>
</ul> </ul>
</li> </li>
<li><a href="#org25e4d93"><span class="todo TODO">TODO</span> Functions</a> <li><a href="#org25e4d93">Functions</a>
<ul> <ul>
<li><a href="#orgfc4520c">Display colors</a></li> <li><a href="#orgfc4520c">Display colors</a></li>
<li><a href="#orgd523ae5"><span class="todo TODO">TODO</span> Meteo - Is Dig mandatory?</a></li> <li><a href="#orgf0bad37">Meteo</a></li>
<li><a href="#org9277857"><span class="todo TODO">TODO</span> Upload using transfer.sh</a></li> <li><a href="#org9277857">Upload using transfer.sh</a></li>
<li><a href="#orgee3bfdb"><span class="todo TODO">TODO</span> Upload alternative</a></li>
<li><a href="#org06c01e0">Extract archive</a></li> <li><a href="#org06c01e0">Extract archive</a></li>
<li><a href="#org1522290">Tree display</a></li> <li><a href="#org1522290">Tree display</a></li>
<li><a href="#orgfe71409">Create a new directory and enter it</a></li> <li><a href="#orgfe71409">Create a new directory and enter it</a></li>
@ -295,6 +271,7 @@ for the JavaScript code in this tag.
</ul> </ul>
</li> </li>
<li><a href="#org9d14b86">Bash History</a></li> <li><a href="#org9d14b86">Bash History</a></li>
<li><a href="#orgb0cb9dc">Starship Prompt</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org6a5ac47">Bash Profile</a></li> <li><a href="#org6a5ac47">Bash Profile</a></li>
@ -302,6 +279,7 @@ for the JavaScript code in this tag.
<ul> <ul>
<li><a href="#orgfbbfbf9">QT And GTK Themes</a></li> <li><a href="#orgfbbfbf9">QT And GTK Themes</a></li>
<li><a href="#orgbe2ffab">Gui program to ask for sudo password</a></li> <li><a href="#orgbe2ffab">Gui program to ask for sudo password</a></li>
<li><a href="#orga5ea80f">Gnome Keyring Daemon</a></li>
<li><a href="#org3e2966e">Default</a></li> <li><a href="#org3e2966e">Default</a></li>
<li><a href="#org5ea13c1">Exports</a> <li><a href="#org5ea13c1">Exports</a>
<ul> <ul>
@ -309,7 +287,6 @@ for the JavaScript code in this tag.
<li><a href="#org117a776">Better yaourt colors</a></li> <li><a href="#org117a776">Better yaourt colors</a></li>
<li><a href="#org684e85f">Use Ripgrep for FZF</a></li> <li><a href="#org684e85f">Use Ripgrep for FZF</a></li>
<li><a href="#org545dc00">Goland</a></li> <li><a href="#org545dc00">Goland</a></li>
<li><a href="#orgaf06a47">SSH Agent</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org3b15f2e">Path</a></li> <li><a href="#org3b15f2e">Path</a></li>
@ -325,7 +302,7 @@ for the JavaScript code in this tag.
</div> </div>
<div id="outline-container-org6524e6a" class="outline-3"> <div id="outline-container-org6524e6a" class="outline-3">
<h3 id="org6524e6a"><span class="todo TODO">TODO</span> What does that do?</h3> <h3 id="org6524e6a">What does that do?</h3>
<div class="outline-text-3" id="text-org6524e6a"> <div class="outline-text-3" id="text-org6524e6a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-variable-name">-</span> != *i* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-keyword">return</span> <pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-variable-name">-</span> != *i* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-keyword">return</span>
@ -368,7 +345,7 @@ for the JavaScript code in this tag.
</div> </div>
<div id="outline-container-org72d992f" class="outline-3"> <div id="outline-container-org72d992f" class="outline-3">
<h3 id="org72d992f"><span class="todo TODO">TODO</span> Set colorful PS1 only on colorful terminals.</h3> <h3 id="org72d992f">Set colorful PS1 only on colorful terminals.</h3>
<div class="outline-text-3" id="text-org72d992f"> <div class="outline-text-3" id="text-org72d992f">
<p> <p>
dircolors &#x2013;print-database uses its own built-in database instead of using /etc/DIR<sub>COLORS</sub>. Try to use the external file first to take advantage of user additions. Use internal bash globbing instead of external grep binary. dircolors &#x2013;print-database uses its own built-in database instead of using /etc/DIR<sub>COLORS</sub>. Try to use the external file first to take advantage of user additions. Use internal bash globbing instead of external grep binary.
@ -409,14 +386,16 @@ dircolors &#x2013;print-database uses its own built-in database instead of using
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">unset</span> use_color safe_term match_lhs sh
</pre>
</div> </div>
<div id="outline-container-orgd137e06" class="outline-3">
<h3 id="orgd137e06">Some config</h3>
<div class="outline-text-3" id="text-orgd137e06">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> <pre class="src src-bash"><span class="org-builtin">unset</span> use_color safe_term match_lhs sh
xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>
<span class="org-builtin">complete</span> -cf <span class="org-type">sudo</span> <span class="org-builtin">complete</span> -cf <span class="org-type">sudo</span>
@ -445,9 +424,9 @@ dircolors &#x2013;print-database uses its own built-in database instead of using
</div> </div>
</div> </div>
<div id="outline-container-orgeca4d01" class="outline-3"> <div id="outline-container-orgaf06a47" class="outline-3">
<h3 id="orgeca4d01">SSH Agent</h3> <h3 id="orgaf06a47">SSH Agent</h3>
<div class="outline-text-3" id="text-orgeca4d01"> <div class="outline-text-3" id="text-orgaf06a47">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">if ! </span><span class="org-type"><span class="org-comment">pgrep</span></span><span class="org-comment"> -u "$USER" ssh-agent &gt; /dev/null; then</span> <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">if ! </span><span class="org-type"><span class="org-comment">pgrep</span></span><span class="org-comment"> -u "$USER" ssh-agent &gt; /dev/null; then</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">ssh-agent &gt; "$XDG_RUNTIME_DIR/ssh-agent.env"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">ssh-agent &gt; "$XDG_RUNTIME_DIR/ssh-agent.env"</span>
@ -472,7 +451,7 @@ dircolors &#x2013;print-database uses its own built-in database instead of using
</div> </div>
<div id="outline-container-org928d454" class="outline-3"> <div id="outline-container-org928d454" class="outline-3">
<h3 id="org928d454"><span class="todo TODO">TODO</span> Aliases</h3> <h3 id="org928d454">Aliases</h3>
<div class="outline-text-3" id="text-org928d454"> <div class="outline-text-3" id="text-org928d454">
</div> </div>
<div id="outline-container-orgfc778e8" class="outline-4"> <div id="outline-container-orgfc778e8" class="outline-4">
@ -539,17 +518,6 @@ dircolors &#x2013;print-database uses its own built-in database instead of using
</div> </div>
</div> </div>
<div id="outline-container-orgafc5f84" class="outline-4">
<h4 id="orgafc5f84">Youtube</h4>
<div class="outline-text-4" id="text-orgafc5f84">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">yt</span>=<span class="org-string">"youtube-dl --add-metadata -ic"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Download video link</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">yta</span>=<span class="org-string">"yt -x -f bestaudio/best"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Download only audio</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org62f7fe5" class="outline-4"> <div id="outline-container-org62f7fe5" class="outline-4">
<h4 id="org62f7fe5">Print each PATH entry on a separate line</h4> <h4 id="org62f7fe5">Print each PATH entry on a separate line</h4>
<div class="outline-text-4" id="text-org62f7fe5"> <div class="outline-text-4" id="text-org62f7fe5">
@ -559,25 +527,10 @@ dircolors &#x2013;print-database uses its own built-in database instead of using
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgc2bc628" class="outline-4">
<h4 id="orgc2bc628"><span class="todo TODO">TODO</span> IP addresses - Remove the use of <code>dig</code> and <code>ifbashig</code></h4>
<div class="outline-text-4" id="text-orgc2bc628">
<p>
Use <code>addr</code> instead
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">alias ip="dig +short myip.opendns.com @resolver1.opendns.com"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">alias localip="ip route get 8.8.4.4 | head -1 | awk '{print $7}'"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">alias ips="ifconfig -a | </span><span class="org-type"><span class="org-comment">grep</span></span><span class="org-comment"> -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[0-9]\+\)\|[a-fA-F0-9:]\+\)' | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"</span>
</pre>
</div>
</div>
</div>
</div> </div>
<div id="outline-container-org25e4d93" class="outline-3"> <div id="outline-container-org25e4d93" class="outline-3">
<h3 id="org25e4d93"><span class="todo TODO">TODO</span> Functions</h3> <h3 id="org25e4d93">Functions</h3>
<div class="outline-text-3" id="text-org25e4d93"> <div class="outline-text-3" id="text-org25e4d93">
</div> </div>
<div id="outline-container-orgfc4520c" class="outline-4"> <div id="outline-container-orgfc4520c" class="outline-4">
@ -615,13 +568,9 @@ Use <code>addr</code> instead
</div> </div>
</div> </div>
<div id="outline-container-orgd523ae5" class="outline-4"> <div id="outline-container-orgf0bad37" class="outline-4">
<h4 id="orgd523ae5"><span class="todo TODO">TODO</span> Meteo - Is Dig mandatory?</h4> <h4 id="orgf0bad37">Meteo</h4>
<div class="outline-text-4" id="text-orgd523ae5"> <div class="outline-text-4" id="text-orgf0bad37">
<p>
To install <code>dig</code>, use <code>yay -S bind-tools</code>
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-function-name">meteo</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span> <pre class="src src-bash"><span class="org-function-name">meteo</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">*</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">*</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
@ -631,7 +580,6 @@ To install <code>dig</code>, use <code>yay -S bind-tools</code>
<span class="org-type">curl</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">address</span></span><span class="org-string">"</span> <span class="org-type">curl</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">address</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-variable-name">address</span>=<span class="org-string">"wttr.in/"</span> <span class="org-variable-name">address</span>=<span class="org-string">"wttr.in/"</span>
<span class="org-variable-name">address</span>+=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">ip</span><span class="org-rainbow-delimiters-depth-2">)</span>
<span class="org-variable-name">address</span>+=<span class="org-string">"?lang=fr"</span> <span class="org-variable-name">address</span>+=<span class="org-string">"?lang=fr"</span>
<span class="org-type">curl</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">address</span></span><span class="org-string">"</span> <span class="org-type">curl</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">address</span></span><span class="org-string">"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
@ -643,7 +591,7 @@ To install <code>dig</code>, use <code>yay -S bind-tools</code>
</div> </div>
<div id="outline-container-org9277857" class="outline-4"> <div id="outline-container-org9277857" class="outline-4">
<h4 id="org9277857"><span class="todo TODO">TODO</span> Upload using transfer.sh</h4> <h4 id="org9277857">Upload using transfer.sh</h4>
<div class="outline-text-4" id="text-org9277857"> <div class="outline-text-4" id="text-org9277857">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-function-name">upload</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span> <pre class="src src-bash"><span class="org-function-name">upload</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
@ -661,19 +609,6 @@ To install <code>dig</code>, use <code>yay -S bind-tools</code>
</div> </div>
</div> </div>
<div id="outline-container-orgee3bfdb" class="outline-4">
<h4 id="orgee3bfdb"><span class="todo TODO">TODO</span> Upload alternative</h4>
<div class="outline-text-4" id="text-orgee3bfdb">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-function-name">transfer</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-type">curl</span> --progress-bar --upload-file <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> https://transfer.sh/$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">basename</span> $<span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span> | xclip -in -selection clipboard;
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">transfer</span>=transfer
</pre>
</div>
</div>
</div>
<div id="outline-container-org06c01e0" class="outline-4"> <div id="outline-container-org06c01e0" class="outline-4">
<h4 id="org06c01e0">Extract archive</h4> <h4 id="org06c01e0">Extract archive</h4>
<div class="outline-text-4" id="text-org06c01e0"> <div class="outline-text-4" id="text-org06c01e0">
@ -833,6 +768,16 @@ Force prompt to write history after every command. <a href="http://superuser.com
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb0cb9dc" class="outline-3">
<h3 id="orgb0cb9dc">Starship Prompt</h3>
<div class="outline-text-3" id="text-orgb0cb9dc">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">eval</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">starship</span><span class="org-string"><span class="org-sh-quoted-exec"> init bash)</span></span><span class="org-string">"</span>
</pre>
</div>
</div>
</div>
</div> </div>
<div id="outline-container-org6a5ac47" class="outline-2"> <div id="outline-container-org6a5ac47" class="outline-2">
@ -872,6 +817,19 @@ Force prompt to write history after every command. <a href="http://superuser.com
</div> </div>
</div> </div>
<div id="outline-container-orga5ea80f" class="outline-3">
<h3 id="orga5ea80f">Gnome Keyring Daemon</h3>
<div class="outline-text-3" id="text-orga5ea80f">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">DESKTOP_SESSION</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>;<span class="org-keyword">then</span>
<span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">gnome-keyring-daemon</span> --start<span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-builtin">export</span> SSH_AUTH_SOCK
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org3e2966e" class="outline-3"> <div id="outline-container-org3e2966e" class="outline-3">
<h3 id="org3e2966e">Default</h3> <h3 id="org3e2966e">Default</h3>
<div class="outline-text-3" id="text-org3e2966e"> <div class="outline-text-3" id="text-org3e2966e">
@ -935,16 +893,6 @@ Force prompt to write history after every command. <a href="http://superuser.com
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgaf06a47" class="outline-4">
<h4 id="orgaf06a47">SSH Agent</h4>
<div class="outline-text-4" id="text-orgaf06a47">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">SSH_AUTH_SOCK</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">{XDG_RUNTIME_DIR}</span></span><span class="org-string">/ssh-agent.socket"</span>
</pre>
</div>
</div>
</div>
</div> </div>
<div id="outline-container-org3b15f2e" class="outline-3"> <div id="outline-container-org3b15f2e" class="outline-3">
@ -965,7 +913,7 @@ Force prompt to write history after every command. <a href="http://superuser.com
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:20</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Binaries</title> <title>Binaries</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -271,6 +249,10 @@ for the JavaScript code in this tag.
<li><a href="#orgdee48e4">Toggle Network</a></li> <li><a href="#orgdee48e4">Toggle Network</a></li>
<li><a href="#orgc1d9d95">Print on Rnice</a></li> <li><a href="#orgc1d9d95">Print on Rnice</a></li>
<li><a href="#orgf1a877f">Mount TMP14DAYS</a></li> <li><a href="#orgf1a877f">Mount TMP14DAYS</a></li>
<li><a href="#org43181f1">Make GIF</a></li>
<li><a href="#org502a04a">Download-Audio</a></li>
<li><a href="#org294743b">Download-Video</a></li>
<li><a href="#org03a3fa6">Pdf Shrink</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -918,10 +900,133 @@ The sed piece just removes the colon from the provided prompt: <code>rofi -p</co
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org43181f1" class="outline-2">
<h2 id="org43181f1">Make GIF</h2>
<div class="outline-text-2" id="text-org43181f1">
<p>
<a href="http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html">http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">palette</span>=<span class="org-string">"/tmp/palette.png"</span>
<span class="org-variable-name">filters</span>=<span class="org-string">"fps=15,scale=320:-1:flags=lanczos"</span>
ffmpeg -v warning -i $<span class="org-highlight-numbers-number">1</span> -vf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filters</span></span><span class="org-string">,palettegen"</span> -y $<span class="org-variable-name">palette</span>
ffmpeg -v warning -i $<span class="org-highlight-numbers-number">1</span> -i $<span class="org-variable-name">palette</span> -lavfi <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filters</span></span><span class="org-string"> [x]; [x][1:v] paletteuse"</span> -y $<span class="org-highlight-numbers-number">2</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org502a04a" class="outline-2">
<h2 id="org502a04a">Download-Audio</h2>
<div class="outline-text-2" id="text-org502a04a">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
tmux split -v -l <span class="org-highlight-numbers-number">1</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -xic -f bestaudio/best </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
<span class="org-keyword">else</span>
<span class="org-type">cd</span> ~/Downloads/;
setsid nohup youtube-dl --add-metadata -xic -f bestaudio/best $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp;
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org294743b" class="outline-2">
<h2 id="org294743b">Download-Video</h2>
<div class="outline-text-2" id="text-org294743b">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
tmux split -v -l <span class="org-highlight-numbers-number">1</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -ic </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
<span class="org-keyword">else</span>
<span class="org-type">cd</span> ~/Downloads/;
setsid nohup youtube-dl --add-metadata -ic $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp;
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org03a3fa6" class="outline-2">
<h2 id="org03a3fa6">Pdf Shrink</h2>
<div class="outline-text-2" id="text-org03a3fa6">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-function-name">shrink</span> <span class="org-rainbow-delimiters-depth-1">()</span>
<span class="org-rainbow-delimiters-depth-1">{</span>
gs <span class="org-sh-escaped-newline">\</span>
-q -dNOPAUSE -dBATCH -dSAFER <span class="org-sh-escaped-newline">\</span>
-sDEVICE=pdfwrite <span class="org-sh-escaped-newline">\</span>
-dCompatibilityLevel=<span class="org-highlight-numbers-number">1.3</span> <span class="org-sh-escaped-newline">\</span>
-dPDFSETTINGS=/screen <span class="org-sh-escaped-newline">\</span>
-dEmbedAllFonts=true <span class="org-sh-escaped-newline">\</span>
-dSubsetFonts=true <span class="org-sh-escaped-newline">\</span>
-dAutoRotatePages=/None <span class="org-sh-escaped-newline">\</span>
-dColorImageDownsampleType=/Bicubic <span class="org-sh-escaped-newline">\</span>
-dColorImageResolution=$<span class="org-highlight-numbers-number">3</span> <span class="org-sh-escaped-newline">\</span>
-dGrayImageDownsampleType=/Bicubic <span class="org-sh-escaped-newline">\</span>
-dGrayImageResolution=$<span class="org-highlight-numbers-number">3</span> <span class="org-sh-escaped-newline">\</span>
-dMonoImageDownsampleType=/Subsample <span class="org-sh-escaped-newline">\</span>
-dMonoImageResolution=$<span class="org-highlight-numbers-number">3</span> <span class="org-sh-escaped-newline">\</span>
-sOutputFile=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> <span class="org-sh-escaped-newline">\</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">1</span></span><span class="org-string">"</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-function-name">check_smaller</span> <span class="org-rainbow-delimiters-depth-1">()</span>
<span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If $1 and $2 are regular files, we can compare file sizes to</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">see if we succeeded in shrinking. If not, we copy $1 over $2:</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> -o <span class="org-negation-char">!</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
<span class="org-keyword">return</span> <span class="org-highlight-numbers-number">0</span>;
<span class="org-keyword">fi</span>
<span class="org-variable-name">ISIZE</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">echo</span><span class="org-string"><span class="org-sh-quoted-exec"> $(</span></span><span class="org-sh-quoted-exec">wc</span><span class="org-string"><span class="org-sh-quoted-exec"> -c "</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">1</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">")</span></span><span class="org-string"> | cut -f1 -d\ )"</span>
<span class="org-variable-name">OSIZE</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">echo</span><span class="org-string"><span class="org-sh-quoted-exec"> $(</span></span><span class="org-sh-quoted-exec">wc</span><span class="org-string"><span class="org-sh-quoted-exec"> -c "</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">2</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">")</span></span><span class="org-string"> | cut -f1 -d\ )"</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</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">ISIZE</span></span><span class="org-string">"</span> -lt <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">OSIZE</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
<span class="org-type">echo</span> <span class="org-string">"Input smaller than output, doing straight copy"</span> &gt;&amp;<span class="org-highlight-numbers-number">2</span>
<span class="org-type">cp</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">1</span></span><span class="org-string">"</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">2</span></span><span class="org-string">"</span>
<span class="org-keyword">fi</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-function-name">usage</span> <span class="org-rainbow-delimiters-depth-1">()</span>
<span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-type">echo</span> <span class="org-string">"Reduces PDF filesize by lossy recompressing with Ghostscript."</span>
<span class="org-type">echo</span> <span class="org-string">"Not guaranteed to succeed, but usually works."</span>
<span class="org-type">echo</span> <span class="org-string">" Usage: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string"> infile [outfile] [resolution_in_dpi]"</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-variable-name">IFILE</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">1</span></span><span class="org-string">"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Need an input file:</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">IFILE</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
usage <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">0</span></span><span class="org-string">"</span>
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
<span class="org-keyword">fi</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Output filename defaults to "-" (stdout) unless given:</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-negation-char">!</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-variable-name">OFILE</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">2</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span>
<span class="org-variable-name">OFILE</span>=<span class="org-string">"-"</span>
<span class="org-keyword">fi</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Output resolution defaults to 72 unless given:</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-negation-char">!</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">3</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-variable-name">res</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">3</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span>
<span class="org-variable-name">res</span>=<span class="org-string">"90"</span>
<span class="org-keyword">fi</span>
shrink <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">IFILE</span></span><span class="org-string">"</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">OFILE</span></span><span class="org-string">"</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">res</span></span><span class="org-string">"</span> || <span class="org-keyword">exit</span> $<span class="org-variable-name">?</span>
check_smaller <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">IFILE</span></span><span class="org-string">"</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">OFILE</span></span><span class="org-string">"</span>
</pre>
</div>
</div>
</div>
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:20 --> <!-- 2020-03-01 dim. 22:49 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Calendar Configuration</title> <title>Calendar Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -281,7 +259,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">type</span> = <span class="org-string">"google_calendar"</span> <span class="org-variable-name">type</span> = <span class="org-string">"google_calendar"</span>
<span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file"</span> <span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file"</span>
<span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span> <span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span>
<span class="org-variable-name">client_secret</span> = <span class="org-string">"KdepTEIgZtKdVvPRgm3olwgM"</span> <span class="org-variable-name">client_secret</span> = <span class="org-string">"&lt;&lt;get-password(passname="</span>calendar/google_client_secret<span class="org-string">")&gt;&gt;"</span>
[<span class="org-type">storage google_calendar_local</span>] [<span class="org-type">storage google_calendar_local</span>]
<span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span> <span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span>
@ -304,7 +282,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">type</span> = <span class="org-string">"google_contacts"</span> <span class="org-variable-name">type</span> = <span class="org-string">"google_contacts"</span>
<span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file_carddav"</span> <span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file_carddav"</span>
<span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span> <span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span>
<span class="org-variable-name">client_secret</span> = <span class="org-string">"KdepTEIgZtKdVvPRgm3olwgM"</span> <span class="org-variable-name">client_secret</span> = <span class="org-string">"&lt;&lt;get-password(passname="</span>contacts/google_client_secret<span class="org-string">")&gt;&gt;"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -346,7 +324,7 @@ for the JavaScript code in this tag.
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:20</p> <p class="date">Created: 2020-03-01 dim. 22:49</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Configuration Files</title> <title>Configuration Files</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -342,8 +320,8 @@ Control-a: beginning-of-line
<h2 id="org5432d18">GnuPG</h2> <h2 id="org5432d18">GnuPG</h2>
<div class="outline-text-2" id="text-org5432d18"> <div class="outline-text-2" id="text-org5432d18">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">max-cache-ttl <span class="org-highlight-numbers-number">60480000</span> <pre class="src src-conf">default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
default-cache-ttl <span class="org-highlight-numbers-number">60480000</span> max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -460,7 +438,7 @@ default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:19 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Calendar Configuration</title> <title>Calendar Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -322,7 +300,7 @@ for the JavaScript code in this tag.
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:19</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-12 dim. 17:28 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>I3 Configuration</title> <title>I3 Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -258,14 +236,13 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2> <h2>Table of Contents</h2>
<div id="text-table-of-contents"> <div id="text-table-of-contents">
<ul> <ul>
<li><a href="#org5a89310">Basic configuration</a>
<ul>
<li><a href="#org7b59438">Colors</a></li>
<li><a href="#orgfa3a84a">Mod Key</a></li> <li><a href="#orgfa3a84a">Mod Key</a></li>
<li><a href="#org6e4f11a">Border Style</a></li> <li><a href="#org6e4f11a">Border Style</a></li>
<li><a href="#orgb3d9c62">Font for window titles</a></li> <li><a href="#orgb3d9c62">Font for window titles</a></li>
<li><a href="#orgeebb1d2">Color palette used for the terminal ( ~/.Xresources file )</a></li> <li><a href="#orge2dfbd2">Colors Variables</a></li>
<li><a href="#orgec5c654">Theme colors</a></li> <li><a href="#orgec5c654">Theme colors</a></li>
<li><a href="#orgc470b91">Various Config</a></li>
<li><a href="#orgb1cbca7">Border</a></li>
<li><a href="#org92d84a9">Settings for i3-gaps</a></li> <li><a href="#org92d84a9">Settings for i3-gaps</a></li>
<li><a href="#org1a7f35c">Workspace names</a></li> <li><a href="#org1a7f35c">Workspace names</a></li>
<li><a href="#orgf10c4f1">Use Mouse+$mod to drag floating windows</a></li> <li><a href="#orgf10c4f1">Use Mouse+$mod to drag floating windows</a></li>
@ -277,49 +254,19 @@ for the JavaScript code in this tag.
</ul> </ul>
</li> </li>
<li><a href="#org6aa38e9">Scratchpad</a></li> <li><a href="#org6aa38e9">Scratchpad</a></li>
</ul>
</li>
<li><a href="#orgff12892">Run Polybar and SXHKD</a></li> <li><a href="#orgff12892">Run Polybar and SXHKD</a></li>
</ul> </ul>
</div> </div>
</div> </div>
<div id="outline-container-org5a89310" class="outline-2">
<h2 id="org5a89310">Basic configuration</h2>
<div class="outline-text-2" id="text-org5a89310">
</div>
<div id="outline-container-org7b59438" class="outline-3">
<h3 id="org7b59438">Colors</h3>
<div class="outline-text-3" id="text-org7b59438">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">set $bg <span class="org-comment-delimiter">#</span><span class="org-comment">32302f</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">i3 config file (v4)</span>
set $bg1 <span class="org-comment-delimiter">#</span><span class="org-comment">3c3836</span>
set $bg2 <span class="org-comment-delimiter">#</span><span class="org-comment">504945</span>
set $bg3 <span class="org-comment-delimiter">#</span><span class="org-comment">665c54</span>
set $bg4 <span class="org-comment-delimiter">#</span><span class="org-comment">7c6f64</span>
set $fg <span class="org-comment-delimiter">#</span><span class="org-comment">ebdbb2</span>
set $fg1 <span class="org-comment-delimiter">#</span><span class="org-comment">ebdbb2</span>
set $fg2 <span class="org-comment-delimiter">#</span><span class="org-comment">d5c4a1</span>
set $fg3 <span class="org-comment-delimiter">#</span><span class="org-comment">bdae93</span>
set $fg4 <span class="org-comment-delimiter">#</span><span class="org-comment">a89984</span>
set $gray <span class="org-comment-delimiter">#</span><span class="org-comment">a89984</span>
set $red <span class="org-comment-delimiter">#</span><span class="org-comment">cc241d</span>
set $green <span class="org-comment-delimiter">#</span><span class="org-comment">98971a</span>
set $yellow <span class="org-comment-delimiter">#</span><span class="org-comment">d79921</span>
set $blue <span class="org-comment-delimiter">#</span><span class="org-comment">458588</span>
set $purple <span class="org-comment-delimiter">#</span><span class="org-comment">b16286</span>
set $aqua <span class="org-comment-delimiter">#</span><span class="org-comment">689d6a</span>
set $orange <span class="org-comment-delimiter">#</span><span class="org-comment">d65d0e</span>
</pre> </pre>
</div> </div>
</div>
</div>
<div id="outline-container-orgfa3a84a" class="outline-3"> <div id="outline-container-orgfa3a84a" class="outline-2">
<h3 id="orgfa3a84a">Mod Key</h3> <h2 id="orgfa3a84a">Mod Key</h2>
<div class="outline-text-3" id="text-orgfa3a84a"> <div class="outline-text-2" id="text-orgfa3a84a">
<p> <p>
Set mod key (Mod1=&lt;Alt&gt;, Mod4=&lt;Super&gt;) Set mod key (Mod1=&lt;Alt&gt;, Mod4=&lt;Super&gt;)
</p> </p>
@ -330,24 +277,29 @@ Set mod key (Mod1=&lt;Alt&gt;, Mod4=&lt;Super&gt;)
</div> </div>
</div> </div>
<div id="outline-container-org6e4f11a" class="outline-3"> <div id="outline-container-org6e4f11a" class="outline-2">
<h3 id="org6e4f11a">Border Style</h3> <h2 id="org6e4f11a">Border Style</h2>
<div class="outline-text-3" id="text-org6e4f11a"> <div class="outline-text-2" id="text-org6e4f11a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Configure border style &lt;normal|1pixel|pixel xx|none|pixel&gt;</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Use custom colors for black</span>
new_window pixel <span class="org-highlight-numbers-number">1</span> new_window pixel <span class="org-highlight-numbers-number">1</span>
new_float normal new_float normal
</pre>
</div>
<span class="org-comment-delimiter"># </span><span class="org-comment">Hide borders</span> <p>
hide_edge_borders smart Hide borders
</p>
<div class="org-src-container">
<pre class="src src-conf">hide_edge_borders smart
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb3d9c62" class="outline-3"> <div id="outline-container-orgb3d9c62" class="outline-2">
<h3 id="orgb3d9c62">Font for window titles</h3> <h2 id="orgb3d9c62">Font for window titles</h2>
<div class="outline-text-3" id="text-orgb3d9c62"> <div class="outline-text-2" id="text-orgb3d9c62">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">font Hack Nerd Font <span class="org-highlight-numbers-number">11</span> <pre class="src src-conf">font Hack Nerd Font <span class="org-highlight-numbers-number">11</span>
</pre> </pre>
@ -355,120 +307,94 @@ hide_edge_borders smart
</div> </div>
</div> </div>
<div id="outline-container-orgeebb1d2" class="outline-3"> <div id="outline-container-orge2dfbd2" class="outline-2">
<h3 id="orgeebb1d2">Color palette used for the terminal ( ~/.Xresources file )</h3> <h2 id="orge2dfbd2">Colors Variables</h2>
<div class="outline-text-3" id="text-orgeebb1d2"> <div class="outline-text-2" id="text-orge2dfbd2">
<p>
Colors are gathered based on the documentation <a href="https://i3wm.org/docs/userguide.html#xresources">https://i3wm.org/docs/userguide.html#xresources</a>.
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">set_from_resource $darkred color1 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> <pre class="src src-conf">set_from_resource $bg color0 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $red color9 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkred color1 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkgreen color2 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkgreen color2 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $green color10 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkyellow color3 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkyellow color3 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkblue color4 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $yellow color11 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkpurple color5 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkblue color4 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkaqua color6 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $blue color12 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkgray color7 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkmagenta color5 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $gray color8 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $magenta color13 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $red color9 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkcyan color6 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $green color10 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $cyan color14 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $yellow color11 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $darkwhite color7 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $blue color12 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $white color15 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $purple color13 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set_from_resource $aqua color14 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Use custom colors for black</span> set_from_resource $fg color15 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
set $black <span class="org-comment-delimiter">#</span><span class="org-comment">282828</span>
set $darkblack <span class="org-comment-delimiter">#</span><span class="org-comment">1d2021</span>
set $transparent <span class="org-comment-delimiter">#</span><span class="org-comment">00000000</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgec5c654" class="outline-3"> <div id="outline-container-orgec5c654" class="outline-2">
<h3 id="orgec5c654">Theme colors</h3> <h2 id="orgec5c654">Theme colors</h2>
<div class="outline-text-3" id="text-orgec5c654"> <div class="outline-text-2" id="text-orgec5c654">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">class border backgr. text indic. child_border</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">class border backgr. text indic. child_border</span>
client.focused $blue $blue $fg $blue client.focused $darkaqua $darkaqua $fg $bg
client.focused_inactive $bg $bg $fg $bg client.focused_inactive $bg $bg $fg $bg
client.urgent $bg $bg $fg $bg client.unfocused $bg $bg $fg $bg
client.unfocused $bg $bg $fg $bg client.urgent $bg $bg $fg $bg
client.placeholder $bg $bg $fg $bg
client.background <span class="org-comment-delimiter">#</span><span class="org-comment">32302F</span> client.background $bg
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org92d84a9" class="outline-3"> <div id="outline-container-orgc470b91" class="outline-2">
<h3 id="org92d84a9">Settings for i3-gaps</h3> <h2 id="orgc470b91">Various Config</h2>
<div class="outline-text-3" id="text-org92d84a9"> <div class="outline-text-2" id="text-orgc470b91">
<p>
Layout mode for new containers
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set inner/outer gaps</span> <pre class="src src-conf">workspace_layout default
gaps inner <span class="org-highlight-numbers-number">10</span> </pre>
gaps outer -2 </div>
<span class="org-comment-delimiter"># </span><span class="org-comment">Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.</span> <div class="org-src-container">
<span class="org-comment-delimiter"># </span><span class="org-comment">gaps inner|outer current|all set|plus|minus &lt;px&gt;</span> <pre class="src src-conf">focus_follows_mouse yes
<span class="org-comment-delimiter"># </span><span class="org-comment">gaps inner all set 10</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">gaps outer all plus 5</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Smart gaps (gaps used if only more than one container on the workspace)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">smart_gaps on</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Smart borders (draw borders around container only if it is not the only container on this workspace)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">smart_borders on</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.</span>
set $mode_gaps Gaps: (o) outer, (i) inner
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
bindsym $mod+Shift+g mode <span class="org-string">"$mode_gaps"</span>
<span class="org-type">mode </span><span class="org-string"><span class="org-type">"$mode_gaps"</span></span> {
bindsym o mode <span class="org-string">"$mode_gaps_outer"</span>
bindsym i mode <span class="org-string">"$mode_gaps_inner"</span>
bindsym Return mode <span class="org-string">"default"</span>
bindsym Escape mode <span class="org-string">"default"</span>
}
<span class="org-type">mode </span><span class="org-string"><span class="org-type">"$mode_gaps_inner"</span></span> {
bindsym plus gaps inner current plus <span class="org-highlight-numbers-number">5</span>
bindsym minus gaps inner current minus <span class="org-highlight-numbers-number">5</span>
bindsym <span class="org-highlight-numbers-number">0</span> gaps inner current set <span class="org-highlight-numbers-number">0</span>
bindsym Shift+plus gaps inner all plus <span class="org-highlight-numbers-number">5</span>
bindsym Shift+minus gaps inner all minus <span class="org-highlight-numbers-number">5</span>
bindsym Shift+0 gaps inner all set <span class="org-highlight-numbers-number">0</span>
bindsym Return mode <span class="org-string">"default"</span>
bindsym Escape mode <span class="org-string">"default"</span>
}
<span class="org-type">mode </span><span class="org-string"><span class="org-type">"$mode_gaps_outer"</span></span> {
bindsym plus gaps outer current plus <span class="org-highlight-numbers-number">5</span>
bindsym minus gaps outer current minus <span class="org-highlight-numbers-number">5</span>
bindsym <span class="org-highlight-numbers-number">0</span> gaps outer current set <span class="org-highlight-numbers-number">0</span>
bindsym Shift+plus gaps outer all plus <span class="org-highlight-numbers-number">5</span>
bindsym Shift+minus gaps outer all minus <span class="org-highlight-numbers-number">5</span>
bindsym Shift+0 gaps outer all set <span class="org-highlight-numbers-number">0</span>
bindsym Return mode <span class="org-string">"default"</span>
bindsym Escape mode <span class="org-string">"default"</span>
}
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org1a7f35c" class="outline-3"> <div id="outline-container-orgb1cbca7" class="outline-2">
<h3 id="org1a7f35c">Workspace names</h3> <h2 id="orgb1cbca7">Border</h2>
<div class="outline-text-3" id="text-org1a7f35c"> <div class="outline-text-2" id="text-orgb1cbca7">
<div class="org-src-container">
<pre class="src src-conf">default_border pixel <span class="org-highlight-numbers-number">1</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org92d84a9" class="outline-2">
<h2 id="org92d84a9">Settings for i3-gaps</h2>
<div class="outline-text-2" id="text-org92d84a9">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">for_window [class=".*"] border pixel 0</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">gaps inner <span class="org-highlight-numbers-number">10</span>
gaps outer <span class="org-highlight-numbers-number">2</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org1a7f35c" class="outline-2">
<h2 id="org1a7f35c">Workspace names</h2>
<div class="outline-text-2" id="text-org1a7f35c">
<p> <p>
To display names or symbols instead of plain workspace numbers you can use something like: <code>set $ws1 1:mail</code> and <code>set $ws2 2:</code>. To display names or symbols instead of plain workspace numbers you can use something like: <code>set $ws1 1:mail</code> and <code>set $ws2 2:</code>.
</p> </p>
@ -487,9 +413,9 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
</div> </div>
</div> </div>
<div id="outline-container-orgf10c4f1" class="outline-3"> <div id="outline-container-orgf10c4f1" class="outline-2">
<h3 id="orgf10c4f1">Use Mouse+$mod to drag floating windows</h3> <h2 id="orgf10c4f1">Use Mouse+$mod to drag floating windows</h2>
<div class="outline-text-3" id="text-orgf10c4f1"> <div class="outline-text-2" id="text-orgf10c4f1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">floating_modifier $mod <pre class="src src-conf">floating_modifier $mod
</pre> </pre>
@ -497,9 +423,9 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
</div> </div>
</div> </div>
<div id="outline-container-org445b64b" class="outline-3"> <div id="outline-container-org445b64b" class="outline-2">
<h3 id="org445b64b">Back and Forth</h3> <h2 id="org445b64b">Back and Forth</h2>
<div class="outline-text-3" id="text-org445b64b"> <div class="outline-text-2" id="text-org445b64b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">workspace_auto_back_and_forth yes <pre class="src src-conf">workspace_auto_back_and_forth yes
</pre> </pre>
@ -507,16 +433,15 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
</div> </div>
</div> </div>
<div id="outline-container-orgccf5527" class="outline-3"> <div id="outline-container-orgccf5527" class="outline-2">
<h3 id="orgccf5527">Application Specific</h3> <h2 id="orgccf5527">Application Specific</h2>
<div class="outline-text-3" id="text-orgccf5527"> <div class="outline-text-2" id="text-orgccf5527">
</div> </div>
<div id="outline-container-orgec227a1" class="outline-4"> <div id="outline-container-orgec227a1" class="outline-3">
<h4 id="orgec227a1">Open applications on specific workspaces</h4> <h3 id="orgec227a1">Open applications on specific workspaces</h3>
<div class="outline-text-4" id="text-orgec227a1"> <div class="outline-text-3" id="text-orgec227a1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Matlab Figures</span> <pre class="src src-conf"><span class="org-variable-name">assign[title</span>=<span class="org-string">"^Fig"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Matlab Figures</span>
<span class="org-variable-name">assign[title</span>=<span class="org-string">"^Fig"</span>] $ws6
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Fig"</span>] layout tabbed <span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Fig"</span>] layout tabbed
<span class="org-variable-name">assign[title</span>=<span class="org-string">"^HG_Peer"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Name of window when export figure with matlab</span> <span class="org-variable-name">assign[title</span>=<span class="org-string">"^HG_Peer"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Name of window when export figure with matlab</span>
</pre> </pre>
@ -524,24 +449,17 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
</div> </div>
</div> </div>
<div id="outline-container-org05defe1" class="outline-4"> <div id="outline-container-org05defe1" class="outline-3">
<h4 id="org05defe1">Open specific applications in floating mode</h4> <h3 id="org05defe1">Open specific applications in floating mode</h3>
<div class="outline-text-4" id="text-org05defe1"> <div class="outline-text-3" id="text-org05defe1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">for_window [title</span>=<span class="org-string">"File Transfer*"</span>] floating enable <pre class="src src-conf"><span class="org-variable-name">for_window [title</span>=<span class="org-string">"File Transfer*"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"GParted"</span>] floating enable border normal <span class="org-variable-name">for_window [class</span>=<span class="org-string">"GParted"</span>] floating enable border normal
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"i3_help"</span>] floating enable sticky enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lightdm-settings"</span>] floating enable <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lightdm-settings"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lxappearance"</span>] floating enable sticky enable border normal <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lxappearance"</span>] floating enable sticky enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Manjaro Settings Manager"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Pamac-manager"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Pavucontrol"</span>] floating enable <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Pavucontrol"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"qt5ct"</span>] floating enable sticky enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Qtconfig-qt4"</span>] floating enable sticky enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Simple-scan"</span>] floating enable border normal <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Simple-scan"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"(?i)System-config-printer.py"</span>] floating enable border normal <span class="org-variable-name">for_window [class</span>=<span class="org-string">"(?i)System-config-printer.py"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Timeset-gui"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"(?i)virtualbox"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Xfburn"</span>] floating enable <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Xfburn"</span>] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Documentation -"</span>] floating enable border normal <span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Documentation -"</span>] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Yad"</span>] floating enable <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Yad"</span>] floating enable
@ -553,18 +471,24 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
</div> </div>
</div> </div>
<div id="outline-container-org6aa38e9" class="outline-3"> <div id="outline-container-org6aa38e9" class="outline-2">
<h3 id="org6aa38e9">Scratchpad</h3> <h2 id="org6aa38e9">Scratchpad</h2>
<div class="outline-text-3" id="text-org6aa38e9"> <div class="outline-text-2" id="text-org6aa38e9">
<p>
Move the currently focused window to the scratchpad
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">move the currently focused window to the scratchpad</span> <pre class="src src-conf">bindsym $mod+Shift+BackSpace move scratchpad
bindsym $mod+Shift+BackSpace move scratchpad
<span class="org-comment-delimiter"># </span><span class="org-comment">Show the next scratchpad window or hide the focused scratchpad window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If there are multiple scratchpad windows, this command cycles through them.</span>
bindsym $mod+BackSpace scratchpad show
</pre> </pre>
</div> </div>
<p>
Show the next scratchpad window or hide the focused scratchpad window.
If there are multiple scratchpad windows, this command cycles through them.
</p>
<div class="org-src-container">
<pre class="src src-conf">bindsym $mod+BackSpace scratchpad show
</pre>
</div> </div>
</div> </div>
</div> </div>
@ -573,8 +497,8 @@ bindsym $mod+BackSpace scratchpad show
<h2 id="orgff12892">Run Polybar and SXHKD</h2> <h2 id="orgff12892">Run Polybar and SXHKD</h2>
<div class="outline-text-2" id="text-orgff12892"> <div class="outline-text-2" id="text-orgff12892">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">exec_always --no-startup-id $HOME/.config/polybar/scripts/launch.sh <pre class="src src-conf">exec --no-startup-id sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc.i3
exec_always --no-startup-id sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc.i3 exec --no-startup-id $HOME/.config/polybar/scripts/launch.sh
</pre> </pre>
</div> </div>
</div> </div>
@ -582,7 +506,7 @@ exec_always --no-startup-id sxhkd -m <span class="org-highlight-numbers-number">
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-12 dim. 17:28</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Mail Configuration</title> <title>Mail Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -261,8 +239,8 @@ for the JavaScript code in this tag.
<li><a href="#org2ca5a33">Synchronize Mailboxes - Mbsync</a> <li><a href="#org2ca5a33">Synchronize Mailboxes - Mbsync</a>
<ul> <ul>
<li><a href="#org3afb8bb">Global Defaults</a></li> <li><a href="#org3afb8bb">Global Defaults</a></li>
<li><a href="#org35f28e8">Gmail Account</a></li> <li><a href="#orgdbef2d9">Gmail Account</a></li>
<li><a href="#org9005d20">ESRF Account</a></li> <li><a href="#org53c9391">ESRF Account</a></li>
<li><a href="#org759800a">ULG Student Account</a></li> <li><a href="#org759800a">ULG Student Account</a></li>
<li><a href="#orgb0ed5cf">ULG Personal Account</a></li> <li><a href="#orgb0ed5cf">ULG Personal Account</a></li>
</ul> </ul>
@ -270,29 +248,25 @@ for the JavaScript code in this tag.
<li><a href="#org672ae70">Send Mails - Msmtp</a> <li><a href="#org672ae70">Send Mails - Msmtp</a>
<ul> <ul>
<li><a href="#org9620340">Defaults</a></li> <li><a href="#org9620340">Defaults</a></li>
<li><a href="#orgdbef2d9">Gmail Account</a></li> <li><a href="#org5827a09">Gmail Account</a></li>
<li><a href="#org53c9391">ESRF Account</a></li> <li><a href="#org88aa54d">ESRF Account</a></li>
<li><a href="#org0bb0cef">ULG Account</a></li> <li><a href="#org0bb0cef">ULG Account</a></li>
<li><a href="#org06e99f4">ULIEGE Account</a></li> <li><a href="#org06e99f4">ULIEGE Account</a></li>
<li><a href="#org7b20d0c">Default Account</a></li> <li><a href="#org7b20d0c">Default Account</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org8e85c4d"><span class="todo TODO">TODO</span> Mail Indexer - Mu</a> <li><a href="#org8e85c4d"><span class="todo TODO">TODO</span> Mail Indexer - Mu</a></li>
<ul>
<li><a href="#orgd1bb167">Cheatsheet</a></li>
</ul>
</li>
<li><a href="#orgc7467fd">Mail Client - NeoMutt</a> <li><a href="#orgc7467fd">Mail Client - NeoMutt</a>
<ul> <ul>
<li><a href="#org8133ca9">Bindings</a> <li><a href="#org8133ca9">Bindings</a>
<ul> <ul>
<li><a href="#org12a205c">Unding all the key bindings</a></li> <li><a href="#org12a205c">Unding all the key bindings</a></li>
<li><a href="#org33de0ba">Quit Neomutt</a></li> <li><a href="#org33de0ba">Quit Neomutt</a></li>
<li><a href="#org6e9e17d">Generic</a></li> <li><a href="#org2244236">Generic</a></li>
<li><a href="#org39630e2">Index and Pager</a></li> <li><a href="#org39630e2">Index and Pager</a></li>
<li><a href="#orgc73598b">Limit</a></li> <li><a href="#orgc73598b">Limit</a></li>
<li><a href="#orge5e6fdf">Search</a></li> <li><a href="#orge5e6fdf">Search</a></li>
<li><a href="#org9a984f4">Attachments</a></li> <li><a href="#org43ea4f8">Attachments</a></li>
<li><a href="#org6b5b778">Compose</a> <li><a href="#org6b5b778">Compose</a>
<ul> <ul>
<li><a href="#org7848e3c">Attach with Ranger Script</a></li> <li><a href="#org7848e3c">Attach with Ranger Script</a></li>
@ -300,9 +274,9 @@ for the JavaScript code in this tag.
</ul> </ul>
</li> </li>
<li><a href="#orga459fea">Browser</a></li> <li><a href="#orga459fea">Browser</a></li>
<li><a href="#org2244236">Generic</a></li> <li><a href="#org6dcc999">Generic</a></li>
<li><a href="#org81e57df">Copy and move mails</a></li> <li><a href="#org81e57df">Copy and move mails</a></li>
<li><a href="#org06b4d72">Sidebar</a></li> <li><a href="#org1d71622">Sidebar</a></li>
<li><a href="#orgcbcfabe">Reload Configuration</a></li> <li><a href="#orgcbcfabe">Reload Configuration</a></li>
<li><a href="#org62625e7">urlview - Open URL in emails</a></li> <li><a href="#org62625e7">urlview - Open URL in emails</a></li>
<li><a href="#org2c7bcf7">Searching using Mu</a></li> <li><a href="#org2c7bcf7">Searching using Mu</a></li>
@ -317,9 +291,9 @@ for the JavaScript code in this tag.
<ul> <ul>
<li><a href="#org4a8185b">Basic colors</a></li> <li><a href="#org4a8185b">Basic colors</a></li>
<li><a href="#org376f35d">Index</a></li> <li><a href="#org376f35d">Index</a></li>
<li><a href="#org7636afa">Sidebar</a></li> <li><a href="#org22b4d5a">Sidebar</a></li>
<li><a href="#orge423775">Message headers</a></li> <li><a href="#orge423775">Message headers</a></li>
<li><a href="#org96f9dc1">Attachments</a></li> <li><a href="#org1885cb6">Attachments</a></li>
<li><a href="#orgb4d93d5">Body</a></li> <li><a href="#orgb4d93d5">Body</a></li>
<li><a href="#org07b1c9d">PGP</a></li> <li><a href="#org07b1c9d">PGP</a></li>
<li><a href="#org4f061d9">Urls</a></li> <li><a href="#org4f061d9">Urls</a></li>
@ -333,26 +307,26 @@ for the JavaScript code in this tag.
<ul> <ul>
<li><a href="#orgbd57e22">Gmail</a> <li><a href="#orgbd57e22">Gmail</a>
<ul> <ul>
<li><a href="#org17e24f8">Configuration</a></li> <li><a href="#orgca3b3c7">Configuration</a></li>
<li><a href="#org1b06b9a">Signature</a></li> <li><a href="#org60ac01e">Signature</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgc13752f">ESRF</a> <li><a href="#orgc13752f">ESRF</a>
<ul> <ul>
<li><a href="#org45a81d4">Configuration</a></li> <li><a href="#org6649b77">Configuration</a></li>
<li><a href="#org5a6170a">Signature</a></li> <li><a href="#org4d9caaf">Signature</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgd5fd652">ULG</a> <li><a href="#orgd5fd652">ULG</a>
<ul> <ul>
<li><a href="#org5f2e2dd">Configuration</a></li> <li><a href="#org8f88209">Configuration</a></li>
<li><a href="#org94d9d18">Signature</a></li> <li><a href="#orgb64fb5c">Signature</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgc6c55ac">ULIEGE</a> <li><a href="#orgc6c55ac">ULIEGE</a>
<ul> <ul>
<li><a href="#orgca3b3c7">Configuration</a></li> <li><a href="#org9ff5751">Configuration</a></li>
<li><a href="#org60ac01e">Signature</a></li> <li><a href="#orgd91b6d6">Signature</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -367,13 +341,13 @@ for the JavaScript code in this tag.
<li><a href="#orge1d1147">Headers</a></li> <li><a href="#orge1d1147">Headers</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org1d71622">Sidebar</a> <li><a href="#org62b51ff">Sidebar</a>
<ul> <ul>
<li><a href="#org953ed4c">General Config</a></li> <li><a href="#org953ed4c">General Config</a></li>
<li><a href="#org61e4389">Mailboxes to show in the sidebar.</a></li> <li><a href="#org61e4389">Mailboxes to show in the sidebar.</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org43ea4f8">Attachments</a> <li><a href="#org85c9b0e">Attachments</a>
<ul> <ul>
<li><a href="#org39c5999">Attachment View Options</a></li> <li><a href="#org39c5999">Attachment View Options</a></li>
<li><a href="#org7a51e1d">Open Attachment</a></li> <li><a href="#org7a51e1d">Open Attachment</a></li>
@ -418,9 +392,9 @@ Expunge Both
</div> </div>
</div> </div>
<div id="outline-container-org35f28e8" class="outline-3"> <div id="outline-container-orgdbef2d9" class="outline-3">
<h3 id="org35f28e8">Gmail Account</h3> <h3 id="orgdbef2d9">Gmail Account</h3>
<div class="outline-text-3" id="text-org35f28e8"> <div class="outline-text-3" id="text-orgdbef2d9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">IMAPAccount gmail <pre class="src src-conf">IMAPAccount gmail
Host imap.gmail.com Host imap.gmail.com
@ -495,9 +469,9 @@ Sync Pull
</div> </div>
</div> </div>
<div id="outline-container-org9005d20" class="outline-3"> <div id="outline-container-org53c9391" class="outline-3">
<h3 id="org9005d20">ESRF Account</h3> <h3 id="org53c9391">ESRF Account</h3>
<div class="outline-text-3" id="text-org9005d20"> <div class="outline-text-3" id="text-org53c9391">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">IMAPAccount esrf <pre class="src src-conf">IMAPAccount esrf
Host imaps.esrf.fr Host imaps.esrf.fr
@ -712,9 +686,9 @@ tls_certcheck off
</div> </div>
</div> </div>
<div id="outline-container-orgdbef2d9" class="outline-3"> <div id="outline-container-org5827a09" class="outline-3">
<h3 id="orgdbef2d9">Gmail Account</h3> <h3 id="org5827a09">Gmail Account</h3>
<div class="outline-text-3" id="text-orgdbef2d9"> <div class="outline-text-3" id="text-org5827a09">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">account gmail <pre class="src src-conf">account gmail
host smtp.gmail.com host smtp.gmail.com
@ -728,9 +702,9 @@ passwordeval <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</spa
</div> </div>
</div> </div>
<div id="outline-container-org53c9391" class="outline-3"> <div id="outline-container-org88aa54d" class="outline-3">
<h3 id="org53c9391">ESRF Account</h3> <h3 id="org88aa54d">ESRF Account</h3>
<div class="outline-text-3" id="text-org53c9391"> <div class="outline-text-3" id="text-org88aa54d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">account esrf <pre class="src src-conf">account esrf
host smtps.esrf.fr host smtps.esrf.fr
@ -795,18 +769,10 @@ passwordeval <span class="org-string">"pass email/tdehaeze@uliege.be"</span>
<div class="outline-text-2" id="text-org8e85c4d"> <div class="outline-text-2" id="text-org8e85c4d">
<p> <p>
<a href="http://www.djcbsoftware.nl/code/mu/">http://www.djcbsoftware.nl/code/mu/</a> <a href="http://www.djcbsoftware.nl/code/mu/">http://www.djcbsoftware.nl/code/mu/</a>
</p>
</div>
<div id="outline-container-orgd1bb167" class="outline-3">
<h3 id="orgd1bb167">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgd1bb167">
<p>
<a href="http://www.djcbsoftware.nl/code/mu/cheatsheet.html">http://www.djcbsoftware.nl/code/mu/cheatsheet.html</a> <a href="http://www.djcbsoftware.nl/code/mu/cheatsheet.html">http://www.djcbsoftware.nl/code/mu/cheatsheet.html</a>
</p> </p>
</div> </div>
</div> </div>
</div>
<div id="outline-container-orgc7467fd" class="outline-2"> <div id="outline-container-orgc7467fd" class="outline-2">
<h2 id="orgc7467fd">Mail Client - NeoMutt</h2> <h2 id="orgc7467fd">Mail Client - NeoMutt</h2>
@ -1113,9 +1079,9 @@ macro index q <span class="org-string">"&lt;shell-escape&gt;if [ $TMUX ]; then t
</div> </div>
</div> </div>
<div id="outline-container-org6e9e17d" class="outline-4"> <div id="outline-container-org2244236" class="outline-4">
<h4 id="org6e9e17d">Generic</h4> <h4 id="org2244236">Generic</h4>
<div class="outline-text-4" id="text-org6e9e17d"> <div class="outline-text-4" id="text-org2244236">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">bind generic Q exit <pre class="src src-conf">bind generic Q exit
@ -1279,9 +1245,9 @@ bind index,pager N search-opposite
</div> </div>
</div> </div>
<div id="outline-container-org9a984f4" class="outline-4"> <div id="outline-container-org43ea4f8" class="outline-4">
<h4 id="org9a984f4">Attachments</h4> <h4 id="org43ea4f8">Attachments</h4>
<div class="outline-text-4" id="text-org9a984f4"> <div class="outline-text-4" id="text-org43ea4f8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">bind attach l view-attach <pre class="src src-conf">bind attach l view-attach
@ -1374,9 +1340,9 @@ bind browser q exit
</div> </div>
</div> </div>
<div id="outline-container-org2244236" class="outline-4"> <div id="outline-container-org6dcc999" class="outline-4">
<h4 id="org2244236">Generic</h4> <h4 id="org6dcc999">Generic</h4>
<div class="outline-text-4" id="text-org2244236"> <div class="outline-text-4" id="text-org6dcc999">
<p> <p>
Enter Command Enter Command
</p> </p>
@ -1398,9 +1364,9 @@ macro index M <span class="org-string">"&lt;save-message&gt;?&lt;toggle-mailboxe
</div> </div>
</div> </div>
<div id="outline-container-org06b4d72" class="outline-4"> <div id="outline-container-org1d71622" class="outline-4">
<h4 id="org06b4d72">Sidebar</h4> <h4 id="org1d71622">Sidebar</h4>
<div class="outline-text-4" id="text-org06b4d72"> <div class="outline-text-4" id="text-org1d71622">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">bind index,pager \Ck sidebar-prev <pre class="src src-conf">bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next bind index,pager \Cj sidebar-next
@ -1563,9 +1529,9 @@ color index brightcolor000 color001 <span class="org-string">"~v~(~D)"</span>
</div> </div>
</div> </div>
<div id="outline-container-org7636afa" class="outline-4"> <div id="outline-container-org22b4d5a" class="outline-4">
<h4 id="org7636afa">Sidebar</h4> <h4 id="org22b4d5a">Sidebar</h4>
<div class="outline-text-4" id="text-org7636afa"> <div class="outline-text-4" id="text-org22b4d5a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">color sidebar_indicator color000 color021 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is open</span> <pre class="src src-conf">color sidebar_indicator color000 color021 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is open</span>
color sidebar_highlight color000 color003 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is highlighted</span> color sidebar_highlight color000 color003 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is highlighted</span>
@ -1588,9 +1554,9 @@ color header brightcolor004 color000 <span class="org-string">"^(Subject)"</
</div> </div>
</div> </div>
<div id="outline-container-org96f9dc1" class="outline-4"> <div id="outline-container-org1885cb6" class="outline-4">
<h4 id="org96f9dc1">Attachments</h4> <h4 id="org1885cb6">Attachments</h4>
<div class="outline-text-4" id="text-org96f9dc1"> <div class="outline-text-4" id="text-org1885cb6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color if the attachment is autoviewed</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color if the attachment is autoviewed</span>
color attach_headers brightgreen default <span class="org-string">"Autoview"</span> color attach_headers brightgreen default <span class="org-string">"Autoview"</span>
@ -1736,9 +1702,9 @@ macro index,pager gm <span class="org-string">"&lt;change-folder&gt;+gmail/Inbox
<h4 id="orgbd57e22">Gmail</h4> <h4 id="orgbd57e22">Gmail</h4>
<div class="outline-text-4" id="text-orgbd57e22"> <div class="outline-text-4" id="text-orgbd57e22">
</div> </div>
<div id="outline-container-org17e24f8" class="outline-5"> <div id="outline-container-orgca3b3c7" class="outline-5">
<h5 id="org17e24f8">Configuration</h5> <h5 id="orgca3b3c7">Configuration</h5>
<div class="outline-text-5" id="text-org17e24f8"> <div class="outline-text-5" id="text-orgca3b3c7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"dehaeze.thomas@gmail.com"</span> <pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"dehaeze.thomas@gmail.com"</span>
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a gmail"</span> <span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a gmail"</span>
@ -1762,9 +1728,9 @@ macro index,pager D \
</div> </div>
</div> </div>
<div id="outline-container-org1b06b9a" class="outline-5"> <div id="outline-container-org60ac01e" class="outline-5">
<h5 id="org1b06b9a">Signature</h5> <h5 id="org60ac01e">Signature</h5>
<div class="outline-text-5" id="text-org1b06b9a"> <div class="outline-text-5" id="text-org60ac01e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze <pre class="src src-conf">Thomas Dehaeze
</pre> </pre>
@ -1784,9 +1750,9 @@ This empty code block is used to add a new line after signature
<h4 id="orgc13752f">ESRF</h4> <h4 id="orgc13752f">ESRF</h4>
<div class="outline-text-4" id="text-orgc13752f"> <div class="outline-text-4" id="text-orgc13752f">
</div> </div>
<div id="outline-container-org45a81d4" class="outline-5"> <div id="outline-container-org6649b77" class="outline-5">
<h5 id="org45a81d4">Configuration</h5> <h5 id="org6649b77">Configuration</h5>
<div class="outline-text-5" id="text-org45a81d4"> <div class="outline-text-5" id="text-org6649b77">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@esrf.fr"</span> <pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@esrf.fr"</span>
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a esrf"</span> <span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a esrf"</span>
@ -1810,9 +1776,9 @@ macro index,pager D \
</div> </div>
</div> </div>
<div id="outline-container-org5a6170a" class="outline-5"> <div id="outline-container-org4d9caaf" class="outline-5">
<h5 id="org5a6170a">Signature</h5> <h5 id="org4d9caaf">Signature</h5>
<div class="outline-text-5" id="text-org5a6170a"> <div class="outline-text-5" id="text-org4d9caaf">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze <pre class="src src-conf">Thomas Dehaeze
</pre> </pre>
@ -1832,9 +1798,9 @@ This empty code block is used to add a new line after signature
<h4 id="orgd5fd652">ULG</h4> <h4 id="orgd5fd652">ULG</h4>
<div class="outline-text-4" id="text-orgd5fd652"> <div class="outline-text-4" id="text-orgd5fd652">
</div> </div>
<div id="outline-container-org5f2e2dd" class="outline-5"> <div id="outline-container-org8f88209" class="outline-5">
<h5 id="org5f2e2dd">Configuration</h5> <h5 id="org8f88209">Configuration</h5>
<div class="outline-text-5" id="text-org5f2e2dd"> <div class="outline-text-5" id="text-org8f88209">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@doct.uliege.be"</span> <pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@doct.uliege.be"</span>
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a ulg"</span> <span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a ulg"</span>
@ -1858,9 +1824,9 @@ macro index,pager D \
</div> </div>
</div> </div>
<div id="outline-container-org94d9d18" class="outline-5"> <div id="outline-container-orgb64fb5c" class="outline-5">
<h5 id="org94d9d18">Signature</h5> <h5 id="orgb64fb5c">Signature</h5>
<div class="outline-text-5" id="text-org94d9d18"> <div class="outline-text-5" id="text-orgb64fb5c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze <pre class="src src-conf">Thomas Dehaeze
</pre> </pre>
@ -1880,9 +1846,9 @@ This empty code block is used to add a new line after signature
<h4 id="orgc6c55ac">ULIEGE</h4> <h4 id="orgc6c55ac">ULIEGE</h4>
<div class="outline-text-4" id="text-orgc6c55ac"> <div class="outline-text-4" id="text-orgc6c55ac">
</div> </div>
<div id="outline-container-orgca3b3c7" class="outline-5"> <div id="outline-container-org9ff5751" class="outline-5">
<h5 id="orgca3b3c7">Configuration</h5> <h5 id="org9ff5751">Configuration</h5>
<div class="outline-text-5" id="text-orgca3b3c7"> <div class="outline-text-5" id="text-org9ff5751">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"tdehaeze@uliege.be"</span> <pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"tdehaeze@uliege.be"</span>
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a uliege"</span> <span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a uliege"</span>
@ -1906,9 +1872,9 @@ macro index,pager D \
</div> </div>
</div> </div>
<div id="outline-container-org60ac01e" class="outline-5"> <div id="outline-container-orgd91b6d6" class="outline-5">
<h5 id="org60ac01e">Signature</h5> <h5 id="orgd91b6d6">Signature</h5>
<div class="outline-text-5" id="text-org60ac01e"> <div class="outline-text-5" id="text-orgd91b6d6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze <pre class="src src-conf">Thomas Dehaeze
</pre> </pre>
@ -2043,9 +2009,9 @@ hdr_order from: to: cc: date: subject: <span class="org-comment-delimiter"># </
</div> </div>
</div> </div>
<div id="outline-container-org1d71622" class="outline-3"> <div id="outline-container-org62b51ff" class="outline-3">
<h3 id="org1d71622">Sidebar</h3> <h3 id="org62b51ff">Sidebar</h3>
<div class="outline-text-3" id="text-org1d71622"> <div class="outline-text-3" id="text-org62b51ff">
</div> </div>
<div id="outline-container-org953ed4c" class="outline-4"> <div id="outline-container-org953ed4c" class="outline-4">
<h4 id="org953ed4c">General Config</h4> <h4 id="org953ed4c">General Config</h4>
@ -2169,9 +2135,9 @@ unset move
</div> </div>
</div> </div>
<div id="outline-container-org43ea4f8" class="outline-3"> <div id="outline-container-org85c9b0e" class="outline-3">
<h3 id="org43ea4f8">Attachments</h3> <h3 id="org85c9b0e">Attachments</h3>
<div class="outline-text-3" id="text-org43ea4f8"> <div class="outline-text-3" id="text-org85c9b0e">
</div> </div>
<div id="outline-container-org39c5999" class="outline-4"> <div id="outline-container-org39c5999" class="outline-4">
<h4 id="org39c5999">Attachment View Options</h4> <h4 id="org39c5999">Attachment View Options</h4>
@ -2370,7 +2336,7 @@ text/rtf; libreoffice --nologo --writer <span class="org-string">'%s'</span>; co
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Music/Sound Configuration</title> <title>Music/Sound Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -265,20 +243,6 @@ for the JavaScript code in this tag.
<li><a href="#orgef62173">Bindings</a></li> <li><a href="#orgef62173">Bindings</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org29ff9bd">MPD (not used anymore)</a>
<ul>
<li><a href="#org29acd51">Files and directories</a></li>
<li><a href="#org56ab0a3">General music daemon options</a></li>
<li><a href="#org3492e49">Symbolic link behavior</a></li>
<li><a href="#orgdf4e594">Zeroconf / Avahi Service Discovery</a></li>
<li><a href="#org59b27de">Permissions</a></li>
<li><a href="#orgc961a82">Database</a></li>
<li><a href="#org297b2d2">Input</a></li>
<li><a href="#org4064aa8">Audio Output</a></li>
<li><a href="#org68fdf05">Normalization automatic volume adjustments</a></li>
<li><a href="#orgac3dbcb">Character Encoding</a></li>
</ul>
</li>
<li><a href="#org4ad4c04">Beets</a></li> <li><a href="#org4ad4c04">Beets</a></li>
<li><a href="#org887303a">Mopidy</a></li> <li><a href="#org887303a">Mopidy</a></li>
<li><a href="#org6b37adb">Radio with curseradio</a></li> <li><a href="#org6b37adb">Radio with curseradio</a></li>
@ -315,22 +279,27 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
<div id="outline-container-orgc496501" class="outline-3"> <div id="outline-container-orgc496501" class="outline-3">
<h3 id="orgc496501">Config</h3> <h3 id="orgc496501">Config</h3>
<div class="outline-text-3" id="text-orgc496501"> <div class="outline-text-3" id="text-orgc496501">
<p>
Configuration directory.
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp <pre class="src src-conf"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp
</pre> </pre>
</div> </div>
<p>
MPD Configuration.
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">mpd_host</span> = localhost <pre class="src src-conf"><span class="org-variable-name">mpd_host</span> = localhost
<span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span> <span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">mpd_music_dir</span> = ~/Music
</pre> </pre>
</div> </div>
<div class="org-src-container"> <p>
<pre class="src src-conf"><span class="org-variable-name">mpd_music_dir</span> = ~/Music Notification of song change.
</pre> </p>
</div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = dunstify --replace=<span class="org-highlight-numbers-number">19845</span> <span class="org-string">"Now Playing &#9835;"</span> <span class="org-string">"$(mpc current)"</span> <pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = dunstify --replace=<span class="org-highlight-numbers-number">19845</span> <span class="org-string">"Now Playing &#9835;"</span> <span class="org-string">"$(mpc current)"</span>
</pre> </pre>
@ -381,408 +350,6 @@ def_key <span class="org-string">"-"</span>
</div> </div>
</div> </div>
<div id="outline-container-org29ff9bd" class="outline-2">
<h2 id="org29ff9bd">MPD (not used anymore)</h2>
<div class="outline-text-2" id="text-org29ff9bd">
<p>
<a href="https://www.musicpd.org/">https://www.musicpd.org/</a>
</p>
</div>
<div id="outline-container-org29acd51" class="outline-3">
<h3 id="org29acd51">Files and directories</h3>
<div class="outline-text-3" id="text-org29acd51">
<div class="org-src-container">
<pre class="src src-conf">music_directory <span class="org-string">"~/Music"</span>
playlist_directory <span class="org-string">"~/.config/mpd/playlists"</span>
db_file <span class="org-string">"~/.config/mpd/database"</span>
log_file <span class="org-string">"~/.config/mpd/log"</span>
pid_file <span class="org-string">"~/.config/mpd/pid"</span>
state_file <span class="org-string">"~/.config/mpd/state"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org56ab0a3" class="outline-3">
<h3 id="org56ab0a3">General music daemon options</h3>
<div class="outline-text-3" id="text-org56ab0a3">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">This setting specifies the user that MPD will run as. MPD should never run as</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">root and you may use this setting to make MPD change its user ID after</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">initialization. This setting is disabled by default and MPD is run as the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">current user.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">user "nobody"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting specifies the group that MPD will run as. If not specified</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">primary group of user specified with "user" setting will be used (if set).</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This is useful if MPD needs to be a member of group such as "audio" to</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">have permission to use sound card.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">group "nogroup"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting sets the address for the daemon to listen on. Careful attention</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">should be paid if this is assigned to anything other then the default, any.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting can deny access to control of the daemon. Not effective if</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">systemd socket activiation is in use.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">For network</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">bind_to_address "any"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">And for Unix Socket</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">bind_to_address "~/.mpd/socket"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting is the TCP port that is desired for the daemon to get assigned</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">to.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">port "6600"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting controls the type of information which is logged. Available</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">setting arguments are "default", "secure" or "verbose". The "verbose" setting</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">argument is recommended for troubleshooting, though can quickly stretch</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">available resources on limited hardware storage.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">log_level "default"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Setting "restore_paused" to "yes" puts MPD into pause mode instead</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">of starting playback after startup.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">restore_paused "no"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting enables MPD to create playlists in a format usable by other</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">music players.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">save_absolute_paths_in_playlists "no"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting defines a list of tag types that will be extracted during the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">audio file discovery process. The complete list of possible values can be</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">found in the user manual.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This example just enables the "comment" tag without disabling all</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">the other supported tags:</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">metadata_to_use "+comment"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting enables automatic update of MPD's database when files in</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">music_directory are changed.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">auto_update "yes"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Limit the depth of the directories being watched, 0 means only watch</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">the music directory itself. There is no limit by default.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">auto_update_depth "3"</span>
<span class="org-comment-delimiter">#</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org3492e49" class="outline-3">
<h3 id="org3492e49">Symbolic link behavior</h3>
<div class="outline-text-3" id="text-org3492e49">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">If this setting is set to "yes", MPD will discover audio files by following</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">symbolic links outside of the configured music_directory.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">follow_outside_symlinks "yes"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If this setting is set to "yes", MPD will discover audio files by following</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">symbolic links inside of the configured music_directory.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">follow_inside_symlinks "yes"</span>
<span class="org-comment-delimiter">#</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdf4e594" class="outline-3">
<h3 id="orgdf4e594">Zeroconf / Avahi Service Discovery</h3>
<div class="outline-text-3" id="text-orgdf4e594">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">If this setting is set to "yes", service information will be published with</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Zeroconf / Avahi.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">zeroconf_enabled "yes"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">The argument to this setting will be the Zeroconf / Avahi unique name for</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">this MPD server on the network. %h will be replaced with the hostname.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">zeroconf_name "Music Player @ %h"</span>
<span class="org-comment-delimiter">#</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org59b27de" class="outline-3">
<h3 id="org59b27de">Permissions</h3>
<div class="outline-text-3" id="text-org59b27de">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">If this setting is set, MPD will require password authorization. The password</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">setting can be specified multiple times for different password profiles.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">password "password@read,add,control,admin"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting specifies the permissions a user has who has not yet logged in.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">default_permissions "read,add,control,admin"</span>
<span class="org-comment-delimiter">#</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc961a82" class="outline-3">
<h3 id="orgc961a82">Database</h3>
<div class="outline-text-3" id="text-orgc961a82">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">database</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">plugin "proxy"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">host "other.mpd.host"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">port "6600"</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org297b2d2" class="outline-3">
<h3 id="org297b2d2">Input</h3>
<div class="outline-text-3" id="text-org297b2d2">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-type">input</span> {
plugin <span class="org-string">"curl"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">proxy "proxy.isp.com:8080"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">proxy_user "user"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">proxy_password "password"</span>
}
</pre>
</div>
</div>
</div>
<div id="outline-container-org4064aa8" class="outline-3">
<h3 id="org4064aa8">Audio Output</h3>
<div class="outline-text-3" id="text-org4064aa8">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">MPD supports various audio output types, as well as playing through multiple</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">audio outputs at the same time, through multiple audio_output settings</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">blocks. Setting this block is optional, though the server will only attempt</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">autodetection for one sound card.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of an ALSA output:</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "alsa"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My ALSA Device"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">period_time "50000"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">device "hw:0,0" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_type "hardware" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_device "default" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_control "PCM" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_index "0" # optional</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">For NCMPCPP Visualizer</span>
<span class="org-type">audio_output</span> {
type <span class="org-string">"fifo"</span>
name <span class="org-string">"Visualizer feed"</span>
path <span class="org-string">"/tmp/mpd.fifo"</span>
format <span class="org-string">"44100:16:2"</span>
}
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of an OSS output:</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "oss"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My OSS Device"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">device "/dev/dsp" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_type "hardware" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_device "/dev/mixer" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_control "PCM" # optional</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of a shout output (for streaming to Icecast):</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "shout"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">encoder "vorbis" # optional</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My Shout Stream"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">host "localhost"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">port "8000"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">mount "/mpd.ogg"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">password "hackme"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">quality "5.0"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">bitrate "128"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">format "44100:16:1"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">protocol "icecast2" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">user "source" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">description "My Stream Description" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">url "http://example.com" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">genre "jazz" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">public "no" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">timeout "2" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_type "software" # optional</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of a recorder output:</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "recorder"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My recorder"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">encoder "vorbis" # optional, vorbis or lame</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">path "/var/lib/mpd/recorder/mpd.ogg"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">quality "5.0" # do not define if bitrate is defined</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">bitrate "128" # do not define if quality is defined</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">format "44100:16:1"</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of a httpd output (built-in HTTP streaming server):</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "httpd"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My HTTP Stream"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">encoder "vorbis" # optional, vorbis or lame</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">port "8000"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">bind_to_address "0.0.0.0" # optional, IPv4 or IPv6</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">quality "5.0" # do not define if bitrate is defined</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">bitrate "128" # do not define if quality is defined</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">format "44100:16:1"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">max_clients "0" # optional 0=no limit</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of a pulseaudio output (streaming to a remote pulseaudio server)</span>
<span class="org-comment-delimiter">#</span>
<span class="org-type">audio_output</span> {
type <span class="org-string">"pulse"</span>
name <span class="org-string">"My Pulse Output"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">server "localhost" # optional</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">sink "remote_server_sink" # optional</span>
}
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of a winmm output (Windows multimedia API).</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "winmm"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My WinMM output"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">or</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">device "0" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">mixer_type "hardware" # optional</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of an openal output.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "openal"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My OpenAL output"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of an sndio output.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "sndio"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "sndio output"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">mixer_type "hardware"</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">An example of an OS X output:</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "osx"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My OS X Device"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">device "Built-in Output" # optional</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">channel_map "-1,-1,0,1" # optional</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">Example "pipe" output:</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "pipe"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "my pipe"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">command "aplay -f cd 2&gt;/dev/null"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">Or if you're want to use AudioCompress</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">command "AudioCompress -m | aplay -f cd 2&gt;/dev/null"</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">Or to send raw PCM stream through PCM:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">command "nc example.org 8765"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">format "44100:16:2"</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">## </span><span class="org-comment">An example of a null output (for no audio output):</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"><span class="org-type">#</span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">type "null"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">name "My Null Output"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">mixer_type "none" # optional</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">}</span>
<span class="org-comment-delimiter">#</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org68fdf05" class="outline-3">
<h3 id="org68fdf05">Normalization automatic volume adjustments</h3>
<div class="outline-text-3" id="text-org68fdf05">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">This setting specifies the type of ReplayGain to use. This setting can have</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">the argument "off", "album", "track" or "auto". "auto" is a special mode that</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">chooses between "track" and "album" depending on the current state of</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">random playback. If random playback is enabled then "track" mode is used.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">See <a href="http://www.replaygain.org">&lt;http://www.replaygain.org&gt;</a> for more details about ReplayGain.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting is off by default.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">replaygain "album"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting sets the pre-amp used for files that have ReplayGain tags. By</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">default this setting is disabled.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">replaygain_preamp "0"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting sets the pre-amp used for files that do NOT have ReplayGain tags.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">By default this setting is disabled.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">replaygain_missing_preamp "0"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting enables or disables ReplayGain limiting.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">MPD calculates actual amplification based on the ReplayGain tags</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">and replaygain_preamp / replaygain_missing_preamp setting.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If replaygain_limit is enabled MPD will never amplify audio signal</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">above its original level. If replaygain_limit is disabled such amplification</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">might occur. By default this setting is enabled.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">replaygain_limit "yes"</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting enables on-the-fly normalization volume adjustment. This will</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">result in the volume of all playing audio to be adjusted so the output has</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">equal "loudness". This setting is disabled by default.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">volume_normalization "no"</span>
<span class="org-comment-delimiter">#</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgac3dbcb" class="outline-3">
<h3 id="orgac3dbcb">Character Encoding</h3>
<div class="outline-text-3" id="text-orgac3dbcb">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">If file or directory names do not display correctly for your locale then you</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">may need to modify this setting.</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">filesystem_charset "UTF-8"</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org4ad4c04" class="outline-2"> <div id="outline-container-org4ad4c04" class="outline-2">
<h2 id="org4ad4c04">Beets</h2> <h2 id="org4ad4c04">Beets</h2>
<div class="outline-text-2" id="text-org4ad4c04"> <div class="outline-text-2" id="text-org4ad4c04">
@ -793,9 +360,12 @@ state_file <span class="org-string">"~/.config/mpd/state"</span>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">directory: ~/Music <pre class="src src-conf">directory: ~/Music
library: ~/Music/musiclibrary.db library: ~/Music/musiclibrary.db
art_filename: cover
import: import:
move: yes move: yes
plugins: fromfilename discogs
</pre> </pre>
</div> </div>
</div> </div>
@ -809,7 +379,7 @@ import:
<span class="org-variable-name">username</span> = dehaeze.thomas@gmail.com <span class="org-variable-name">username</span> = dehaeze.thomas@gmail.com
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt; <span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt;
<span class="org-variable-name">client_id</span> = 3b740ab1-f26f-4c38-aee0-4dcb9e58b375 <span class="org-variable-name">client_id</span> = 3b740ab1-f26f-4c38-aee0-4dcb9e58b375
<span class="org-variable-name">client_secret</span> = mspixJ52Yq5xQKF980Rij8_geTM_2VU1Euk5K86uwfg= <span class="org-variable-name">client_secret</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify/client_secret"</span>)&gt;&gt;
<span class="org-variable-name">bitrate</span> = <span class="org-highlight-numbers-number">320</span> <span class="org-variable-name">bitrate</span> = <span class="org-highlight-numbers-number">320</span>
[<span class="org-type">mpd</span>] [<span class="org-type">mpd</span>]
@ -823,6 +393,22 @@ import:
<span class="org-variable-name">command_blacklist</span> = listall,listallinfo <span class="org-variable-name">command_blacklist</span> = listall,listallinfo
<span class="org-variable-name">default_playlist_scheme</span> = m3u <span class="org-variable-name">default_playlist_scheme</span> = m3u
[<span class="org-type">file</span>]
<span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> =
.db
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
[<span class="org-type">audio</span>] [<span class="org-type">audio</span>]
<span class="org-variable-name">output</span> = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=<span class="org-highlight-numbers-number">44100</span>,channels=<span class="org-highlight-numbers-number">2</span>,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo <span class="org-variable-name">output</span> = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=<span class="org-highlight-numbers-number">44100</span>,channels=<span class="org-highlight-numbers-number">2</span>,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo
</pre> </pre>
@ -861,7 +447,7 @@ import:
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:20 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Newsboat Configuration</title> <title>Newsboat Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -352,7 +330,7 @@ player <span class="org-string">"mpv"</span>
<div class="outline-text-3" id="text-orga70d8cc"> <div class="outline-text-3" id="text-orga70d8cc">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">notify-format <span class="org-string">"%n unread articles"</span> <pre class="src src-conf">notify-format <span class="org-string">"%n unread articles"</span>
notify-program ~/scripts/newsboat-notify.sh notify-program ~/.config/newsboat/scripts/newsboat-notify.sh
notify-always no notify-always no
</pre> </pre>
</div> </div>
@ -362,7 +340,7 @@ notify-always no
<h4 id="orgc06be83">Notification Script</h4> <h4 id="orgc06be83">Notification Script</h4>
<div class="outline-text-4" id="text-orgc06be83"> <div class="outline-text-4" id="text-orgc06be83">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">dunstify -replace=<span class="org-highlight-numbers-number">38492</span> <span class="org-string">"Newsbeuter &#61763;"</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">1</span></span><span class="org-string">"</span> <pre class="src src-bash">dunstify -replace=<span class="org-highlight-numbers-number">38492</span> <span class="org-string">"Newsboat &#61763;"</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">1</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -420,10 +398,10 @@ macro , open-in-browser
<span class="org-comment-delimiter"># </span><span class="org-comment">Download Video with Youtube-DL</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Download Video with Youtube-DL</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">TODO - Should write a script for that? Maybe open a tmux script if newsboat is in tmux pane?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">TODO - Should write a script for that? Maybe open a tmux script if newsboat is in tmux pane?</span>
macro t set browser <span class="org-string">"~/scripts/download-video.sh %u"</span> ; open-in-browser ; set browser <span class="org-string">"qutebrowser %u"</span> macro t set browser <span class="org-string">"~/bin/yt-video %u"</span> ; open-in-browser ; set browser <span class="org-string">"qutebrowser %u"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Download Audio with Youtube-DL</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Download Audio with Youtube-DL</span>
macro a set browser <span class="org-string">"~/scripts/download-audio.sh %u"</span> ; open-in-browser ; set browser <span class="org-string">"qutebrowser %u"</span> macro a set browser <span class="org-string">"~/bin/yt-audio %u"</span> ; open-in-browser ; set browser <span class="org-string">"qutebrowser %u"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Open Video with MPV</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Open Video with MPV</span>
macro v set browser <span class="org-string">"setsid nohup mpv %u &amp;&gt; /dev/null &amp;"</span> ; open-in-browser ; set browser <span class="org-string">"qutebrowser %u"</span> macro v set browser <span class="org-string">"setsid nohup mpv %u &amp;&gt; /dev/null &amp;"</span> ; open-in-browser ; set browser <span class="org-string">"qutebrowser %u"</span>
@ -614,7 +592,7 @@ http://radiofrance-podcast.net/podcast09/rss_18911.xml <span class="org-string">
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:20</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-12 dim. 17:28 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Polybar Configuration</title> <title>Polybar Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -285,10 +263,16 @@ for the JavaScript code in this tag.
</li> </li>
<li><a href="#org10f4424">NordVPN</a> <li><a href="#org10f4424">NordVPN</a>
<ul> <ul>
<li><a href="#org1858160">Nordvpn Status script</a></li> <li><a href="#org1858160"><span class="todo TODO">TODO</span> Nordvpn Status script</a></li>
<li><a href="#orgfb45dca">Nordvpn Toggle</a></li> <li><a href="#orgfb45dca">Nordvpn Toggle</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org3734bc8">Packages</a>
<ul>
<li><a href="#org9b8a9c8">Packages Status script</a></li>
<li><a href="#orgb3e71da">Packages Update</a></li>
</ul>
</li>
<li><a href="#orga78a541">Dunst</a> <li><a href="#orga78a541">Dunst</a>
<ul> <ul>
<li><a href="#org05dbfd7">Dunst Status script</a></li> <li><a href="#org05dbfd7">Dunst Status script</a></li>
@ -324,41 +308,22 @@ for the JavaScript code in this tag.
<div class="outline-text-2" id="text-orge45175a"> <div class="outline-text-2" id="text-orge45175a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">colors</span>] <pre class="src src-conf">[<span class="org-type">colors</span>]
<span class="org-variable-name">base00</span> = ${xrdb:color0:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">bg</span> = ${xrdb:background}
<span class="org-variable-name">base01</span> = ${xrdb:color10:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">red</span> = ${xrdb:color1}
<span class="org-variable-name">base02</span> = ${xrdb:color11:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">green</span> = ${xrdb:color2}
<span class="org-variable-name">base03</span> = ${xrdb:color8:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">yellow</span> = ${xrdb:color3}
<span class="org-variable-name">base04</span> = ${xrdb:color12:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">blue</span> = ${xrdb:color4}
<span class="org-variable-name">base05</span> = ${xrdb:color7:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">purple</span> = ${xrdb:color5}
<span class="org-variable-name">base06</span> = ${xrdb:color13:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">aqua</span> = ${xrdb:color6}
<span class="org-variable-name">base07</span> = ${xrdb:color15:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">gray</span> = ${colors.color7}
<span class="org-variable-name">base08</span> = ${xrdb:color1:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">darkgray</span> = ${colors.color8}
<span class="org-variable-name">base09</span> = ${xrdb:color9:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">darkred</span> = ${xrdb:color9}
<span class="org-variable-name">base0A</span> = ${xrdb:color3:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">darkgreen</span> = ${xrdb:color10}
<span class="org-variable-name">base0B</span> = ${xrdb:color2:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">darkyellow</span> = ${xrdb:color11}
<span class="org-variable-name">base0C</span> = ${xrdb:color6:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">darkblue</span> = ${xrdb:color12}
<span class="org-variable-name">base0D</span> = ${xrdb:color4:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">darkpurple</span> = ${xrdb:color13}
<span class="org-variable-name">base0E</span> = ${xrdb:color5:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">darkaqua</span> = ${xrdb:color14}
<span class="org-variable-name">base0F</span> = ${xrdb:color14:<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span> <span class="org-variable-name">fg</span> = ${xrdb:foreground}
; based on http://chriskempson.com/projects/base16/
<span class="org-variable-name">background</span> = ${colors.base00}
<span class="org-variable-name">background-light</span> = ${colors.base01}
<span class="org-variable-name">background-selection</span> = ${colors.base02}
<span class="org-variable-name">comments</span> = ${colors.base03}
<span class="org-variable-name">foreground-dark</span> = ${colors.base04}
<span class="org-variable-name">foreground</span> = ${colors.base05}
<span class="org-variable-name">foreground-light</span> = ${colors.base06}
<span class="org-variable-name">foreground-light-bis</span> = ${colors.base07}
<span class="org-variable-name">red</span> = ${colors.base08}
<span class="org-variable-name">orange</span> = ${colors.base09}
<span class="org-variable-name">brown</span> = ${colors.base0A}
<span class="org-variable-name">green</span> = ${colors.base0B}
<span class="org-variable-name">turquoise</span> = ${colors.base0C}
<span class="org-variable-name">blue</span> = ${colors.base0D}
<span class="org-variable-name">purple</span> = ${colors.base0E}
<span class="org-variable-name">magenta</span> = ${colors.base0F}
<span class="org-variable-name">black</span> = ${<span class="org-comment-delimiter">#</span><span class="org-comment">000000}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -390,8 +355,8 @@ for the JavaScript code in this tag.
<span class="org-variable-name">height</span> = <span class="org-highlight-numbers-number">27</span> <span class="org-variable-name">height</span> = <span class="org-highlight-numbers-number">27</span>
<span class="org-variable-name">radius</span> = <span class="org-highlight-numbers-number">0.0</span> <span class="org-variable-name">radius</span> = <span class="org-highlight-numbers-number">0.0</span>
<span class="org-variable-name">background</span> = ${colors.background} <span class="org-variable-name">background</span> = ${colors.bg}
<span class="org-variable-name">foreground</span> = ${colors.foreground} <span class="org-variable-name">foreground</span> = ${colors.fg}
<span class="org-variable-name">line-size</span> = <span class="org-highlight-numbers-number">2</span> <span class="org-variable-name">line-size</span> = <span class="org-highlight-numbers-number">2</span>
@ -409,14 +374,14 @@ for the JavaScript code in this tag.
<span class="org-variable-name">modules-left</span> = i3 bspwm xwindow <span class="org-variable-name">modules-left</span> = i3 bspwm xwindow
<span class="org-variable-name">modules-center</span> = <span class="org-variable-name">modules-center</span> =
<span class="org-variable-name">modules-right</span> = pulseaudio xbacklightredshift nordvpn lockscreen dunst unread_mail cpu battery temperature date <span class="org-variable-name">modules-right</span> = pulseaudio xbacklight redshift packages nordvpn lockscreen dunst unread_mail cpu battery temperature date
<span class="org-variable-name">wm-restack</span> = bspwm <span class="org-variable-name">wm-restack</span> = i3
<span class="org-variable-name">tray-position</span> = right <span class="org-variable-name">tray-position</span> = right
<span class="org-variable-name">tray-detached</span> = true <span class="org-variable-name">tray-detached</span> = true
<span class="org-variable-name">tray-padding</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">tray-padding</span> = <span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">tray-background</span> = ${colors.background} <span class="org-variable-name">tray-background</span> = ${colors.bg}
</pre> </pre>
</div> </div>
</div> </div>
@ -453,28 +418,28 @@ for the JavaScript code in this tag.
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">label-mode-foreground</span> = ${colors.background} <pre class="src src-conf"><span class="org-variable-name">label-mode-foreground</span> = ${colors.bg}
<span class="org-variable-name">label-mode-background</span> = ${colors.foreground} <span class="org-variable-name">label-mode-background</span> = ${colors.fg}
<span class="org-variable-name">label-mode-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-mode-padding</span> = <span class="org-highlight-numbers-number">1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">focused = Active workspace on focused monitor</span> <span class="org-comment-delimiter"># </span><span class="org-comment">focused = Active workspace on focused monitor</span>
<span class="org-variable-name">label-focused</span> = %icon% %index% <span class="org-variable-name">label-focused</span> = %icon% %index%
<span class="org-variable-name">label-focused-foreground</span> = ${colors.foreground} <span class="org-variable-name">label-focused-foreground</span> = ${colors.fg}
<span class="org-variable-name">label-focused-background</span> = ${colors.background} <span class="org-variable-name">label-focused-background</span> = ${colors.bg}
<span class="org-variable-name">label-focused-underline</span> = ${colors.turquoise} <span class="org-variable-name">label-focused-underline</span> = ${colors.aqua}
<span class="org-variable-name">label-focused-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-focused-padding</span> = <span class="org-highlight-numbers-number">1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">unfocused = Inactive workspace on any monitor</span> <span class="org-comment-delimiter"># </span><span class="org-comment">unfocused = Inactive workspace on any monitor</span>
<span class="org-variable-name">label-unfocused</span> = %icon% %index% <span class="org-variable-name">label-unfocused</span> = %icon% %index%
<span class="org-variable-name">label-unfocused-foreground</span> = ${colors.foreground} <span class="org-variable-name">label-unfocused-foreground</span> = ${colors.fg}
<span class="org-variable-name">label-unfocused-background</span> = ${colors.background} <span class="org-variable-name">label-unfocused-background</span> = ${colors.bg}
<span class="org-variable-name">label-unfocused-underline</span> = ${colors.background} <span class="org-variable-name">label-unfocused-underline</span> = ${colors.bg}
<span class="org-variable-name">label-unfocused-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-unfocused-padding</span> = <span class="org-highlight-numbers-number">1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">visible = Active workspace on unfocused monitor</span> <span class="org-comment-delimiter"># </span><span class="org-comment">visible = Active workspace on unfocused monitor</span>
<span class="org-variable-name">label-visible</span> = %icon% %index% <span class="org-variable-name">label-visible</span> = %icon% %index%
<span class="org-variable-name">label-visible-background</span> = ${colors.background} <span class="org-variable-name">label-visible-background</span> = ${colors.bg}
<span class="org-variable-name">label-visible-underline</span> = ${colors.turquoise} <span class="org-variable-name">label-visible-underline</span> = ${colors.aqua}
<span class="org-variable-name">label-visible-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-visible-padding</span> = <span class="org-highlight-numbers-number">1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">urgent = Workspace with urgency hint set</span> <span class="org-comment-delimiter"># </span><span class="org-comment">urgent = Workspace with urgency hint set</span>
@ -512,13 +477,13 @@ for the JavaScript code in this tag.
<span class="org-variable-name">ws-icon-default</span> = <span class="org-variable-name">ws-icon-default</span> =
<span class="org-variable-name">label-focused</span> = %icon% <span class="org-variable-name">label-focused</span> = %icon%
<span class="org-variable-name">label-focused-foreground</span> = ${colors.background} <span class="org-variable-name">label-focused-foreground</span> = ${colors.bg}
<span class="org-variable-name">label-focused-background</span> = ${colors.turquoise} <span class="org-variable-name">label-focused-background</span> = ${colors.aqua}
<span class="org-variable-name">label-focused-underline</span>= ${colors.turquoise} <span class="org-variable-name">label-focused-underline</span>= ${colors.aqua}
<span class="org-variable-name">label-focused-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-focused-padding</span> = <span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">label-occupied</span> = %icon% <span class="org-variable-name">label-occupied</span> = %icon%
<span class="org-variable-name">label-occupied-underline</span> = ${colors.foreground} <span class="org-variable-name">label-occupied-underline</span> = ${colors.fg}
<span class="org-variable-name">label-occupied-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-occupied-padding</span> = <span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">label-urgent</span> = %icon% <span class="org-variable-name">label-urgent</span> = %icon%
@ -526,7 +491,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">label-urgent-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-urgent-padding</span> = <span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">label-empty</span> = %icon% <span class="org-variable-name">label-empty</span> = %icon%
<span class="org-variable-name">label-empty-foreground</span> = ${colors.foreground} <span class="org-variable-name">label-empty-foreground</span> = ${colors.fg}
<span class="org-variable-name">label-empty-padding</span> = <span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">label-empty-padding</span> = <span class="org-highlight-numbers-number">1</span>
</pre> </pre>
</div> </div>
@ -562,8 +527,8 @@ for the JavaScript code in this tag.
<span class="org-comment-delimiter"># </span><span class="org-comment">Used to display the state of random/repeat/repeatone/single</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Used to display the state of random/repeat/repeatone/single</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Only applies if &lt;icon-[random|repeat|repeatone|single]&gt; is used</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Only applies if &lt;icon-[random|repeat|repeatone|single]&gt; is used</span>
<span class="org-variable-name">toggle-on-foreground</span> = ${colors.foreground-light} <span class="org-variable-name">toggle-on-foreground</span> = ${colors.fg}
<span class="org-variable-name">toggle-off-foreground</span> = ${colors.comments} <span class="org-variable-name">toggle-off-foreground</span> = ${colors.gray}
<span class="org-variable-name">bar-progress-width</span> = <span class="org-highlight-numbers-number">15</span> <span class="org-variable-name">bar-progress-width</span> = <span class="org-highlight-numbers-number">15</span>
<span class="org-variable-name">bar-progress-indicator</span> = | <span class="org-variable-name">bar-progress-indicator</span> = |
@ -607,9 +572,9 @@ for the JavaScript code in this tag.
<span class="org-variable-name">type</span> = internal/cpu <span class="org-variable-name">type</span> = internal/cpu
<span class="org-variable-name">interval</span> = <span class="org-highlight-numbers-number">2</span> <span class="org-variable-name">interval</span> = <span class="org-highlight-numbers-number">2</span>
<span class="org-variable-name">format-prefix-foreground</span> = ${colors.foreground} <span class="org-variable-name">format-prefix-foreground</span> = ${colors.fg}
<span class="org-variable-name">format-underline</span> = ${colors.background} <span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">label</span> = %{A1:$TERMINAL -e <span class="org-string">"htop"</span> &amp;:} &#64281; %percentage:2%% %{A} <span class="org-variable-name">label</span> = %{A1:$TERMINAL -e <span class="org-string">"htop"</span> &amp;:} &#64281; %percentage:2%% %{A}
</pre> </pre>
@ -670,7 +635,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">bar-volume-fill-font</span> = <span class="org-highlight-numbers-number">2</span> <span class="org-variable-name">bar-volume-fill-font</span> = <span class="org-highlight-numbers-number">2</span>
<span class="org-variable-name">bar-volume-empty</span> = &#9472; <span class="org-variable-name">bar-volume-empty</span> = &#9472;
<span class="org-variable-name">bar-volume-empty-font</span> = <span class="org-highlight-numbers-number">2</span> <span class="org-variable-name">bar-volume-empty-font</span> = <span class="org-highlight-numbers-number">2</span>
<span class="org-variable-name">bar-volume-empty-foreground</span> = ${colors.foreground} <span class="org-variable-name">bar-volume-empty-foreground</span> = ${colors.fg}
</pre> </pre>
</div> </div>
</div> </div>
@ -694,22 +659,22 @@ for the JavaScript code in this tag.
<span class="org-variable-name">format-discharging-underline</span> = ${colors.red} <span class="org-variable-name">format-discharging-underline</span> = ${colors.red}
<span class="org-variable-name">format-full-prefix</span> = %{A1:xfce4-power-manager-settings &amp;:}&#62016; %{A} <span class="org-variable-name">format-full-prefix</span> = %{A1:xfce4-power-manager-settings &amp;:}&#62016; %{A}
<span class="org-variable-name">format-full-prefix-foreground</span> = ${colors.foreground} <span class="org-variable-name">format-full-prefix-foreground</span> = ${colors.fg}
<span class="org-variable-name">format-full-underline</span> = ${colors.background} <span class="org-variable-name">format-full-underline</span> = ${colors.bg}
<span class="org-variable-name">ramp-capacity-0</span> = &#62020; <span class="org-variable-name">ramp-capacity-0</span> = &#62020;
<span class="org-variable-name">ramp-capacity-1</span> = &#62019; <span class="org-variable-name">ramp-capacity-1</span> = &#62019;
<span class="org-variable-name">ramp-capacity-2</span> = &#62018; <span class="org-variable-name">ramp-capacity-2</span> = &#62018;
<span class="org-variable-name">ramp-capacity-3</span> = &#62017; <span class="org-variable-name">ramp-capacity-3</span> = &#62017;
<span class="org-variable-name">ramp-capacity-4</span> = &#62016; <span class="org-variable-name">ramp-capacity-4</span> = &#62016;
<span class="org-variable-name">ramp-capacity-foreground</span> = ${colors.foreground} <span class="org-variable-name">ramp-capacity-foreground</span> = ${colors.fg}
<span class="org-variable-name">animation-charging-0</span> = &#62020; <span class="org-variable-name">animation-charging-0</span> = &#62020;
<span class="org-variable-name">animation-charging-1</span> = &#62019; <span class="org-variable-name">animation-charging-1</span> = &#62019;
<span class="org-variable-name">animation-charging-2</span> = &#62018; <span class="org-variable-name">animation-charging-2</span> = &#62018;
<span class="org-variable-name">animation-charging-3</span> = &#62017; <span class="org-variable-name">animation-charging-3</span> = &#62017;
<span class="org-variable-name">animation-charging-4</span> = &#62016; <span class="org-variable-name">animation-charging-4</span> = &#62016;
<span class="org-variable-name">animation-charging-foreground</span> = ${colors.foreground} <span class="org-variable-name">animation-charging-foreground</span> = ${colors.fg}
<span class="org-variable-name">animation-charging-framerate</span> = <span class="org-highlight-numbers-number">750</span> <span class="org-variable-name">animation-charging-framerate</span> = <span class="org-highlight-numbers-number">750</span>
<span class="org-variable-name">animation-discharging-0</span> = &#62016; <span class="org-variable-name">animation-discharging-0</span> = &#62016;
@ -717,7 +682,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">animation-discharging-2</span> = &#62018; <span class="org-variable-name">animation-discharging-2</span> = &#62018;
<span class="org-variable-name">animation-discharging-3</span> = &#62019; <span class="org-variable-name">animation-discharging-3</span> = &#62019;
<span class="org-variable-name">animation-discharging-4</span> = &#62020; <span class="org-variable-name">animation-discharging-4</span> = &#62020;
<span class="org-variable-name">animation-discharging-foreground</span> = ${colors.foreground} <span class="org-variable-name">animation-discharging-foreground</span> = ${color.fg}
<span class="org-variable-name">animation-discharging-framerate</span> = <span class="org-highlight-numbers-number">750</span> <span class="org-variable-name">animation-discharging-framerate</span> = <span class="org-highlight-numbers-number">750</span>
</pre> </pre>
</div> </div>
@ -734,11 +699,10 @@ for the JavaScript code in this tag.
<span class="org-variable-name">interval</span> = <span class="org-highlight-numbers-number">5</span> <span class="org-variable-name">interval</span> = <span class="org-highlight-numbers-number">5</span>
<span class="org-variable-name">thermal-zone</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">thermal-zone</span> = <span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">warn-temperature</span> = <span class="org-highlight-numbers-number">70</span> <span class="org-variable-name">warn-temperature</span> = <span class="org-highlight-numbers-number">70</span>
;; Temperature off one cpu core <span class="org-variable-name">hwmon-path</span> = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
<span class="org-variable-name">hwmon-path</span> = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
<span class="org-variable-name">format</span> = %{A1:$TERMINAL -e <span class="org-string">"watch sensors"</span> &amp;:}&lt;ramp&gt; &lt;label&gt;%{A} <span class="org-variable-name">format</span> = %{A1:$TERMINAL -e <span class="org-string">"watch sensors"</span> &amp;:}&lt;ramp&gt; &lt;label&gt;%{A}
<span class="org-variable-name">format-underline</span> = ${colors.background} <span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">format-warn</span> = &lt;ramp&gt; &lt;label-warn&gt; <span class="org-variable-name">format-warn</span> = &lt;ramp&gt; &lt;label-warn&gt;
<span class="org-variable-name">format-warn-underline</span> = ${colors.red} <span class="org-variable-name">format-warn-underline</span> = ${colors.red}
@ -751,7 +715,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">ramp-2</span> = &#62153; <span class="org-variable-name">ramp-2</span> = &#62153;
<span class="org-variable-name">ramp-3</span> = &#62152; <span class="org-variable-name">ramp-3</span> = &#62152;
<span class="org-variable-name">ramp-4</span> = &#62151; <span class="org-variable-name">ramp-4</span> = &#62151;
<span class="org-variable-name">ramp-foreground</span> = ${colors.foreground} <span class="org-variable-name">ramp-foreground</span> = ${color.fg}
</pre> </pre>
</div> </div>
</div> </div>
@ -765,7 +729,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">type</span> = custom/script <span class="org-variable-name">type</span> = custom/script
<span class="org-variable-name">label-font</span> = <span class="org-highlight-numbers-number">2</span> <span class="org-variable-name">label-font</span> = <span class="org-highlight-numbers-number">2</span>
<span class="org-variable-name">format-underline</span> = ${colors.background} <span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/mail-open.sh <span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/mail-open.sh
<span class="org-variable-name">format</span> = &lt;label&gt; <span class="org-variable-name">format</span> = &lt;label&gt;
<span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/mail-status.sh <span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/mail-status.sh
@ -809,7 +773,7 @@ for the JavaScript code in this tag.
<span class="org-variable-name">type</span> = custom/script <span class="org-variable-name">type</span> = custom/script
<span class="org-variable-name">label-font</span> = <span class="org-highlight-numbers-number">2</span> <span class="org-variable-name">label-font</span> = <span class="org-highlight-numbers-number">2</span>
<span class="org-variable-name">format-underline</span> = ${colors.background} <span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/redshift-toggle.sh <span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/redshift-toggle.sh
<span class="org-variable-name">format</span> = &lt;label&gt; <span class="org-variable-name">format</span> = &lt;label&gt;
<span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/redshift-status.sh <span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/redshift-status.sh
@ -854,7 +818,7 @@ for the JavaScript code in this tag.
<pre class="src src-conf">[<span class="org-type">module/nordvpn</span>] <pre class="src src-conf">[<span class="org-type">module/nordvpn</span>]
<span class="org-variable-name">type</span> = custom/script <span class="org-variable-name">type</span> = custom/script
<span class="org-variable-name">format-underline</span> = ${colors.background} <span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/nordvpn-toggle.sh <span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/nordvpn-toggle.sh
<span class="org-variable-name">format</span> = &lt;label&gt; <span class="org-variable-name">format</span> = &lt;label&gt;
<span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/nordvpn-status.sh <span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/nordvpn-status.sh
@ -864,14 +828,15 @@ for the JavaScript code in this tag.
</div> </div>
<div id="outline-container-org1858160" class="outline-3"> <div id="outline-container-org1858160" class="outline-3">
<h3 id="org1858160">Nordvpn Status script</h3> <h3 id="org1858160"><span class="todo TODO">TODO</span> Nordvpn Status script</h3>
<div class="outline-text-3" id="text-org1858160"> <div class="outline-text-3" id="text-org1858160">
<ul class="org-ul">
<li class="off"><code>[&#xa0;]</code> Should check if there is a tmpfile, if there is not, run nordvpn status and create the tmpfile accordindly</li>
</ul>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">vpnstatus</span>=<span class="org-sh-quoted-exec">`nordvpn status`</span>; <pre class="src src-bash"><span class="org-variable-name">tmpfile</span>=<span class="org-string">"/tmp/vpnstatus"</span>;
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-rainbow-delimiters-depth-3">{</span><span class="org-variable-name">vpnstatus</span><span class="org-rainbow-delimiters-depth-3">}</span> == *<span class="org-string">"Connected"</span>* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f $<span class="org-variable-name">tmpfile</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-type">grep</span> -q <span class="org-string">"on"</span> $<span class="org-variable-name">tmpfile</span>; <span class="org-keyword">then</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">country=`nordvpn status | sed '/Country/!d ; s/Country: //'`</span>
<span class="org-comment-delimiter"># </span><span class="org-type"><span class="org-comment">echo</span></span><span class="org-comment"> "%{F#859900}&#63022;%{F-} $country";</span>
<span class="org-type">echo</span> <span class="org-string">"%{F#859900}&#63022;%{F-}"</span>; <span class="org-type">echo</span> <span class="org-string">"%{F#859900}&#63022;%{F-}"</span>;
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-type">echo</span> <span class="org-string">"&#63022;"</span>; <span class="org-type">echo</span> <span class="org-string">"&#63022;"</span>;
@ -885,12 +850,14 @@ for the JavaScript code in this tag.
<h3 id="orgfb45dca">Nordvpn Toggle</h3> <h3 id="orgfb45dca">Nordvpn Toggle</h3>
<div class="outline-text-3" id="text-orgfb45dca"> <div class="outline-text-3" id="text-orgfb45dca">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-sh-quoted-exec">nordvpn</span> status<span class="org-rainbow-delimiters-depth-3">)</span> == *<span class="org-string">"Connected"</span>* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span> <pre class="src src-bash"><span class="org-variable-name">tmpfile</span>=<span class="org-string">"/tmp/vpnstatus"</span>;
nordvpn disconnect &amp;&amp; dunstify --replace=<span class="org-highlight-numbers-number">23198</span> <span class="org-string">"VPN"</span> <span class="org-string">"Disconnected"</span>;
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f $<span class="org-variable-name">tmpfile</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-type">grep</span> -q <span class="org-string">"on"</span> $<span class="org-variable-name">tmpfile</span>; <span class="org-keyword">then</span>
nordvpn disconnect &amp;&amp; dunstify --replace=<span class="org-highlight-numbers-number">23198</span> <span class="org-string">"VPN"</span> <span class="org-string">"Disconnected"</span> &amp;&amp; <span class="org-type">echo</span> <span class="org-string">"off"</span> &gt; $<span class="org-variable-name">tmpfile</span>;
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-variable-name">country</span>=<span class="org-sh-quoted-exec">`</span><span class="org-type"><span class="org-sh-quoted-exec">cat</span></span><span class="org-sh-quoted-exec"> ~/bin/nordvpn_countries.txt | sed 's/\s*\t\s*/ /g ; s/\s/\n/g ; s/_/ /g ; /^[a-zA-Z]/!d ; s/\(.*\)/\L\1/' | rofi -i -dmenu | sed 's/\s/_/g'`</span>; <span class="org-variable-name">country</span>=<span class="org-sh-quoted-exec">`</span><span class="org-type"><span class="org-sh-quoted-exec">cat</span></span><span class="org-sh-quoted-exec"> ~/bin/nordvpn_countries.txt | sed 's/\s*\t\s*/ /g ; s/\s/\n/g ; s/_/ /g ; /^[a-zA-Z]/!d ; s/\(.*\)/\L\1/' | rofi -i -dmenu | sed 's/\s/_/g'`</span>;
dunstify --replace=<span class="org-highlight-numbers-number">23198</span> <span class="org-string">"VPN"</span> <span class="org-string">"Connecting to </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">country</span></span><span class="org-string">..."</span>; dunstify --replace=<span class="org-highlight-numbers-number">23198</span> <span class="org-string">"VPN"</span> <span class="org-string">"Connecting to </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">country</span></span><span class="org-string">..."</span>;
nordvpn connect $<span class="org-variable-name">country</span> &amp;&amp; dunstify --replace=<span class="org-highlight-numbers-number">23198</span> <span class="org-string">"VPN"</span> <span class="org-string">"Connected to </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">country</span></span><span class="org-string">"</span>; nordvpn connect $<span class="org-variable-name">country</span> &amp;&amp; dunstify --replace=<span class="org-highlight-numbers-number">23198</span> <span class="org-string">"VPN"</span> <span class="org-string">"Connected to </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">country</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-type">echo</span> <span class="org-string">"on"</span> &gt; $<span class="org-variable-name">tmpfile</span>;
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
@ -898,6 +865,48 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org3734bc8" class="outline-2">
<h2 id="org3734bc8">Packages</h2>
<div class="outline-text-2" id="text-org3734bc8">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">module/packages</span>]
<span class="org-variable-name">type</span> = custom/script
<span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/packages-update.sh
<span class="org-variable-name">format</span> = &lt;label&gt;
<span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/packages-status.sh
<span class="org-variable-name">interval</span> = <span class="org-highlight-numbers-number">600</span>
</pre>
</div>
</div>
<div id="outline-container-org9b8a9c8" class="outline-3">
<h3 id="org9b8a9c8">Packages Status script</h3>
<div class="outline-text-3" id="text-org9b8a9c8">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">packagenb</span>=<span class="org-sh-quoted-exec">`yay -Qu 2&gt; /dev/null | wc -l`</span>;
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</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">packagenb</span></span><span class="org-string">"</span> -eq <span class="org-string">"0"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-type">echo</span> <span class="org-string">"&#62211;"</span>;
<span class="org-keyword">else</span>
<span class="org-type">echo</span> <span class="org-string">"%{F#859900}&#62211;%{F-}"</span>;
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb3e71da" class="outline-3">
<h3 id="orgb3e71da">Packages Update</h3>
<div class="outline-text-3" id="text-orgb3e71da">
<div class="org-src-container">
<pre class="src src-bash">$<span class="org-variable-name">TERMINAL</span> -e <span class="org-string">"yay"</span> &amp;
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orga78a541" class="outline-2"> <div id="outline-container-orga78a541" class="outline-2">
<h2 id="orga78a541">Dunst</h2> <h2 id="orga78a541">Dunst</h2>
<div class="outline-text-2" id="text-orga78a541"> <div class="outline-text-2" id="text-orga78a541">
@ -905,7 +914,7 @@ for the JavaScript code in this tag.
<pre class="src src-conf">[<span class="org-type">module/dunst</span>] <pre class="src src-conf">[<span class="org-type">module/dunst</span>]
<span class="org-variable-name">type</span> = custom/script <span class="org-variable-name">type</span> = custom/script
<span class="org-variable-name">format-underline</span> = ${colors.background} <span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/dunst-toggle.sh <span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/dunst-toggle.sh
<span class="org-variable-name">format</span> = &lt;label&gt; <span class="org-variable-name">format</span> = &lt;label&gt;
<span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/dunst-status.sh <span class="org-variable-name">exec</span> = ~/.config/polybar/scripts/dunst-status.sh
@ -963,7 +972,7 @@ for the JavaScript code in this tag.
<pre class="src src-conf">[<span class="org-type">module/lockscreen</span>] <pre class="src src-conf">[<span class="org-type">module/lockscreen</span>]
<span class="org-variable-name">type</span> = custom/script <span class="org-variable-name">type</span> = custom/script
<span class="org-variable-name">format-underline</span> = ${colors.background} <span class="org-variable-name">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/lockscreen-toggle.sh <span class="org-variable-name">click-left</span> = ~/.config/polybar/scripts/lockscreen-toggle.sh
<span class="org-variable-name">click-right</span> = ~/scripts/lockscreen.sh <span class="org-variable-name">click-right</span> = ~/scripts/lockscreen.sh
<span class="org-variable-name">format</span> = &lt;label&gt; <span class="org-variable-name">format</span> = &lt;label&gt;
@ -1162,13 +1171,13 @@ $<span class="org-variable-name">BROWSER</span> https://www.yahoo.com/news/weath
<span class="org-variable-name">interface</span> = enp0s20f0u9u4 <span class="org-variable-name">interface</span> = enp0s20f0u9u4
<span class="org-variable-name">label-connected</span> = %local_ip% <span class="org-variable-name">label-connected</span> = %local_ip%
<span class="org-variable-name">label-connected-foreground</span> = ${colors.foreground} <span class="org-variable-name">label-connected-foreground</span> = ${color.fg}
<span class="org-variable-name">format-connected-prefix</span> = <span class="org-string">"&#63231; "</span> <span class="org-variable-name">format-connected-prefix</span> = <span class="org-string">"&#63231; "</span>
<span class="org-variable-name">format-connected</span> = &lt;label-connected&gt; <span class="org-variable-name">format-connected</span> = &lt;label-connected&gt;
<span class="org-variable-name">label-disconnected</span> = <span class="org-string">"&#63231;"</span> <span class="org-variable-name">label-disconnected</span> = <span class="org-string">"&#63231;"</span>
<span class="org-variable-name">label-disconnected-foreground</span> = ${colors.comments} <span class="org-variable-name">label-disconnected-foreground</span> = ${colors.gray}
<span class="org-variable-name">format-disconnected</span> = &lt;label-disconnected&gt; <span class="org-variable-name">format-disconnected</span> = &lt;label-disconnected&gt;
@ -1177,13 +1186,13 @@ $<span class="org-variable-name">BROWSER</span> https://www.yahoo.com/news/weath
<span class="org-variable-name">interface</span> = wlp2s0 <span class="org-variable-name">interface</span> = wlp2s0
<span class="org-variable-name">label-connected</span> = %essid% <span class="org-variable-name">label-connected</span> = %essid%
<span class="org-variable-name">label-connected-foreground</span> = ${colors.foreground} <span class="org-variable-name">label-connected-foreground</span> = ${color.fg}
<span class="org-variable-name">format-connected-prefix</span> = <span class="org-string">"&#61931; "</span> <span class="org-variable-name">format-connected-prefix</span> = <span class="org-string">"&#61931; "</span>
<span class="org-variable-name">format-connected</span> = &lt;label-connected&gt; <span class="org-variable-name">format-connected</span> = &lt;label-connected&gt;
<span class="org-variable-name">label-disconnected</span> = <span class="org-string">"&#61931;"</span> <span class="org-variable-name">label-disconnected</span> = <span class="org-string">"&#61931;"</span>
<span class="org-variable-name">label-disconnected-foreground</span> = ${colors.comments} <span class="org-variable-name">label-disconnected-foreground</span> = ${colors.gray}
<span class="org-variable-name">format-disconnected</span> = &lt;label-disconnected&gt; <span class="org-variable-name">format-disconnected</span> = &lt;label-disconnected&gt;
</pre> </pre>
@ -1219,7 +1228,7 @@ killall -q polybar
<span class="org-keyword">while</span> <span class="org-type">pgrep</span> -u $<span class="org-variable-name">UID</span> -x polybar &gt;/dev/null; <span class="org-keyword">do</span> <span class="org-type">sleep</span> <span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">done</span> <span class="org-keyword">while</span> <span class="org-type">pgrep</span> -u $<span class="org-variable-name">UID</span> -x polybar &gt;/dev/null; <span class="org-keyword">do</span> <span class="org-type">sleep</span> <span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">done</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Launch Polybar, using default config location ~/.config/polybar/config</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Launch Polybar, using default config location ~/.config/polybar/config</span>
polybar top &amp; polybar top &gt;&gt;/tmp/polybar.log <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> &amp;
<span class="org-comment-delimiter"># </span><span class="org-comment">polybar bottom &amp;</span> <span class="org-comment-delimiter"># </span><span class="org-comment">polybar bottom &amp;</span>
<span class="org-type">echo</span> <span class="org-string">"Polybar launched..."</span> <span class="org-type">echo</span> <span class="org-string">"Polybar launched..."</span>
@ -1247,7 +1256,7 @@ polybar top &amp;
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-12 dim. 17:28</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:19 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Qutebrowser Configuration</title> <title>Qutebrowser Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -263,21 +241,12 @@ for the JavaScript code in this tag.
<li><a href="#org870403a">Content</a></li> <li><a href="#org870403a">Content</a></li>
<li><a href="#org409baa5">Downloads</a></li> <li><a href="#org409baa5">Downloads</a></li>
<li><a href="#orgdc50649">Fonts</a></li> <li><a href="#orgdc50649">Fonts</a></li>
<li><a href="#orgb7f67f1">Hints</a></li>
<li><a href="#orge859d77">Input</a></li> <li><a href="#orge859d77">Input</a></li>
<li><a href="#orgb9712c6">Keyhint</a></li>
<li><a href="#org619e55a">Messages</a></li>
<li><a href="#org6a05c89">New Instance Options</a></li> <li><a href="#org6a05c89">New Instance Options</a></li>
<li><a href="#org6ccc487">Prompt</a></li>
<li><a href="#orgfb688a6">Qt</a></li>
<li><a href="#org1d9e873">Scrolling</a></li>
<li><a href="#org70f3891">Search</a></li>
<li><a href="#org6036ede">Session</a></li>
<li><a href="#orgc336fd6">Spell Check</a></li> <li><a href="#orgc336fd6">Spell Check</a></li>
<li><a href="#org1d64606">Status Bar</a></li> <li><a href="#org1d64606">Status Bar</a></li>
<li><a href="#org7638343">Tabs</a></li> <li><a href="#org7638343">Tabs</a></li>
<li><a href="#org0947366">Urls</a></li> <li><a href="#org0947366">Urls</a></li>
<li><a href="#org42439dc">Window</a></li>
<li><a href="#org8efdb48">Bindings</a> <li><a href="#org8efdb48">Bindings</a>
<ul> <ul>
<li><a href="#org3f98813">Normal Mode</a> <li><a href="#org3f98813">Normal Mode</a>
@ -295,10 +264,11 @@ for the JavaScript code in this tag.
<li><a href="#org68a5a50">Bindings for yesno mode</a></li> <li><a href="#org68a5a50">Bindings for yesno mode</a></li>
<li><a href="#orga6ae0da">Custom Bindings</a> <li><a href="#orga6ae0da">Custom Bindings</a>
<ul> <ul>
<li><a href="#orgd4034ec">Create a Password for the current website</a></li>
<li><a href="#org5e08320">Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>).</a></li> <li><a href="#org5e08320">Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>).</a></li>
<li><a href="#orgcdbcd36">Open Youtube video using MPV</a></li> <li><a href="#orgcdbcd36">Open Youtube video using MPV</a></li>
<li><a href="#org0c13e8b">Cast Youtube to Chromecast</a></li> <li><a href="#orgd5da58e">Cast Youtube to Chromecast</a></li>
<li><a href="#org6a435da">Add url to refile.org</a></li> <li><a href="#org548eb2c">Add url to refile.org</a></li>
<li><a href="#org39dce76">Add page to Bookmarks</a></li> <li><a href="#org39dce76">Add page to Bookmarks</a></li>
<li><a href="#org94d2c0d">Open bookmark using buku</a></li> <li><a href="#org94d2c0d">Open bookmark using buku</a></li>
<li><a href="#org9bbaffb">Org Capture</a></li> <li><a href="#org9bbaffb">Org Capture</a></li>
@ -310,8 +280,9 @@ for the JavaScript code in this tag.
</li> </li>
<li><a href="#org3991a6c">Userscripts</a> <li><a href="#org3991a6c">Userscripts</a>
<ul> <ul>
<li><a href="#orgd5da58e">Cast Youtube to Chromecast</a></li> <li><a href="#org6be4b76">Create a new password</a></li>
<li><a href="#org548eb2c">Add url to refile.org</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="#orgb8e61c0">Password<sub>fill</sub><sub>rc</sub></a></li>
<li><a href="#org58d6993">Org-Capture</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="#org63ffcb4">Add Url to Buku using Rofi</a></li>
@ -338,28 +309,9 @@ import sys, os
<h2 id="org89786f6">General config</h2> <h2 id="org89786f6">General config</h2>
<div class="outline-text-2" id="text-org89786f6"> <div class="outline-text-2" id="text-org89786f6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">This is here so configs done via the GUI are still loaded.</span> <pre class="src src-conf"><span class="org-variable-name">c.aliases</span> = {<span class="org-string">'w'</span>: <span class="org-string">'session-save'</span>, <span class="org-string">'q'</span>: <span class="org-string">'quit'</span>, <span class="org-string">'wq'</span>: <span class="org-string">'quit --save'</span>}
<span class="org-comment-delimiter"># </span><span class="org-comment">Remove it to not load settings done via the GUI.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">config.load_autoconfig()</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Aliases for commands. The keys of the given dictionary are the</span>
<span class="org-variable-name">c.aliases</span> = {<span class="org-string">'w'</span>: <span class="org-string">'session-save'</span>, <span class="org-string">'q'</span>: <span class="org-string">'quit'</span>, <span class="org-string">'wq'</span>: <span class="org-string">'quit --save'</span>}
<span class="org-comment-delimiter"># </span><span class="org-comment">Time interval (in milliseconds) between auto-saves of config/cookies/etc.</span>
<span class="org-variable-name">c.auto_save.interval</span> = <span class="org-highlight-numbers-number">15000</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Always restore open sites when qutebrowser is reopened.</span>
<span class="org-variable-name">c.auto_save.session</span> = False <span class="org-variable-name">c.auto_save.session</span> = False
<span class="org-comment-delimiter"># </span><span class="org-comment">Backend to use to display websites</span>
<span class="org-variable-name">c.backend</span> = <span class="org-string">'webengine'</span> <span class="org-variable-name">c.backend</span> = <span class="org-string">'webengine'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Require a confirmation before quitting the application.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- always: Always show a confirmation.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- multiple-tabs: Show a confirmation if multiple tabs are opened.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- downloads: Show a confirmation if downloads are running</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- never: Never show a confirmation.</span>
<span class="org-variable-name">c.confirm_quit</span> = [<span class="org-string">'downloads'</span>] <span class="org-variable-name">c.confirm_quit</span> = [<span class="org-string">'downloads'</span>]
</pre> </pre>
</div> </div>
@ -370,31 +322,13 @@ import sys, os
<h2 id="org870403a">Content</h2> <h2 id="org870403a">Content</h2>
<div class="outline-text-2" id="text-org870403a"> <div class="outline-text-2" id="text-org870403a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Automatically start playing `&lt;video&gt;` elements</span> <pre class="src src-conf"><span class="org-variable-name">c.content.autoplay</span> = False
<span class="org-variable-name">c.content.autoplay</span> = False
<span class="org-variable-name">c.content.notifications</span> = False <span class="org-variable-name">c.content.notifications</span> = False
<span class="org-comment-delimiter"># </span><span class="org-comment">Allow websites to request geolocations.</span>
<span class="org-variable-name">c.content.geolocation</span> = <span class="org-string">'ask'</span> <span class="org-variable-name">c.content.geolocation</span> = <span class="org-string">'ask'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Show javascript alerts.</span>
<span class="org-variable-name">c.content.javascript.alert</span> = True <span class="org-variable-name">c.content.javascript.alert</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">Allow JavaScript to read from or write to the clipboard</span>
<span class="org-variable-name">c.content.javascript.can_access_clipboard</span> = True <span class="org-variable-name">c.content.javascript.can_access_clipboard</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">Allow websites to record audio/video.</span>
<span class="org-variable-name">c.content.media_capture</span> = <span class="org-string">'ask'</span> <span class="org-variable-name">c.content.media_capture</span> = <span class="org-string">'ask'</span>
<span class="org-variable-name">c.content.pdfjs</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">Allow pdf.js to view PDF files in the browser</span>
<span class="org-variable-name">c.content.pdfjs</span> = False
<span class="org-comment-delimiter"># </span><span class="org-comment">Proxy to use. In addition to the listed values, you can use a</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`socks://...` or `http://...` URL.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- system: Use the system wide proxy.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- none: Don't use any proxy</span>
<span class="org-variable-name">c.content.proxy</span> = <span class="org-string">'system'</span> <span class="org-variable-name">c.content.proxy</span> = <span class="org-string">'system'</span>
</pre> </pre>
</div> </div>
@ -405,26 +339,11 @@ import sys, os
<h2 id="org409baa5">Downloads</h2> <h2 id="org409baa5">Downloads</h2>
<div class="outline-text-2" id="text-org409baa5"> <div class="outline-text-2" id="text-org409baa5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Directory to save downloads to</span> <pre class="src src-conf"><span class="org-variable-name">c.downloads.location.directory</span> = <span class="org-string">'$HOME/Downloads/'</span>
<span class="org-variable-name">c.downloads.location.directory</span> = <span class="org-string">'$HOME/Downloads/'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Prompt the user for the download location</span>
<span class="org-variable-name">c.downloads.location.prompt</span> = True <span class="org-variable-name">c.downloads.location.prompt</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">Remember the last used download directory.</span>
<span class="org-variable-name">c.downloads.location.remember</span> = True <span class="org-variable-name">c.downloads.location.remember</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">What to display in the download filename input.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- path: Show only the download path.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- filename: Show only download filename.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- both: Show download path and filename.</span>
<span class="org-variable-name">c.downloads.location.suggestion</span> = <span class="org-string">'path'</span> <span class="org-variable-name">c.downloads.location.suggestion</span> = <span class="org-string">'path'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Where to show the downloaded files.</span>
<span class="org-variable-name">c.downloads.position</span> = <span class="org-string">'bottom'</span> <span class="org-variable-name">c.downloads.position</span> = <span class="org-string">'bottom'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Duration (in milliseconds) to wait before removing finished downloads</span>
<span class="org-variable-name">c.downloads.remove_finished</span> = <span class="org-highlight-numbers-number">10000</span> <span class="org-variable-name">c.downloads.remove_finished</span> = <span class="org-highlight-numbers-number">10000</span>
</pre> </pre>
</div> </div>
@ -435,151 +354,23 @@ import sys, os
<h2 id="orgdc50649">Fonts</h2> <h2 id="orgdc50649">Fonts</h2>
<div class="outline-text-2" id="text-orgdc50649"> <div class="outline-text-2" id="text-orgdc50649">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Default monospace fonts</span> <pre class="src src-conf"><span class="org-variable-name">c.fonts.default_family</span> = [<span class="org-string">"Hack Nerd Font Mono"</span>, <span class="org-string">"DejaVu Sans Mono"</span>, <span class="org-string">"Monaco"</span>]
<span class="org-variable-name">c.fonts.monospace</span> = <span class="org-string">'"Hack Nerd Font Mono" "xos4 Terminus", Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, "Liberation Mono", monospace, Fixed, Consolas, Terminal'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Font used for prompts.</span>
<span class="org-variable-name">c.fonts.prompts</span> = <span class="org-string">'10pt monospace'</span> <span class="org-variable-name">c.fonts.prompts</span> = <span class="org-string">'10pt monospace'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Font used in the statusbar.</span>
<span class="org-variable-name">c.fonts.statusbar</span> = <span class="org-string">'10pt monospace'</span> <span class="org-variable-name">c.fonts.statusbar</span> = <span class="org-string">'10pt monospace'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Font used in the tab bar.</span>
<span class="org-variable-name">c.fonts.tabs</span> = <span class="org-string">'10pt monospace'</span> <span class="org-variable-name">c.fonts.tabs</span> = <span class="org-string">'10pt monospace'</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb7f67f1" class="outline-2">
<h2 id="orgb7f67f1">Hints</h2>
<div class="outline-text-2" id="text-orgb7f67f1">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">When a hint can be automatically followed without pressing Enter.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- always: Auto-follow whenever there is only a single hint on a page.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- unique-match: Auto-follow whenever there is a unique non-empty match in either the hint string (word mode) or filter (number mode).</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- full-match: Follow the hint when the user typed the whole hint (letter, word or number mode) or the element's text (only in number mode).</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- never: The user will always need to press Enter to follow a hint.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.auto_follow = 'unique-match'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Duration (in milliseconds) to ignore normal-mode key bindings after a</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">successful auto-follow.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.auto_follow_timeout = 0</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">CSS border value for hints.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.border = '1px solid #E3BE23'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Characters used for hint strings.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.chars = 'asdfghjkl'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Dictionary file to be used by the word hints.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.dictionary = '/usr/share/dict/words'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Which implementation to use to find elements to hint.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- javascript: Better but slower</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- python: Slightly worse but faster</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.find_implementation = 'python'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Hide unmatched hints in rapid mode.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.hide_unmatched_rapid_hints = True</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Minimum number of characters used for hint strings.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.min_chars = 1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Mode to use for hints.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- number: Use numeric hints. (In this mode you can also type letters from the hinted element to filter and reduce the number of elements that are hinted.)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- letter: Use the characters in the `hints.chars` setting.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- word: Use hints words based on the html elements and the extra words.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.mode = 'letter'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Comma-separated list of regular expressions to use for 'next' links.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.next_regexes = ['\\bnext\\b', '\\bmore\\b', '\\bnewer\\b', '\\b[&gt;&#8594;&#8811;]\\b', '\\b(&gt;&gt;|&#187;)\\b', '\\bcontinue\\b']</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Comma-separated list of regular expressions to use for 'prev' links.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.prev_regexes = ['\\bprev(ious)?\\b', '\\bback\\b', '\\bolder\\b', '\\b[&lt;&#8592;&#8810;]\\b', '\\b(&lt;&lt;|&#171;)\\b']</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Scatter hint key chains (like Vimium) or not (like dwb). Ignored for</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">number hints.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.scatter = True</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Make characters in hint strings uppercase.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.hints.uppercase = False</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orge859d77" class="outline-2"> <div id="outline-container-orge859d77" class="outline-2">
<h2 id="orge859d77">Input</h2> <h2 id="orge859d77">Input</h2>
<div class="outline-text-2" id="text-orge859d77"> <div class="outline-text-2" id="text-orge859d77">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Enter insert mode if an editable element is clicked.</span> <pre class="src src-conf"><span class="org-variable-name">c.input.insert_mode.auto_enter</span> = True
<span class="org-variable-name">c.input.insert_mode.auto_enter</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">Leave insert mode if a non-editable element is clicked.</span>
<span class="org-variable-name">c.input.insert_mode.auto_leave</span> = True <span class="org-variable-name">c.input.insert_mode.auto_leave</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">Automatically enter insert mode if an editable element is focused</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">after loading the page.</span>
<span class="org-variable-name">c.input.insert_mode.auto_load</span> = False <span class="org-variable-name">c.input.insert_mode.auto_load</span> = False
<span class="org-variable-name">c.input.insert_mode.plugins</span> = True
<span class="org-comment-delimiter"># </span><span class="org-comment">Switch to insert mode when clicking flash and other plugins.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.input.insert_mode.plugins = False</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Include hyperlinks in the keyboard focus chain when tabbing.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.input.links_included_in_focus_chain = True</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Timeout (in milliseconds) for partially typed key bindings. If the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">current input forms only partial matches, the keystring will be</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">cleared after this time.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.input.partial_timeout = 5000</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable Opera-like mouse rocker gestures. This disables the context</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">menu.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.input.rocker_gestures = False</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable spatial navigation. Spatial navigation consists in the ability</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">to navigate between focusable elements in a Web page, such as</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">hyperlinks and form controls, by using Left, Right, Up and Down arrow</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">keys. For example, if the user presses the Right key, heuristics</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">determine whether there is an element he might be trying to reach</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">towards the right and which element he probably wants.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.input.spatial_navigation = False</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb9712c6" class="outline-2">
<h2 id="orgb9712c6">Keyhint</h2>
<div class="outline-text-2" id="text-orgb9712c6">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Keychains that shouldn't be shown in the keyhint dialog. Globs are</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">supported, so `;*` will blacklist all keychains starting with `;`. Use</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`*` to disable keyhints.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.keyhint.blacklist = []</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Time (in milliseconds) from pressing a key to seeing the keyhint</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">dialog.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.keyhint.delay = 500</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Rounding radius (in pixels) for the edges of the keyhint dialog.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.keyhint.radius = 6</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org619e55a" class="outline-2">
<h2 id="org619e55a">Messages</h2>
<div class="outline-text-2" id="text-org619e55a">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Duration (in milliseconds) to show messages in the statusbar for. Set</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">to 0 to never clear messages.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.messages.timeout = 2000</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -589,147 +380,8 @@ import sys, os
<h2 id="org6a05c89">New Instance Options</h2> <h2 id="org6a05c89">New Instance Options</h2>
<div class="outline-text-2" id="text-org6a05c89"> <div class="outline-text-2" id="text-org6a05c89">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">How to open links in an existing instance if a new one is launched.</span> <pre class="src src-conf"><span class="org-variable-name">c.new_instance_open_target</span> = <span class="org-string">'tab'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This happens when e.g. opening a link from a terminal. See</span> <span class="org-variable-name">c.new_instance_open_target_window</span> = <span class="org-string">'last-focused'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`new_instance_open_target_window` to customize in which window the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">link is opened in.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- tab: Open a new tab in the existing window and activate the window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- tab-bg: Open a new background tab in the existing window and activate the window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- tab-silent: Open a new tab in the existing window without activating the window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- tab-bg-silent: Open a new background tab in the existing window without activating the window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- window: Open in a new window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.new_instance_open_target = 'tab'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Which window to choose when opening links as new tabs. When</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`new_instance_open_target` is not set to `window`, this is ignored.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- first-opened: Open new tabs in the first (oldest) opened window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- last-opened: Open new tabs in the last (newest) opened window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- last-focused: Open new tabs in the most recently focused window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- last-visible: Open new tabs in the most recently visible window.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.new_instance_open_target_window = 'last-focused'</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org6ccc487" class="outline-2">
<h2 id="org6ccc487">Prompt</h2>
<div class="outline-text-2" id="text-org6ccc487">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Show a filebrowser in upload/download prompts.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.prompt.filebrowser = True</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Rounding radius (in pixels) for the edges of prompts.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.prompt.radius = 8</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgfb688a6" class="outline-2">
<h2 id="orgfb688a6">Qt</h2>
<div class="outline-text-2" id="text-orgfb688a6">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Additional arguments to pass to Qt, without leading `--`. With</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">QtWebEngine, some Chromium arguments (see</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">https://peter.sh/experiments/chromium-command-line-switches/ for a</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">list) will work.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.qt.args = []</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Force a Qt platform to use. This sets the `QT_QPA_PLATFORM`</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">environment variable and is useful to force using the XCB plugin when</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">running QtWebEngine on Wayland.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.qt.force_platform = None</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Force software rendering for QtWebEngine. This is needed for</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">QtWebEngine to work with Nouveau drivers and can be useful in other</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">scenarios related to graphic issues.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- software-opengl: Tell LibGL to use a software implementation of GL (`LIBGL_ALWAYS_SOFTWARE` / `QT_XCB_FORCE_SOFTWARE_OPENGL`)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- qt-quick: Tell Qt Quick to use a software renderer instead of OpenGL. (`QT_QUICK_BACKEND=software`)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- chromium: Tell Chromium to disable GPU support and use Skia software rendering instead. (`--disable-gpu`)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- none: Don't force software rendering.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.qt.force_software_rendering = 'none'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Turn on Qt HighDPI scaling. This is equivalent to setting</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">QT_AUTO_SCREEN_SCALE_FACTOR=1 in the environment. It's off by default</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">as it can cause issues with some bitmap fonts. As an alternative to</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">this, it's possible to set font sizes and the `zoom.default` setting.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.qt.highdpi = False</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">When to use Chromium's low-end device mode. This improves the RAM</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">usage of renderer processes, at the expense of performance.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- always: Always use low-end device mode.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- auto: Decide automatically (uses low-end mode with &lt; 1 GB available RAM).</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- never: Never use low-end device mode.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.qt.low_end_device_mode = 'auto'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Which Chromium process model to use. Alternative process models use</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">less resources, but decrease security and robustness. See the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">following pages for more details: -</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">https://www.chromium.org/developers/design-documents/process-models</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- https://doc.qt.io/qt-5/qtwebengine-features.html#process-models</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- process-per-site-instance: Pages from separate sites are put into separate processes and separate visits to the same site are also isolated.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- process-per-site: Pages from separate sites are put into separate processes. Unlike Process per Site Instance, all visits to the same site will share an OS process. The benefit of this model is reduced memory consumption, because more web pages will share processes. The drawbacks include reduced security, robustness, and responsiveness.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- single-process: Run all tabs in a single process. This should be used for debugging purposes only, and it disables `:open --private`.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.qt.process_model = 'process-per-site-instance'</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org1d9e873" class="outline-2">
<h2 id="org1d9e873">Scrolling</h2>
<div class="outline-text-2" id="text-org1d9e873">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">When to show the scrollbar.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- always: Always show the scrollbar.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- never: Never show the scrollbar.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- when-searching: Show the scrollbar when searching for text in the webpage. With the QtWebKit backend, this is equal to `never`.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.scrolling.bar = 'when-searching'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable smooth scrolling for web pages. Note smooth scrolling does not</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">work with the `:scroll-px` command.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.scrolling.smooth = False</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org70f3891" class="outline-2">
<h2 id="org70f3891">Search</h2>
<div class="outline-text-2" id="text-org70f3891">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">When to find text on a page case-insensitively.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- always: Search case-insensitively.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- never: Search case-sensitively.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- smart: Search case-sensitively if there are capital characters.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.search.ignore_case = 'smart'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Find text on a page incrementally, renewing the search for each typed</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">character.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.search.incremental = True</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org6036ede" class="outline-2">
<h2 id="org6036ede">Session</h2>
<div class="outline-text-2" id="text-org6036ede">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Name of the session to save by default. If this is set to null, the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">session which was last loaded is saved.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.session.default_name = None</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Load a restored tab as soon as it takes focus.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.session.lazy_restore = False</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -738,58 +390,6 @@ import sys, os
<div id="outline-container-orgc336fd6" class="outline-2"> <div id="outline-container-orgc336fd6" class="outline-2">
<h2 id="orgc336fd6">Spell Check</h2> <h2 id="orgc336fd6">Spell Check</h2>
<div class="outline-text-2" id="text-orgc336fd6"> <div class="outline-text-2" id="text-orgc336fd6">
<p>
Languages to use for spell checking. You can check for available
languages and install dictionaries using scripts/dictcli.py. Run the
script with -h/&#x2013;help for instructions.
Valid values:
</p>
<ul class="org-ul">
<li>af-ZA: Afrikaans (South Africa)</li>
<li>bg-BG: Bulgarian (Bulgaria)</li>
<li>ca-ES: Catalan (Spain)</li>
<li>cs-CZ: Czech (Czech Republic)</li>
<li>da-DK: Danish (Denmark)</li>
<li>de-DE: German (Germany)</li>
<li>el-GR: Greek (Greece)</li>
<li>en-AU: English (Australia)</li>
<li>en-CA: English (Canada)</li>
<li>en-GB: English (United Kingdom)</li>
<li>en-US: English (United States)</li>
<li>es-ES: Spanish (Spain)</li>
<li>et-EE: Estonian (Estonia)</li>
<li>fa-IR: Farsi (Iran)</li>
<li>fo-FO: Faroese (Faroe Islands)</li>
<li>fr-FR: French (France)</li>
<li>he-IL: Hebrew (Israel)</li>
<li>hi-IN: Hindi (India)</li>
<li>hr-HR: Croatian (Croatia)</li>
<li>hu-HU: Hungarian (Hungary)</li>
<li>id-ID: Indonesian (Indonesia)</li>
<li>it-IT: Italian (Italy)</li>
<li>ko: Korean</li>
<li>lt-LT: Lithuanian (Lithuania)</li>
<li>lv-LV: Latvian (Latvia)</li>
<li>nb-NO: Norwegian (Norway)</li>
<li>nl-NL: Dutch (Netherlands)</li>
<li>pl-PL: Polish (Poland)</li>
<li>pt-BR: Portuguese (Brazil)</li>
<li>pt-PT: Portuguese (Portugal)</li>
<li>ro-RO: Romanian (Romania)</li>
<li>ru-RU: Russian (Russia)</li>
<li>sh: Serbo-Croatian</li>
<li>sk-SK: Slovak (Slovakia)</li>
<li>sl-SI: Slovenian (Slovenia)</li>
<li>sq: Albanian</li>
<li>sr: Serbian</li>
<li>sv-SE: Swedish (Sweden)</li>
<li>ta-IN: Tamil (India)</li>
<li>tg-TG: Tajik (Tajikistan)</li>
<li>tr-TR: Turkish (Turkey)</li>
<li>uk-UA: Ukrainian (Ukraine)</li>
<li>vi-VN: Vietnamese (Viet Nam)</li>
</ul>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">c.spellcheck.languages</span> = [<span class="org-string">'en-US'</span>, <span class="org-string">'fr-FR'</span>] <pre class="src src-conf"><span class="org-variable-name">c.spellcheck.languages</span> = [<span class="org-string">'en-US'</span>, <span class="org-string">'fr-FR'</span>]
</pre> </pre>
@ -802,16 +402,8 @@ Valid values:
<div class="outline-text-2" id="text-org1d64606"> <div class="outline-text-2" id="text-org1d64606">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Hide the statusbar unless a message is shown.</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Hide the statusbar unless a message is shown.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.statusbar.hide = False</span> <span class="org-variable-name">c.statusbar.hide</span> = False
<span class="org-variable-name">c.statusbar.position</span> = <span class="org-string">'bottom'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Padding (in pixels) for the statusbar.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 0}</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Position of the status bar.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- top</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- bottom</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.statusbar.position = 'bottom'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">List of widgets displayed in the statusbar.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">List of widgets displayed in the statusbar.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
@ -822,7 +414,7 @@ Valid values:
<span class="org-comment-delimiter"># </span><span class="org-comment">- tabs: Current active tab, e.g. `2`.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- tabs: Current active tab, e.g. `2`.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- keypress: Display pressed keys when composing a vi command.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- keypress: Display pressed keys when composing a vi command.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- progress: Progress bar for the current page loading.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- progress: Progress bar for the current page loading.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.statusbar.widgets = ['keypress', 'url', 'scroll', 'history', 'tabs', 'progress']</span> <span class="org-variable-name">c.statusbar.widgets</span> = [<span class="org-string">'keypress'</span>, <span class="org-string">'url'</span>, <span class="org-string">'scroll'</span>, <span class="org-string">'history'</span>, <span class="org-string">'progress'</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -838,33 +430,9 @@ Valid values:
<span class="org-comment-delimiter"># </span><span class="org-comment">Mouse button with which to close tabs.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Mouse button with which to close tabs.</span>
<span class="org-variable-name">c.tabs.close_mouse_button</span> = <span class="org-string">'right'</span> <span class="org-variable-name">c.tabs.close_mouse_button</span> = <span class="org-string">'right'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">How to behave when the close mouse button is pressed on the tab bar.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- new-tab: Open a new tab.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- close-current: Close the current tab.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- close-last: Close the last tab.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- ignore: Don't do anything.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.close_mouse_button_on_bar = 'new-tab'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Width (in pixels) of the progress indicator (0 to disable).</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.indicator.width = 3</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">How to behave when the last tab is closed.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">How to behave when the last tab is closed.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- ignore: Don't do anything.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- blank: Load a blank page.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- startpage: Load the start page.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- default-page: Load the default page.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- close: Close the window.</span>
<span class="org-variable-name">c.tabs.last_close</span> = <span class="org-string">'close'</span> <span class="org-variable-name">c.tabs.last_close</span> = <span class="org-string">'close'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">When switching tabs, what input mode is applied.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- persist: Retain the current mode.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- restore: Restore previously saved mode.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- normal: Always revert to normal mode.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.mode_on_change = 'normal'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Switch between tabs using the mouse wheel.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Switch between tabs using the mouse wheel.</span>
<span class="org-variable-name">c.tabs.mousewheel_switching</span> = False <span class="org-variable-name">c.tabs.mousewheel_switching</span> = False
@ -874,7 +442,7 @@ Valid values:
<span class="org-comment-delimiter"># </span><span class="org-comment">- next: After the current tab.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- next: After the current tab.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- first: At the beginning.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- first: At the beginning.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- last: At the end.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- last: At the end.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.new_position.related = 'next'</span> <span class="org-variable-name">c.tabs.new_position.related</span> = <span class="org-string">'next'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Position of new tabs which aren't opened from another tab.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Position of new tabs which aren't opened from another tab.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
@ -882,13 +450,7 @@ Valid values:
<span class="org-comment-delimiter"># </span><span class="org-comment">- next: After the current tab.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- next: After the current tab.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- first: At the beginning.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- first: At the beginning.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- last: At the end.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- last: At the end.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.new_position.unrelated = 'last'</span> <span class="org-variable-name">c.tabs.new_position.unrelated</span> = <span class="org-string">'last'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Padding (in pixels) around text for tabs.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 5, 'right': 5}</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Shrink pinned tabs down to their contents.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.pinned.shrink = True</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Position of the tab bar.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Position of the tab bar.</span>
<span class="org-variable-name">c.tabs.position</span> = <span class="org-string">'left'</span> <span class="org-variable-name">c.tabs.position</span> = <span class="org-string">'left'</span>
@ -896,19 +458,6 @@ Valid values:
<span class="org-comment-delimiter"># </span><span class="org-comment">Which tab to select when the focused tab is removed.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Which tab to select when the focused tab is removed.</span>
<span class="org-variable-name">c.tabs.select_on_remove</span> = <span class="org-string">'next'</span> <span class="org-variable-name">c.tabs.select_on_remove</span> = <span class="org-string">'next'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Format to use for the tab title. The following placeholders are</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">defined: * `{perc}`: Percentage as a string like `[10%]`. *</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`{perc_raw}`: Raw percentage, e.g. `10`. * `{title}`: Title of the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">current web page. * `{title_sep}`: The string ` - ` if a title is set,</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">empty otherwise. * `{index}`: Index of this tab. * `{id}`: Internal</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">tab ID of this tab. * `{scroll_pos}`: Page scroll position. *</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`{host}`: Host of the current web page. * `{backend}`: Either</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">''webkit'' or ''webengine'' * `{private}`: Indicates when private mode</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">is enabled. * `{current_url}`: URL of the current web page. *</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`{protocol}`: Protocol (http/https/...) of the current web page. *</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`{audio}`: Indicator for audio/mute status.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.tabs.title.format = '{audio}{index}: {title}'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Width (in pixels or as percentage of the window) of the tab bar if it's vertical.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Width (in pixels or as percentage of the window) of the tab bar if it's vertical.</span>
<span class="org-variable-name">c.tabs.width</span> = <span class="org-highlight-numbers-number">30</span> <span class="org-variable-name">c.tabs.width</span> = <span class="org-highlight-numbers-number">30</span>
@ -923,32 +472,7 @@ Valid values:
<h2 id="org0947366">Urls</h2> <h2 id="org0947366">Urls</h2>
<div class="outline-text-2" id="text-org0947366"> <div class="outline-text-2" id="text-org0947366">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">What search to start when something else than a URL is entered.</span> <pre class="src src-conf"><span class="org-variable-name">c.url.searchengines</span> = {
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- naive: Use simple/naive check.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- dns: Use DNS requests (might be slow!).</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- never: Never search automatically.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.url.auto_search = 'naive'</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">URL segments where `:navigate increment/decrement` will search for a</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">number.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- host</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- port</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- path</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- query</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- anchor</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.url.incdec_segments = ['path', 'query']</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Search engines which can be used via the address bar. Maps a search</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">placeholder. The placeholder will be replaced by the search term, use</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`{{` and `}}` for literal `{`/`}` signs. The search engine named</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`DEFAULT` is used when `url.auto_search` is turned on and something</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">else than a URL was entered to be opened. Other search engines can be</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">used by prepending the search engine name to the search term, e.g.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`:open google qutebrowser`.</span>
<span class="org-variable-name">c.url.searchengines</span> = {
<span class="org-string">'DEFAULT'</span>: <span class="org-string">'https://www.duckduckgo.org/?q={}'</span>, <span class="org-string">'DEFAULT'</span>: <span class="org-string">'https://www.duckduckgo.org/?q={}'</span>,
<span class="org-string">'aw'</span>: <span class="org-string">'https://wiki.archlinux.org/?search={}'</span>, <span class="org-string">'aw'</span>: <span class="org-string">'https://wiki.archlinux.org/?search={}'</span>,
<span class="org-string">'wi'</span>: <span class="org-string">'https://en.wikipedia.org/wiki/Special:Search?search={}'</span>, <span class="org-string">'wi'</span>: <span class="org-string">'https://en.wikipedia.org/wiki/Special:Search?search={}'</span>,
@ -965,29 +489,12 @@ Valid values:
<span class="org-string">'md'</span>: <span class="org-string">'https://fr.mathworks.com/help/search.html?qdoc={}&amp;submitsearch='</span>, <span class="org-string">'md'</span>: <span class="org-string">'https://fr.mathworks.com/help/search.html?qdoc={}&amp;submitsearch='</span>,
} }
<span class="org-comment-delimiter"># </span><span class="org-comment">Page(s) to open at the start.</span>
<span class="org-variable-name">c.url.start_pages</span> = [<span class="org-string">'https://start.duckduckgo.com'</span>] <span class="org-variable-name">c.url.start_pages</span> = [<span class="org-string">'https://start.duckduckgo.com'</span>]
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org42439dc" class="outline-2">
<h2 id="org42439dc">Window</h2>
<div class="outline-text-2" id="text-org42439dc">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Hide the window decoration. This setting requires a restart on</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Wayland.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.window.hide_decoration = False</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Format to use for the window title. The same placeholders like for</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">`tabs.title.format` are defined.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">c.window.title_format = '{perc}{title}{title_sep}qutebrowser'</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org8efdb48" class="outline-2"> <div id="outline-container-org8efdb48" class="outline-2">
<h2 id="org8efdb48">Bindings</h2> <h2 id="org8efdb48">Bindings</h2>
<div class="outline-text-2" id="text-org8efdb48"> <div class="outline-text-2" id="text-org8efdb48">
@ -1369,6 +876,16 @@ config.bind(<span class="org-string">'gr'</span>, <span class="org-string">'open
<h3 id="orga6ae0da">Custom Bindings</h3> <h3 id="orga6ae0da">Custom Bindings</h3>
<div class="outline-text-3" id="text-orga6ae0da"> <div class="outline-text-3" id="text-orga6ae0da">
</div> </div>
<div id="outline-container-orgd4034ec" class="outline-4">
<h4 id="orgd4034ec">Create a Password for the current website</h4>
<div class="outline-text-4" id="text-orgd4034ec">
<div class="org-src-container">
<pre class="src src-conf">config.bind(<span class="org-string">',P'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/add-passowrd.sh'</span>)
</pre>
</div>
</div>
</div>
<div id="outline-container-org5e08320" class="outline-4"> <div id="outline-container-org5e08320" class="outline-4">
<h4 id="org5e08320">Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>).</h4> <h4 id="org5e08320">Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>).</h4>
<div class="outline-text-4" id="text-org5e08320"> <div class="outline-text-4" id="text-org5e08320">
@ -1391,9 +908,9 @@ config.bind(<span class="org-string">',M'</span>, <span class="org-string">'hint
</div> </div>
</div> </div>
<div id="outline-container-org0c13e8b" class="outline-4"> <div id="outline-container-orgd5da58e" class="outline-4">
<h4 id="org0c13e8b">Cast Youtube to Chromecast</h4> <h4 id="orgd5da58e">Cast Youtube to Chromecast</h4>
<div class="outline-text-4" id="text-org0c13e8b"> <div class="outline-text-4" id="text-orgd5da58e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">config.bind(<span class="org-string">',c'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/cast.sh {url}'</span>) <pre class="src src-conf">config.bind(<span class="org-string">',c'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/cast.sh {url}'</span>)
config.bind(<span class="org-string">',C'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/cast.sh {hint-url}'</span>) config.bind(<span class="org-string">',C'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/cast.sh {hint-url}'</span>)
@ -1402,9 +919,9 @@ config.bind(<span class="org-string">',C'</span>, <span class="org-string">'hint
</div> </div>
</div> </div>
<div id="outline-container-org6a435da" class="outline-4"> <div id="outline-container-org548eb2c" class="outline-4">
<h4 id="org6a435da">Add url to refile.org</h4> <h4 id="org548eb2c">Add url to refile.org</h4>
<div class="outline-text-4" id="text-org6a435da"> <div class="outline-text-4" id="text-org548eb2c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">config.bind(<span class="org-string">',r'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/add-to-orgmode-refile.sh'</span>) <pre class="src src-conf">config.bind(<span class="org-string">',r'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/add-to-orgmode-refile.sh'</span>)
</pre> </pre>
@ -1462,7 +979,7 @@ config.bind(<span class="org-string">',R'</span>, <span class="org-string">'hint
<h4 id="org4e4e24a">See price in CamelCamelCamel</h4> <h4 id="org4e4e24a">See price in CamelCamelCamel</h4>
<div class="outline-text-4" id="text-org4e4e24a"> <div class="outline-text-4" id="text-org4e4e24a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">config.bind(<span class="org-string">',P'</span>, <span class="org-string">":open -t https://fr.camelcamelcamel.com/search?sq={url}"</span>) <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">config.bind(',P', ":open -t https://fr.camelcamelcamel.com/search?sq={url}")</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -1474,9 +991,27 @@ config.bind(<span class="org-string">',R'</span>, <span class="org-string">'hint
<h2 id="org3991a6c">Userscripts</h2> <h2 id="org3991a6c">Userscripts</h2>
<div class="outline-text-2" id="text-org3991a6c"> <div class="outline-text-2" id="text-org3991a6c">
</div> </div>
<div id="outline-container-orgd5da58e" class="outline-3"> <div id="outline-container-org6be4b76" class="outline-3">
<h3 id="orgd5da58e">Cast Youtube to Chromecast</h3> <h3 id="org6be4b76">Create a new password</h3>
<div class="outline-text-3" id="text-orgd5da58e"> <div class="outline-text-3" id="text-org6be4b76">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">url</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_URL</span></span><span class="org-string">"</span> | awk -F<span class="org-rainbow-delimiters-depth-2">[</span>/:<span class="org-rainbow-delimiters-depth-2">]</span> <span class="org-string">'{print $4}'</span> | rofi -p <span class="org-string">"URL"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-variable-name">username</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"dehaeze.thomas@gmail.com\nthomas.dehaeze@esrf.fr\ntdehaeze"</span> | rofi -p <span class="org-string">"Username"</span> -dmenu -lines <span class="org-highlight-numbers-number">5</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-variable-name">password</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"Password"</span> -dmenu -password -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<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">password</span></span><span class="org-string">\nlogin: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">username</span></span><span class="org-string">\nurl: </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; /tmp/add-password.txt
pass insert --multiline <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</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">username</span></span><span class="org-string">"</span> &lt; /tmp/add-password.txt
<span class="org-type">rm</span> /tmp/add-password.txt
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd3cff42" class="outline-3">
<h3 id="orgd3cff42">Cast Youtube to Chromecast</h3>
<div class="outline-text-3" id="text-orgd3cff42">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">youtube-dl -o - $<span class="org-highlight-numbers-number">1</span> | castnow --quiet - <pre class="src src-bash">youtube-dl -o - $<span class="org-highlight-numbers-number">1</span> | castnow --quiet -
</pre> </pre>
@ -1484,9 +1019,9 @@ config.bind(<span class="org-string">',R'</span>, <span class="org-string">'hint
</div> </div>
</div> </div>
<div id="outline-container-org548eb2c" class="outline-3"> <div id="outline-container-org4b6d5f9" class="outline-3">
<h3 id="org548eb2c">Add url to refile.org</h3> <h3 id="org4b6d5f9">Add url to refile.org</h3>
<div class="outline-text-3" id="text-org548eb2c"> <div class="outline-text-3" id="text-org4b6d5f9">
<p> <p>
Add the date and time of add to properties. Add the date and time of add to properties.
</p> </p>
@ -1526,6 +1061,7 @@ Add the date and time of add to properties.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org58d6993" class="outline-3"> <div id="outline-container-org58d6993" class="outline-3">
<h3 id="org58d6993">Org-Capture</h3> <h3 id="org58d6993">Org-Capture</h3>
<div class="outline-text-3" id="text-org58d6993"> <div class="outline-text-3" id="text-org58d6993">
@ -1546,6 +1082,7 @@ Add the date and time of add to properties.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org63ffcb4" class="outline-3"> <div id="outline-container-org63ffcb4" class="outline-3">
<h3 id="org63ffcb4">Add Url to Buku using Rofi</h3> <h3 id="org63ffcb4">Add Url to Buku using Rofi</h3>
<div class="outline-text-3" id="text-org63ffcb4"> <div class="outline-text-3" id="text-org63ffcb4">
@ -1562,7 +1099,7 @@ buku --add <span class="org-string">"</span><span class="org-string"><span class
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:19</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Ranger Configuration</title> <title>Ranger Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -274,7 +252,11 @@ for the JavaScript code in this tag.
<li><a href="#org1847974">Compress Script</a></li> <li><a href="#org1847974">Compress Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org33076f2">Delete first page of pdf</a></li> <li><a href="#org33076f2">Delete first page of pdf</a>
<ul>
<li><a href="#orgf053d1a">Delete first page of PDF</a></li>
</ul>
</li>
<li><a href="#org3f70c1c">Convert PDF to PNG</a></li> <li><a href="#org3f70c1c">Convert PDF to PNG</a></li>
<li><a href="#orge52c50c">Magit Status</a></li> <li><a href="#orge52c50c">Magit Status</a></li>
<li><a href="#org621f8e8">Upload with 0x0 (previously Tansfer.sh)</a> <li><a href="#org621f8e8">Upload with 0x0 (previously Tansfer.sh)</a>
@ -284,60 +266,38 @@ for the JavaScript code in this tag.
</li> </li>
<li><a href="#orge19a16e">Open current folder with PCManFM</a></li> <li><a href="#orge19a16e">Open current folder with PCManFM</a></li>
<li><a href="#org1886892">Open with Emacs</a></li> <li><a href="#org1886892">Open with Emacs</a></li>
<li><a href="#org8c9137b">Print on Rnice</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgd08d096">Define keys for the browser</a> <li><a href="#orgd08d096">Define keys for the browser</a>
<ul> <ul>
<li><a href="#org4d175ab">Basic</a></li> <li><a href="#org2766b39">Basic</a></li>
<li><a href="#org5904486">Open Shell in current directory</a></li> <li><a href="#org5904486">Open Shell in current directory</a></li>
<li><a href="#org8c9137b">Print on Rnice</a></li> <li><a href="#org0c81d35">Open With</a></li>
<li><a href="#orgada203d">Filter</a></li> <li><a href="#orgada203d">Filter</a></li>
<li><a href="#org0c0165f">Change the line mode</a></li>
<li><a href="#orgb764b86">Tagging / Marking</a></li> <li><a href="#orgb764b86">Tagging / Marking</a></li>
<li><a href="#orge2aa1a3">VIM-like</a></li> <li><a href="#orge2aa1a3">VIM-like</a></li>
<li><a href="#orgffebb62">Jumping around</a></li> <li><a href="#orgffebb62">Jumping around</a></li>
<li><a href="#orgd53d40d"><span class="todo TODO">TODO</span> Go to special folders</a></li> <li><a href="#orgd53d40d">Go to special folders</a></li>
<li><a href="#org0c81d35"><span class="todo TODO">TODO</span> Open With</a></li>
<li><a href="#org2a0ce0d">External Programs</a></li>
<li><a href="#orge844226">Get size of folders</a></li> <li><a href="#orge844226">Get size of folders</a></li>
<li><a href="#org09eae76">Yank path of directory/file</a></li> <li><a href="#org09eae76">Yank path of directory/file</a></li>
<li><a href="#orga975d9b">Filesystem Operations</a></li>
<li><a href="#orgf96f786">Drag and Drop</a></li> <li><a href="#orgf96f786">Drag and Drop</a></li>
<li><a href="#orge5d17bd"><span class="todo TODO">TODO</span> Rename</a></li> <li><a href="#org06db4c5">Rename files</a></li>
<li><a href="#org16777fd">Rename files - like vim bindings</a></li>
<li><a href="#orgb374e3c">Paste files</a></li> <li><a href="#orgb374e3c">Paste files</a></li>
<li><a href="#org2b7dea6">Delete and move files</a></li> <li><a href="#org2b7dea6">Delete and move files</a></li>
<li><a href="#orgb3c7fc8">Copy files</a></li> <li><a href="#orgb3c7fc8">Copy files</a></li>
<li><a href="#org380261d">Temporary workarounds</a></li>
<li><a href="#org71e2066">Searching</a></li> <li><a href="#org71e2066">Searching</a></li>
<li><a href="#org553185e">Tabs</a></li> <li><a href="#org553185e">Tabs</a></li>
<li><a href="#org1d2e389">Sorting</a></li>
<li><a href="#orgbaecc7e">Settings</a></li> <li><a href="#orgbaecc7e">Settings</a></li>
<li><a href="#orgc0b9c58">Bookmarks</a></li> <li><a href="#orgc0b9c58">Bookmarks</a></li>
<li><a href="#org49ef9ef">Custom Mapping</a></li> <li><a href="#org75b9bf9">FZF</a></li>
<li><a href="#org7fe9653">Generate all the chmod bindings with some python help:</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgdcee9fb">Define keys for the console</a> <li><a href="#orgdcee9fb">Define keys for the console</a>
<ul> <ul>
<li><a href="#orgd25e256">Basic</a></li> <li><a href="#orge4ef38a">Basic</a></li>
<li><a href="#orgb9d20bd">Move around</a></li> <li><a href="#orgb9d20bd">Move around</a></li>
<li><a href="#org357eb3a">Line Editing</a></li> <li><a href="#org357eb3a">Line Editing</a></li>
<li><a href="#orgd6a7ee3">And of course the emacs way</a></li>
<li><a href="#org19abab4">Others</a></li>
</ul>
</li>
<li><a href="#org6e5bd62">Pager Keybindings</a>
<ul>
<li><a href="#org87aa8b8">Movement</a></li>
<li><a href="#org06ac5b6">Basic</a></li>
</ul>
</li>
<li><a href="#org6675602">Taskview Keybindings</a>
<ul>
<li><a href="#orgb9bd2ed">Movement</a></li>
<li><a href="#orgc3a5d1e">Changing priority and deleting tasks</a></li>
<li><a href="#org2766b39">Basic</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -367,13 +327,11 @@ for the JavaScript code in this tag.
<span class="org-comment-delimiter"># </span><span class="org-comment">multipane: Midnight-commander like multipane view showing all tabs next</span> <span class="org-comment-delimiter"># </span><span class="org-comment">multipane: Midnight-commander like multipane view showing all tabs next</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">to each other</span> <span class="org-comment-delimiter"># </span><span class="org-comment">to each other</span>
set viewmode miller set viewmode miller
<span class="org-comment-delimiter">#</span><span class="org-comment">set viewmode multipane</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">How many columns are there, and what are their relative widths?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">How many columns are there, and what are their relative widths?</span>
set column_ratios <span class="org-highlight-numbers-number">1</span>,<span class="org-highlight-numbers-number">1</span> set column_ratios <span class="org-highlight-numbers-number">1</span>,<span class="org-highlight-numbers-number">1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Which files should be hidden? (regular expression)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Which files should be hidden? (regular expression)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$</span>
set hidden_filter ^\.|\.(?:pyc|vrb|pyo|lof|bak|swp|aux|log|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)$|^lost\+found$|^__(py)?cache__$ set hidden_filter ^\.|\.(?:pyc|vrb|pyo|lof|bak|swp|aux|log|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)$|^lost\+found$|^__(py)?cache__$
<span class="org-comment-delimiter"># </span><span class="org-comment">Show hidden files? You can toggle this by typing 'zh'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Show hidden files? You can toggle this by typing 'zh'</span>
@ -387,7 +345,7 @@ set confirm_on_delete multiple
<span class="org-comment-delimiter"># </span><span class="org-comment">Which script is used to generate file previews?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Which script is used to generate file previews?</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">ranger ships with scope.sh, a script that calls external programs (see</span> <span class="org-comment-delimiter"># </span><span class="org-comment">ranger ships with scope.sh, a script that calls external programs (see</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">README.md for dependencies) to preview images, archives, etc.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">README.md for dependencies) to preview images, archives, etc.</span>
set preview_script ~/.config/ranger/scope.sh set preview_script /home/thomas/.config/ranger/scope.sh
<span class="org-comment-delimiter"># </span><span class="org-comment">Use the external preview script or display simple plain text or image previews?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use the external preview script or display simple plain text or image previews?</span>
set use_preview_script true set use_preview_script true
@ -396,35 +354,17 @@ set use_preview_script true
set automatically_count_files true set automatically_count_files true
<span class="org-comment-delimiter"># </span><span class="org-comment">Open all images in this directory when running certain image viewers</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Open all images in this directory when running certain image viewers</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">like feh or sxiv? You can still open selected files by marking them.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">TODO</span>
set open_all_images true set open_all_images true
<span class="org-comment-delimiter"># </span><span class="org-comment">Be aware of version control systems and display information.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Be aware of version control systems and display information.</span>
set vcs_aware false set vcs_aware false
<span class="org-comment-delimiter"># </span><span class="org-comment">State of the three backends git, hg, bzr. The possible states are</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">disabled, local (only show local info), enabled (show local and remote</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">information).</span>
set vcs_backend_git enabled
set vcs_backend_hg disabled
set vcs_backend_bzr disabled
<span class="org-comment-delimiter"># </span><span class="org-comment">Use one of the supported image preview protocols</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use one of the supported image preview protocols</span>
set preview_images true set preview_images true
<span class="org-comment-delimiter"># </span><span class="org-comment">Set the preview image method</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Set the preview image method</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">TODO</span>
set preview_images_method w3m set preview_images_method w3m
<span class="org-comment-delimiter"># </span><span class="org-comment">Use a unicode "..." character to mark cut-off filenames?</span>
set unicode_ellipsis false
<span class="org-comment-delimiter"># </span><span class="org-comment">Show dotfiles in the bookmark preview box?</span>
set show_hidden_bookmarks true
<span class="org-comment-delimiter"># </span><span class="org-comment">Which colorscheme to use? These colorschemes are available by default:</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">default, jungle, snow, solarized</span>
set colorscheme default set colorscheme default
<span class="org-comment-delimiter"># </span><span class="org-comment">Preview files on the rightmost column?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Preview files on the rightmost column?</span>
@ -433,9 +373,6 @@ set preview_files true
set preview_directories true set preview_directories true
set collapse_preview true set collapse_preview true
<span class="org-comment-delimiter"># </span><span class="org-comment">Save the console history on exit?</span>
set save_console_history false
<span class="org-comment-delimiter"># </span><span class="org-comment">Draw the status bar on top of the browser window (default: bottom)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Draw the status bar on top of the browser window (default: bottom)</span>
set status_bar_on_top false set status_bar_on_top false
@ -454,16 +391,16 @@ set mouse_enabled true
<span class="org-comment-delimiter"># </span><span class="org-comment">Display the file size in the main column or status bar?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Display the file size in the main column or status bar?</span>
set display_size_in_main_column true set display_size_in_main_column true
set display_size_in_status_bar true set display_size_in_status_bar false
<span class="org-comment-delimiter"># </span><span class="org-comment">Display files tags in all columns or only in main column?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Display files tags in all columns or only in main column?</span>
set display_tags_in_all_columns true set display_tags_in_all_columns false
<span class="org-comment-delimiter"># </span><span class="org-comment">Set a title for the window?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Set a title for the window?</span>
set update_title false set update_title false
<span class="org-comment-delimiter"># </span><span class="org-comment">Set the title to "ranger" in the tmux program?</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Set the title to "ranger" in the tmux program?</span>
set update_tmux_title false set update_tmux_title true
<span class="org-comment-delimiter"># </span><span class="org-comment">Shorten the title if it gets long? The number defines how many</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Shorten the title if it gets long? The number defines how many</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">directories are displayed at once, 0 turns off this feature.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">directories are displayed at once, 0 turns off this feature.</span>
@ -486,16 +423,7 @@ set flushinput true
<span class="org-comment-delimiter"># </span><span class="org-comment">This allows you to click into the space to run the file.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">This allows you to click into the space to run the file.</span>
set padding_right true set padding_right true
<span class="org-comment-delimiter"># </span><span class="org-comment">Save bookmarks (used with mX and `X) instantly?</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This helps to synchronize bookmarks between multiple ranger</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">instances but leads to *slight* performance loss.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">When false, bookmarks are saved when ranger is exited.</span>
set autosave_bookmarks false set autosave_bookmarks false
<span class="org-comment-delimiter"># </span><span class="org-comment">You can display the "real" cumulative size of directories by using the</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">command :get_cumulative_size or typing "dc". The size is expensive to</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">calculate and will not be updated automatically. You can choose</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">to update it automatically though by turning on this option:</span>
set autoupdate_cumulative_size false set autoupdate_cumulative_size false
<span class="org-comment-delimiter"># </span><span class="org-comment">Turning this on makes sense for screen readers:</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Turning this on makes sense for screen readers:</span>
@ -519,7 +447,7 @@ set cd_bookmarks false
<span class="org-comment-delimiter"># </span><span class="org-comment">Avoid previewing files larger than this size, in bytes. Use a value of 0 to</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Avoid previewing files larger than this size, in bytes. Use a value of 0 to</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">disable this feature.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">disable this feature.</span>
set preview_max_size <span class="org-highlight-numbers-number">0</span> set preview_max_size <span class="org-highlight-numbers-number">5000000</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Add the highlighted file to the path in the titlebar</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Add the highlighted file to the path in the titlebar</span>
set show_selection_in_titlebar true set show_selection_in_titlebar true
@ -548,12 +476,7 @@ set line_numbers false
<h3 id="org951cbf1">Command Aliases in the Console</h3> <h3 id="org951cbf1">Command Aliases in the Console</h3>
<div class="outline-text-3" id="text-org951cbf1"> <div class="outline-text-3" id="text-org951cbf1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">alias e edit <pre class="src src-conf">alias q quit
alias q quit
alias q! quitall
alias qa quitall
alias qall quitall
alias setl setlocal
alias filter scout -prt alias filter scout -prt
alias find scout -aeit alias find scout -aeit
@ -575,8 +498,7 @@ alias travel scout -aefiklst
<h4 id="org05a21e6">Extract</h4> <h4 id="org05a21e6">Extract</h4>
<div class="outline-text-4" id="text-org05a21e6"> <div class="outline-text-4" id="text-org05a21e6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">map ,x shell atool -x %f</span> <pre class="src src-conf">map ,x shell ~/.config/ranger/scripts/extract.sh %f
map ,x shell ~/.config/ranger/scripts/extract.sh %f
</pre> </pre>
</div> </div>
</div> </div>
@ -600,8 +522,7 @@ map ,x shell ~/.config/ranger/scripts/extract.sh %f
<h4 id="orgd0d45b3">Compress</h4> <h4 id="orgd0d45b3">Compress</h4>
<div class="outline-text-4" id="text-orgd0d45b3"> <div class="outline-text-4" id="text-orgd0d45b3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">map ,z shell apack %f.zip %f</span> <pre class="src src-conf">map ,z shell ~/.config/ranger/scripts/compress.sh %f
map ,z shell ~/.config/ranger/scripts/compress.sh %f
</pre> </pre>
</div> </div>
</div> </div>
@ -626,10 +547,33 @@ map ,z shell ~/.config/ranger/scripts/compress.sh %f
<h4 id="org33076f2">Delete first page of pdf</h4> <h4 id="org33076f2">Delete first page of pdf</h4>
<div class="outline-text-4" id="text-org33076f2"> <div class="outline-text-4" id="text-org33076f2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map ,d shell ~/scripts/pdf-delete-first-page.sh %f <pre class="src src-conf">map ,d shell ~/.config/ranger/scripts/pdf-delete-first-page.sh %f
</pre> </pre>
</div> </div>
</div> </div>
<div id="outline-container-orgf053d1a" class="outline-5">
<h5 id="orgf053d1a">Delete first page of PDF</h5>
<div class="outline-text-5" id="text-orgf053d1a">
<p>
The requirement is to have <code>pdftk</code> or <code>stapler</code> installed.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f $<span class="org-highlight-numbers-number">1</span> &amp;&amp; $<span class="org-highlight-numbers-number">1</span> == *.pdf <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Argument if a file</span>
<span class="org-keyword">if </span><span class="org-builtin">type</span> stapler &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
stapler del <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-highlight-numbers-number">1</span> /tmp/pdftk_out.pdf &amp;&amp; <span class="org-type">mv</span> /tmp/pdftk_out.pdf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
<span class="org-keyword">elif </span><span class="org-builtin">type</span> pdftk &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
pdftk <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-type">cat</span> 2-end output /tmp/pdftk_out.pdf &amp;&amp; <span class="org-type">mv</span> /tmp/pdftk_out.pdf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span>
<span class="org-type">echo</span> <span class="org-string">"Neither pdftk nor stapler are installed"</span>
<span class="org-keyword">fi</span>
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
</div> </div>
<div id="outline-container-org3f70c1c" class="outline-4"> <div id="outline-container-org3f70c1c" class="outline-4">
@ -656,8 +600,7 @@ map ,z shell ~/.config/ranger/scripts/compress.sh %f
<h4 id="org621f8e8">Upload with 0x0 (previously Tansfer.sh)</h4> <h4 id="org621f8e8">Upload with 0x0 (previously Tansfer.sh)</h4>
<div class="outline-text-4" id="text-org621f8e8"> <div class="outline-text-4" id="text-org621f8e8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">map ,t shell curl --progress-bar --upload-file %f https://transfer.sh/$(basename $1) | xclip -in -selection clipboard;</span> <pre class="src src-conf">map ,t shell ~/.config/ranger/scripts/upload.sh %f
map ,t shell ~/.config/ranger/scripts/upload.sh %f
</pre> </pre>
</div> </div>
</div> </div>
@ -696,37 +639,56 @@ map ,t shell ~/.config/ranger/scripts/upload.sh %f
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org8c9137b" class="outline-4">
<h4 id="org8c9137b">Print on Rnice</h4>
<div class="outline-text-4" id="text-org8c9137b">
<div class="org-src-container">
<pre class="src src-conf">map ,p shell print-rnice %f &amp;
</pre>
</div>
</div>
</div>
</div> </div>
<div id="outline-container-orgd08d096" class="outline-3"> <div id="outline-container-orgd08d096" class="outline-3">
<h3 id="orgd08d096">Define keys for the browser</h3> <h3 id="orgd08d096">Define keys for the browser</h3>
<div class="outline-text-3" id="text-orgd08d096"> <div class="outline-text-3" id="text-orgd08d096">
</div> </div>
<div id="outline-container-org4d175ab" class="outline-4"> <div id="outline-container-org2766b39" class="outline-4">
<h4 id="org4d175ab">Basic</h4> <h4 id="org2766b39">Basic</h4>
<div class="outline-text-4" id="text-org4d175ab"> <div class="outline-text-4" id="text-org2766b39">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map Q quit! <pre class="src src-conf">map Q quit!
map q eval fm.execute_console(<span class="org-string">"shell tmux detach"</span>) if <span class="org-string">'TMUX'</span> in os.environ.keys() else fm.execute_console(<span class="org-string">"quit"</span>) map q eval fm.execute_console(<span class="org-string">"shell tmux detach"</span>) if <span class="org-string">'TMUX'</span> in os.environ.keys() else fm.execute_console(<span class="org-string">"quit"</span>)
copymap q ZZ ZQ </pre>
</div>
map R reload_cwd <div class="org-src-container">
map &lt;C-r&gt; reset <pre class="src src-conf">map &lt;C-c&gt; abort
map &lt;C-l&gt; redraw_window
map &lt;C-c&gt; abort
map &lt;esc&gt; change_mode normal map &lt;esc&gt; change_mode normal
map ~ set viewmode! map ~ set viewmode!
</pre>
</div>
map i display_file <div class="org-src-container">
map ? help <pre class="src src-conf">map ? help
map W display_log </pre>
map w taskview_open </div>
map : console <div class="org-src-container">
<pre class="src src-conf">map : console
map ; console map ; console
map ! console shell%space </pre>
map @ console -p6 shell %%s </div>
map <span class="org-comment-delimiter"># </span><span class="org-comment">console shell -p%space</span>
<div class="org-src-container">
<pre class="src src-conf">map ! console shell%space
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">map @ console -p6 shell %%s
</pre> </pre>
</div> </div>
</div> </div>
@ -737,20 +699,17 @@ map <span class="org-comment-delimiter"># </span><span class="org-comment">conso
<div class="outline-text-4" id="text-org5904486"> <div class="outline-text-4" id="text-org5904486">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map s shell $SHELL <pre class="src src-conf">map s shell $SHELL
<span class="org-comment-delimiter"># </span><span class="org-comment">Open External Shell in current directory</span>
map S shell nohup $TERMINAL &amp; map S shell nohup $TERMINAL &amp;
map r chain draw_possible_programs; console open_with%%space
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org8c9137b" class="outline-4"> <div id="outline-container-org0c81d35" class="outline-4">
<h4 id="org8c9137b">Print on Rnice</h4> <h4 id="org0c81d35">Open With</h4>
<div class="outline-text-4" id="text-org8c9137b"> <div class="outline-text-4" id="text-org0c81d35">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map ,p shell print-rnice %f &amp; <pre class="src src-conf">map O chain draw_possible_programs; console open_with%space
</pre> </pre>
</div> </div>
</div> </div>
@ -768,32 +727,12 @@ map F filter
</div> </div>
</div> </div>
<div id="outline-container-org0c0165f" class="outline-4">
<h4 id="org0c0165f">Change the line mode</h4>
<div class="outline-text-4" id="text-org0c0165f">
<div class="org-src-container">
<pre class="src src-conf">map Mf linemode filename
map Mi linemode fileinfo
map Mm linemode mtime
map Mp linemode permissions
map Ms linemode sizemtime
map Mt linemode metatitle
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb764b86" class="outline-4"> <div id="outline-container-orgb764b86" class="outline-4">
<h4 id="orgb764b86">Tagging / Marking</h4> <h4 id="orgb764b86">Tagging / Marking</h4>
<div class="outline-text-4" id="text-orgb764b86"> <div class="outline-text-4" id="text-orgb764b86">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map t tag_toggle <pre class="src src-conf"><span class="org-variable-name">map &lt;Space&gt; mark_files toggle</span>=True
map ut tag_remove
<span class="org-variable-name">map &lt;Space&gt; mark_files toggle</span>=True
<span class="org-variable-name">map v mark_files all</span>=True toggle=True <span class="org-variable-name">map v mark_files all</span>=True toggle=True
<span class="org-variable-name">map uv mark_files all</span>=True val=False
map V toggle_visual_mode
<span class="org-variable-name">map uV toggle_visual_mode reverse</span>=True
</pre> </pre>
</div> </div>
</div> </div>
@ -809,8 +748,6 @@ copymap &lt;LEFT&gt; h
copymap &lt;RIGHT&gt; l copymap &lt;RIGHT&gt; l
copymap &lt;HOME&gt; gg copymap &lt;HOME&gt; gg
copymap &lt;END&gt; G copymap &lt;END&gt; G
copymap &lt;PAGEDOWN&gt; &lt;C-F&gt;
copymap &lt;PAGEUP&gt; &lt;C-B&gt;
</pre> </pre>
</div> </div>
</div> </div>
@ -822,21 +759,32 @@ copymap &lt;PAGEUP&gt; &lt;C-B&gt;
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map H history_go -1 <pre class="src src-conf">map H history_go -1
map L history_go <span class="org-highlight-numbers-number">1</span> map L history_go <span class="org-highlight-numbers-number">1</span>
map ] move_parent <span class="org-highlight-numbers-number">1</span> </pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">map ] move_parent <span class="org-highlight-numbers-number">1</span>
map [ move_parent -1 map [ move_parent -1
map } traverse </pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">map } traverse
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">map cd console cd%space
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgd53d40d" class="outline-4"> <div id="outline-container-orgd53d40d" class="outline-4">
<h4 id="orgd53d40d"><span class="todo TODO">TODO</span> Go to special folders</h4> <h4 id="orgd53d40d">Go to special folders</h4>
<div class="outline-text-4" id="text-orgd53d40d"> <div class="outline-text-4" id="text-orgd53d40d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map cd console cd%space <pre class="src src-conf">map gh cd ~
map gh cd ~
map ga cd ~/Cloud/administratif map ga cd ~/Cloud/administratif
map gm cd ~/Cloud/thesis map gm cd ~/Cloud/thesis
map gp cd ~/Pictures map gp cd ~/Pictures
@ -848,29 +796,6 @@ map gc cd ~/.config/literate-dotfiles
</div> </div>
</div> </div>
<div id="outline-container-org0c81d35" class="outline-4">
<h4 id="org0c81d35"><span class="todo TODO">TODO</span> Open With</h4>
<div class="outline-text-4" id="text-org0c81d35">
<p>
Should automatically close mimeopen after the program is chosen.
</p>
<div class="org-src-container">
<pre class="src src-conf">map O shell mimeopen -a %f
</pre>
</div>
</div>
</div>
<div id="outline-container-org2a0ce0d" class="outline-4">
<h4 id="org2a0ce0d">External Programs</h4>
<div class="outline-text-4" id="text-org2a0ce0d">
<div class="org-src-container">
<pre class="src src-conf">map E edit
</pre>
</div>
</div>
</div>
<div id="outline-container-orge844226" class="outline-4"> <div id="outline-container-orge844226" class="outline-4">
<h4 id="orge844226">Get size of folders</h4> <h4 id="orge844226">Get size of folders</h4>
<div class="outline-text-4" id="text-orge844226"> <div class="outline-text-4" id="text-orge844226">
@ -899,16 +824,6 @@ map yn shell -f echo -n %f | xsel -i; xsel -o | xsel -i -b
</div> </div>
</div> </div>
<div id="outline-container-orga975d9b" class="outline-4">
<h4 id="orga975d9b">Filesystem Operations</h4>
<div class="outline-text-4" id="text-orga975d9b">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">map</span> = chmod
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf96f786" class="outline-4"> <div id="outline-container-orgf96f786" class="outline-4">
<h4 id="orgf96f786">Drag and Drop</h4> <h4 id="orgf96f786">Drag and Drop</h4>
<div class="outline-text-4" id="text-orgf96f786"> <div class="outline-text-4" id="text-orgf96f786">
@ -919,22 +834,12 @@ map yn shell -f echo -n %f | xsel -i; xsel -o | xsel -i -b
</div> </div>
</div> </div>
<div id="outline-container-orge5d17bd" class="outline-4"> <div id="outline-container-org06db4c5" class="outline-4">
<h4 id="orge5d17bd"><span class="todo TODO">TODO</span> Rename</h4> <h4 id="org06db4c5">Rename files</h4>
<div class="outline-text-4" id="text-orge5d17bd"> <div class="outline-text-4" id="text-org06db4c5">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">map cw console rename%space</span>
map cw eval fm.execute_console(<span class="org-string">"bulkrename"</span>) if fm.thisdir.marked_items else fm.open_console(<span class="org-string">"rename "</span>)
</pre>
</div>
</div>
</div>
<div id="outline-container-org16777fd" class="outline-4">
<h4 id="org16777fd">Rename files - like vim bindings</h4>
<div class="outline-text-4" id="text-org16777fd">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map a rename_append <pre class="src src-conf">map a rename_append
map C eval fm.execute_console(<span class="org-string">"bulkrename"</span>) if fm.thisdir.marked_items else fm.open_console(<span class="org-string">"rename "</span>)
map A eval fm.open_console(<span class="org-string">'rename '</span> + fm.thisfile.relative_path.replace(<span class="org-string">"%"</span>, <span class="org-string">"%%"</span>)) map A eval fm.open_console(<span class="org-string">'rename '</span> + fm.thisfile.relative_path.replace(<span class="org-string">"%"</span>, <span class="org-string">"%%"</span>))
map I eval fm.open_console(<span class="org-string">'rename '</span> + fm.thisfile.relative_path.replace(<span class="org-string">"%"</span>, <span class="org-string">"%%"</span>), position=<span class="org-highlight-numbers-number">7</span>) map I eval fm.open_console(<span class="org-string">'rename '</span> + fm.thisfile.relative_path.replace(<span class="org-string">"%"</span>, <span class="org-string">"%%"</span>), position=<span class="org-highlight-numbers-number">7</span>)
</pre> </pre>
@ -965,10 +870,7 @@ map pht paste_hardlinked_subtree
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map dD shell -s trash-put %s <pre class="src src-conf">map dD shell -s trash-put %s
map dd cut map dd cut
map ud uncut map du uncut
<span class="org-variable-name">map da cut mode</span>=add
<span class="org-variable-name">map dr cut mode</span>=remove
<span class="org-variable-name">map dt cut mode</span>=toggle
</pre> </pre>
</div> </div>
</div> </div>
@ -979,27 +881,7 @@ map ud uncut
<div class="outline-text-4" id="text-orgb3c7fc8"> <div class="outline-text-4" id="text-orgb3c7fc8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map yy copy <pre class="src src-conf">map yy copy
map uy uncut map yu uncut
<span class="org-variable-name">map ya copy mode</span>=add
<span class="org-variable-name">map yr copy mode</span>=remove
<span class="org-variable-name">map yt copy mode</span>=toggle
</pre>
</div>
</div>
</div>
<div id="outline-container-org380261d" class="outline-4">
<h4 id="org380261d">Temporary workarounds</h4>
<div class="outline-text-4" id="text-org380261d">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">map dgg eval fm.cut(dirarg</span>=dict(to=<span class="org-highlight-numbers-number">0</span>), narg=quantifier)
<span class="org-variable-name">map dG eval fm.cut(dirarg</span>=dict(to=-1), narg=quantifier)
<span class="org-variable-name">map dj eval fm.cut(dirarg</span>=dict(down=<span class="org-highlight-numbers-number">1</span>), narg=quantifier)
<span class="org-variable-name">map dk eval fm.cut(dirarg</span>=dict(up=<span class="org-highlight-numbers-number">1</span>), narg=quantifier)
<span class="org-variable-name">map ygg eval fm.copy(dirarg</span>=dict(to=<span class="org-highlight-numbers-number">0</span>), narg=quantifier)
<span class="org-variable-name">map yG eval fm.copy(dirarg</span>=dict(to=-1), narg=quantifier)
<span class="org-variable-name">map yj eval fm.copy(dirarg</span>=dict(down=<span class="org-highlight-numbers-number">1</span>), narg=quantifier)
<span class="org-variable-name">map yk eval fm.copy(dirarg</span>=dict(up=<span class="org-highlight-numbers-number">1</span>), narg=quantifier)
</pre> </pre>
</div> </div>
</div> </div>
@ -1012,12 +894,6 @@ map uy uncut
<pre class="src src-conf">map / console search%space <pre class="src src-conf">map / console search%space
map n search_next map n search_next
<span class="org-variable-name">map N search_next forward</span>=False <span class="org-variable-name">map N search_next forward</span>=False
<span class="org-variable-name">map ct search_next order</span>=tag
<span class="org-variable-name">map cs search_next order</span>=size
<span class="org-variable-name">map ci search_next order</span>=mimetype
<span class="org-variable-name">map cc search_next order</span>=ctime
<span class="org-variable-name">map cm search_next order</span>=mtime
<span class="org-variable-name">map ca search_next order</span>=atime
</pre> </pre>
</div> </div>
</div> </div>
@ -1029,52 +905,12 @@ map n search_next
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map &lt;C-n&gt; tab_new ~ <pre class="src src-conf">map &lt;C-n&gt; tab_new ~
map &lt;C-w&gt; tab_close map &lt;C-w&gt; tab_close
map &lt;TAB&gt; tab_move <span class="org-highlight-numbers-number">1</span> map &lt;TAB&gt; tab_move <span class="org-highlight-numbers-number">1</span>
map &lt;S-TAB&gt; tab_move -1 map &lt;S-TAB&gt; tab_move -1
map &lt;A-Right&gt; tab_move <span class="org-highlight-numbers-number">1</span>
map &lt;A-Left&gt; tab_move -1
map gt tab_move <span class="org-highlight-numbers-number">1</span>
map gn tab_new ~ map gn tab_new ~
map uq tab_restore map gt tab_move <span class="org-highlight-numbers-number">1</span>
map &lt;a-1&gt; tab_open <span class="org-highlight-numbers-number">1</span>
map &lt;a-2&gt; tab_open <span class="org-highlight-numbers-number">2</span>
map &lt;a-3&gt; tab_open <span class="org-highlight-numbers-number">3</span>
map &lt;a-4&gt; tab_open <span class="org-highlight-numbers-number">4</span>
map &lt;a-5&gt; tab_open <span class="org-highlight-numbers-number">5</span>
map &lt;a-6&gt; tab_open <span class="org-highlight-numbers-number">6</span>
map &lt;a-7&gt; tab_open <span class="org-highlight-numbers-number">7</span>
map &lt;a-8&gt; tab_open <span class="org-highlight-numbers-number">8</span>
map &lt;a-9&gt; tab_open <span class="org-highlight-numbers-number">9</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org1d2e389" class="outline-4">
<h4 id="org1d2e389">Sorting</h4>
<div class="outline-text-4" id="text-org1d2e389">
<div class="org-src-container">
<pre class="src src-conf">map or set sort_reverse!
<span class="org-variable-name">map oz set sort</span>=random
<span class="org-variable-name">map os chain set sort</span>=size; set sort_reverse=False
<span class="org-variable-name">map ob chain set sort</span>=basename; set sort_reverse=False
<span class="org-variable-name">map on chain set sort</span>=natural; set sort_reverse=False
<span class="org-variable-name">map om chain set sort</span>=mtime; set sort_reverse=False
<span class="org-variable-name">map oc chain set sort</span>=ctime; set sort_reverse=False
<span class="org-variable-name">map oa chain set sort</span>=atime; set sort_reverse=False
<span class="org-variable-name">map ot chain set sort</span>=type; set sort_reverse=False
<span class="org-variable-name">map oe chain set sort</span>=extension; set sort_reverse=False
<span class="org-variable-name">map oS chain set sort</span>=size; set sort_reverse=True
<span class="org-variable-name">map oB chain set sort</span>=basename; set sort_reverse=True
<span class="org-variable-name">map oN chain set sort</span>=natural; set sort_reverse=True
<span class="org-variable-name">map oM chain set sort</span>=mtime; set sort_reverse=True
<span class="org-variable-name">map oC chain set sort</span>=ctime; set sort_reverse=True
<span class="org-variable-name">map oA chain set sort</span>=atime; set sort_reverse=True
<span class="org-variable-name">map oT chain set sort</span>=type; set sort_reverse=True
<span class="org-variable-name">map oE chain set sort</span>=extension; set sort_reverse=True
map dc get_cumulative_size
</pre> </pre>
</div> </div>
</div> </div>
@ -1084,19 +920,10 @@ map dc get_cumulative_size
<h4 id="orgbaecc7e">Settings</h4> <h4 id="orgbaecc7e">Settings</h4>
<div class="outline-text-4" id="text-orgbaecc7e"> <div class="outline-text-4" id="text-orgbaecc7e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map zc set collapse_preview! <pre class="src src-conf">map zh set show_hidden!
map zd set sort_directories_first!
map zh set show_hidden!
map &lt;C-h&gt; set show_hidden!
map zI set flushinput!
map zi set preview_images! map zi set preview_images!
map zm set mouse_enabled!
map zp set preview_files!
map zP set preview_directories!
map zs set sort_case_insensitive!
map zu set autoupdate_cumulative_size!
map zv set use_preview_script! map zv set use_preview_script!
map zf console filter%space
</pre> </pre>
</div> </div>
</div> </div>
@ -1118,44 +945,24 @@ map <span class="org-string">'&lt;any&gt; enter_bookmark %any</span>
</div> </div>
</div> </div>
<div id="outline-container-org49ef9ef" class="outline-4"> <div id="outline-container-org75b9bf9" class="outline-4">
<h4 id="org49ef9ef">Custom Mapping</h4> <h4 id="org75b9bf9">FZF</h4>
<div class="outline-text-4" id="text-org49ef9ef"> <div class="outline-text-4" id="text-org75b9bf9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">map &lt;C-f&gt; fzf_select <pre class="src src-conf">map &lt;C-f&gt; fzf_select
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org7fe9653" class="outline-4">
<h4 id="org7fe9653">Generate all the chmod bindings with some python help:</h4>
<div class="outline-text-4" id="text-org7fe9653">
<div class="org-src-container">
<pre class="src src-conf">eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map +u{0} shell -f chmod u+{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map +g{0} shell -f chmod g+{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map +o{0} shell -f chmod o+{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map +a{0} shell -f chmod a+{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map +{0} shell -f chmod u+{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map -u{0} shell -f chmod u-{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map -g{0} shell -f chmod g-{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map -o{0} shell -f chmod o-{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map -a{0} shell -f chmod a-{0} %s"</span>.format(arg))
eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-string">"map -{0} shell -f chmod u-{0} %s"</span>.format(arg))
</pre>
</div>
</div>
</div>
</div> </div>
<div id="outline-container-orgdcee9fb" class="outline-3"> <div id="outline-container-orgdcee9fb" class="outline-3">
<h3 id="orgdcee9fb">Define keys for the console</h3> <h3 id="orgdcee9fb">Define keys for the console</h3>
<div class="outline-text-3" id="text-orgdcee9fb"> <div class="outline-text-3" id="text-orgdcee9fb">
</div> </div>
<div id="outline-container-orgd25e256" class="outline-4"> <div id="outline-container-orge4ef38a" class="outline-4">
<h4 id="orgd25e256">Basic</h4> <h4 id="orge4ef38a">Basic</h4>
<div class="outline-text-4" id="text-orgd25e256"> <div class="outline-text-4" id="text-orge4ef38a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">cmap &lt;tab&gt; eval fm.ui.console.tab() <pre class="src src-conf">cmap &lt;tab&gt; eval fm.ui.console.tab()
cmap &lt;s-tab&gt; eval fm.ui.console.tab(-1) cmap &lt;s-tab&gt; eval fm.ui.console.tab(-1)
@ -1180,8 +987,6 @@ cmap &lt;down&gt; eval fm.ui.console.history_move(<span class="org-highlight-nu
<span class="org-variable-name">cmap &lt;right&gt; eval fm.ui.console.move(right</span>=<span class="org-highlight-numbers-number">1</span>) <span class="org-variable-name">cmap &lt;right&gt; eval fm.ui.console.move(right</span>=<span class="org-highlight-numbers-number">1</span>)
<span class="org-variable-name">cmap &lt;home&gt; eval fm.ui.console.move(right</span>=<span class="org-highlight-numbers-number">0</span>, absolute=True) <span class="org-variable-name">cmap &lt;home&gt; eval fm.ui.console.move(right</span>=<span class="org-highlight-numbers-number">0</span>, absolute=True)
<span class="org-variable-name">cmap &lt;end&gt; eval fm.ui.console.move(right</span>=-1, absolute=True) <span class="org-variable-name">cmap &lt;end&gt; eval fm.ui.console.move(right</span>=-1, absolute=True)
<span class="org-variable-name">cmap &lt;a-left&gt; eval fm.ui.console.move_word(left</span>=<span class="org-highlight-numbers-number">1</span>)
<span class="org-variable-name">cmap &lt;a-right&gt; eval fm.ui.console.move_word(right</span>=<span class="org-highlight-numbers-number">1</span>)
</pre> </pre>
</div> </div>
</div> </div>
@ -1194,148 +999,9 @@ cmap &lt;down&gt; eval fm.ui.console.history_move(<span class="org-highlight-nu
<pre class="src src-conf">cmap &lt;backspace&gt; eval fm.ui.console.delete(-1) <pre class="src src-conf">cmap &lt;backspace&gt; eval fm.ui.console.delete(-1)
cmap &lt;delete&gt; eval fm.ui.console.delete(<span class="org-highlight-numbers-number">0</span>) cmap &lt;delete&gt; eval fm.ui.console.delete(<span class="org-highlight-numbers-number">0</span>)
cmap &lt;C-w&gt; eval fm.ui.console.delete_word() cmap &lt;C-w&gt; eval fm.ui.console.delete_word()
<span class="org-variable-name">cmap &lt;A-d&gt; eval fm.ui.console.delete_word(backward</span>=False)
cmap &lt;C-k&gt; eval fm.ui.console.delete_rest(<span class="org-highlight-numbers-number">1</span>)
cmap &lt;C-u&gt; eval fm.ui.console.delete_rest(-1)
cmap &lt;C-y&gt; eval fm.ui.console.paste() cmap &lt;C-y&gt; eval fm.ui.console.paste()
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd6a7ee3" class="outline-4">
<h4 id="orgd6a7ee3">And of course the emacs way</h4>
<div class="outline-text-4" id="text-orgd6a7ee3">
<div class="org-src-container">
<pre class="src src-conf">copycmap &lt;up&gt; &lt;C-p&gt;
copycmap &lt;down&gt; &lt;C-n&gt;
copycmap &lt;left&gt; &lt;C-b&gt;
copycmap &lt;right&gt; &lt;C-f&gt;
copycmap &lt;home&gt; &lt;C-a&gt; copycmap &lt;home&gt; &lt;C-a&gt;
copycmap &lt;end&gt; &lt;C-e&gt; copycmap &lt;end&gt; &lt;C-e&gt;
copycmap &lt;delete&gt; &lt;C-d&gt;
copycmap &lt;backspace&gt; &lt;C-h&gt;
</pre>
</div>
</div>
</div>
<div id="outline-container-org19abab4" class="outline-4">
<h4 id="org19abab4">Others</h4>
<div class="outline-text-4" id="text-org19abab4">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Note: There are multiple ways to express backspaces. &lt;backspace&gt; (code 263)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">and &lt;backspace2&gt; (code 127). To be sure, use both.</span>
copycmap &lt;backspace&gt; &lt;backspace2&gt;
<span class="org-comment-delimiter"># </span><span class="org-comment">This special expression allows typing in numerals:</span>
cmap &lt;allow_quantifiers&gt; false
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org6e5bd62" class="outline-3">
<h3 id="org6e5bd62">Pager Keybindings</h3>
<div class="outline-text-3" id="text-org6e5bd62">
</div>
<div id="outline-container-org87aa8b8" class="outline-4">
<h4 id="org87aa8b8">Movement</h4>
<div class="outline-text-4" id="text-org87aa8b8">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">pmap &lt;down&gt; pager_move down</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">pmap &lt;up&gt; pager_move up</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">pmap &lt;left&gt; pager_move left</span>=<span class="org-highlight-numbers-number">4</span>
<span class="org-variable-name">pmap &lt;right&gt; pager_move right</span>=<span class="org-highlight-numbers-number">4</span>
<span class="org-variable-name">pmap &lt;home&gt; pager_move to</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">pmap &lt;end&gt; pager_move to</span>=-1
<span class="org-variable-name">pmap &lt;pagedown&gt; pager_move down</span>=<span class="org-highlight-numbers-number">1.0</span> pages=True
<span class="org-variable-name">pmap &lt;pageup&gt; pager_move up</span>=<span class="org-highlight-numbers-number">1.0</span> pages=True
<span class="org-variable-name">pmap &lt;C-d&gt; pager_move down</span>=<span class="org-highlight-numbers-number">0.5</span> pages=True
<span class="org-variable-name">pmap &lt;C-u&gt; pager_move up</span>=<span class="org-highlight-numbers-number">0.5</span> pages=True
copypmap &lt;UP&gt; k &lt;C-p&gt;
copypmap &lt;DOWN&gt; j &lt;C-n&gt; &lt;CR&gt;
copypmap &lt;LEFT&gt; h
copypmap &lt;RIGHT&gt; l
copypmap &lt;HOME&gt; g
copypmap &lt;END&gt; G
copypmap &lt;C-d&gt; d
copypmap &lt;C-u&gt; u
copypmap &lt;PAGEDOWN&gt; n f &lt;C-F&gt; &lt;Space&gt;
copypmap &lt;PAGEUP&gt; p b &lt;C-B&gt;
</pre>
</div>
</div>
</div>
<div id="outline-container-org06ac5b6" class="outline-4">
<h4 id="org06ac5b6">Basic</h4>
<div class="outline-text-4" id="text-org06ac5b6">
<div class="org-src-container">
<pre class="src src-conf">pmap &lt;C-l&gt; redraw_window
pmap &lt;ESC&gt; pager_close
copypmap &lt;ESC&gt; q Q i &lt;F3&gt;
pmap E edit_file
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org6675602" class="outline-3">
<h3 id="org6675602">Taskview Keybindings</h3>
<div class="outline-text-3" id="text-org6675602">
</div>
<div id="outline-container-orgb9bd2ed" class="outline-4">
<h4 id="orgb9bd2ed">Movement</h4>
<div class="outline-text-4" id="text-orgb9bd2ed">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">tmap &lt;up&gt; taskview_move up</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">tmap &lt;down&gt; taskview_move down</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">tmap &lt;home&gt; taskview_move to</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">tmap &lt;end&gt; taskview_move to</span>=-1
<span class="org-variable-name">tmap &lt;pagedown&gt; taskview_move down</span>=<span class="org-highlight-numbers-number">1.0</span> pages=True
<span class="org-variable-name">tmap &lt;pageup&gt; taskview_move up</span>=<span class="org-highlight-numbers-number">1.0</span> pages=True
<span class="org-variable-name">tmap &lt;C-d&gt; taskview_move down</span>=<span class="org-highlight-numbers-number">0.5</span> pages=True
<span class="org-variable-name">tmap &lt;C-u&gt; taskview_move up</span>=<span class="org-highlight-numbers-number">0.5</span> pages=True
copytmap &lt;UP&gt; k &lt;C-p&gt;
copytmap &lt;DOWN&gt; j &lt;C-n&gt; &lt;CR&gt;
copytmap &lt;HOME&gt; g
copytmap &lt;END&gt; G
copytmap &lt;C-u&gt; u
copytmap &lt;PAGEDOWN&gt; n f &lt;C-F&gt; &lt;Space&gt;
copytmap &lt;PAGEUP&gt; p b &lt;C-B&gt;
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc3a5d1e" class="outline-4">
<h4 id="orgc3a5d1e">Changing priority and deleting tasks</h4>
<div class="outline-text-4" id="text-orgc3a5d1e">
<div class="org-src-container">
<pre class="src src-conf">tmap J eval -q fm.ui.taskview.task_move(-1)
tmap K eval -q fm.ui.taskview.task_move(<span class="org-highlight-numbers-number">0</span>)
tmap dd eval -q fm.ui.taskview.task_remove()
tmap &lt;pagedown&gt; eval -q fm.ui.taskview.task_move(-1)
tmap &lt;pageup&gt; eval -q fm.ui.taskview.task_move(<span class="org-highlight-numbers-number">0</span>)
tmap &lt;delete&gt; eval -q fm.ui.taskview.task_remove()
</pre>
</div>
</div>
</div>
<div id="outline-container-org2766b39" class="outline-4">
<h4 id="org2766b39">Basic</h4>
<div class="outline-text-4" id="text-org2766b39">
<div class="org-src-container">
<pre class="src src-conf">tmap &lt;C-l&gt; redraw_window
tmap &lt;ESC&gt; taskview_close
copytmap &lt;ESC&gt; q Q w &lt;C-c&gt;
default_linemode devicons
</pre> </pre>
</div> </div>
</div> </div>
@ -1416,14 +1082,14 @@ default_linemode devicons
<span class="org-comment-delimiter">#</span><span class="org-comment">-------------------------------------------</span> <span class="org-comment-delimiter">#</span><span class="org-comment">-------------------------------------------</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Misc</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Misc</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">-------------------------------------------</span> <span class="org-comment-delimiter">#</span><span class="org-comment">-------------------------------------------</span>
<span class="org-variable-name">ext org</span> = emacsclient -c <span class="org-string">"$1"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Define the "editor" for text files as first action</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Define the "editor" for text files as first action</span>
<span class="org-variable-name">mime ^text, label editor</span> = $EDITOR -- <span class="org-string">"$@"</span> <span class="org-variable-name">mime ^text, label editor</span> = $EDITOR -- <span class="org-string">"$@"</span>
<span class="org-variable-name">mime ^text, label pager</span> = <span class="org-string">"$PAGER"</span> -- <span class="org-string">"$@"</span> <span class="org-variable-name">mime ^text, label pager</span> = <span class="org-string">"$PAGER"</span> -- <span class="org-string">"$@"</span>
<span class="org-variable-name">!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php</span> = $EDITOR -- <span class="org-string">"$@"</span> <span class="org-variable-name">!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php</span> = $EDITOR -- <span class="org-string">"$@"</span>
<span class="org-variable-name">!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php</span> = <span class="org-string">"$PAGER"</span> -- <span class="org-string">"$@"</span> <span class="org-variable-name">!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php</span> = <span class="org-string">"$PAGER"</span> -- <span class="org-string">"$@"</span>
<span class="org-variable-name">ext org</span> = emacsclient -create-frame --alternate-editor=<span class="org-string">""</span> -n <span class="org-string">"$1"</span>
ext <span class="org-highlight-numbers-number">1</span> = man <span class="org-string">"$1"</span> ext <span class="org-highlight-numbers-number">1</span> = man <span class="org-string">"$1"</span>
<span class="org-variable-name">ext s[wmf]c, has zsnes, X</span> = zsnes <span class="org-string">"$1"</span> <span class="org-variable-name">ext s[wmf]c, has zsnes, X</span> = zsnes <span class="org-string">"$1"</span>
<span class="org-variable-name">ext s[wmf]c, has snes9x-gtk,X</span> = snes9x-gtk <span class="org-string">"$1"</span> <span class="org-variable-name">ext s[wmf]c, has snes9x-gtk,X</span> = snes9x-gtk <span class="org-string">"$1"</span>
@ -1612,7 +1278,7 @@ label wallpaper, number <span class="org-highlight-numbers-number">14</span>, mi
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:19 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Rofi Configuration</title> <title>Rofi Configuration</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -510,7 +488,7 @@ element.normal.urgent,
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:19</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Scripts</title> <title>Scripts</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -259,23 +237,12 @@ for the JavaScript code in this tag.
<div id="text-table-of-contents"> <div id="text-table-of-contents">
<ul> <ul>
<li><a href="#orgfbe1cfb">Wallpapers</a></li> <li><a href="#orgfbe1cfb">Wallpapers</a></li>
<li><a href="#orgf13ea83"><span class="todo TODO">TODO</span> LockScreen</a></li> <li><a href="#orgf13ea83">LockScreen</a></li>
<li><a href="#org8650271">Delete first page of PDF</a></li>
<li><a href="#org872b600">Lock / Exit / Suspend / &#x2026;</a></li> <li><a href="#org872b600">Lock / Exit / Suspend / &#x2026;</a></li>
<li><a href="#orgb22aafc"><span class="todo TODO">TODO</span> Copy Figures</a></li> <li><a href="#org8a282fd">NAS - Mount</a></li>
<li><a href="#org94552bb">NAS</a>
<ul>
<li><a href="#orgf17f358">Mount</a></li>
</ul>
</li>
<li><a href="#org9ec63f3">Buku Git Push</a></li>
<li><a href="#orge80ca70">Icons Unicode</a></li> <li><a href="#orge80ca70">Icons Unicode</a></li>
<li><a href="#org057a09a">Make GIF</a></li>
<li><a href="#org9c287ad">Org-Capture</a></li>
<li><a href="#orgf8811c6">Download-Audio</a></li>
<li><a href="#org4bf6924">Download-Video</a></li>
<li><a href="#orgfe8be19">Org-Protocol-Capture-HTML</a></li> <li><a href="#orgfe8be19">Org-Protocol-Capture-HTML</a></li>
<li><a href="#orgc11443d">Pdf Shrink</a></li> <li><a href="#orgcd3ccf1">Restart Mopidy</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -294,12 +261,8 @@ for the JavaScript code in this tag.
</div> </div>
<div id="outline-container-orgf13ea83" class="outline-2"> <div id="outline-container-orgf13ea83" class="outline-2">
<h2 id="orgf13ea83"><span class="todo TODO">TODO</span> LockScreen</h2> <h2 id="orgf13ea83">LockScreen</h2>
<div class="outline-text-2" id="text-orgf13ea83"> <div class="outline-text-2" id="text-orgf13ea83">
<ul class="org-ul">
<li class="off"><code>[&#xa0;]</code> Does not work well with multiple screen</li>
</ul>
<p> <p>
First, turn off dunst First, turn off dunst
</p> </p>
@ -336,7 +299,7 @@ convert $<span class="org-variable-name">temp_file</span> -scale 10% -scale 1000
Finally, lock the screen using <code>i3lock</code>. Finally, lock the screen using <code>i3lock</code>.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">i3lock -e -n -i $<span class="org-variable-name">temp_file</span> &amp;&amp; killall -SIGUSR2 dunst &amp;&amp; <span class="org-type">echo</span> <span class="org-string">"on"</span> &gt; /tmp/dunststatus <pre class="src src-bash">i3lock --no-unlock-indicator --ignore-empty-password --nofork --image=$<span class="org-variable-name">temp_file</span> &amp;&amp; killall -SIGUSR2 dunst &amp;&amp; <span class="org-type">echo</span> <span class="org-string">"on"</span> &gt; /tmp/dunststatus
</pre> </pre>
</div> </div>
@ -377,29 +340,6 @@ revert
</div> </div>
</div> </div>
<div id="outline-container-org8650271" class="outline-2">
<h2 id="org8650271">Delete first page of PDF</h2>
<div class="outline-text-2" id="text-org8650271">
<p>
The requirement is to have <code>pdftk</code> or <code>stapler</code> installed.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f $<span class="org-highlight-numbers-number">1</span> &amp;&amp; $<span class="org-highlight-numbers-number">1</span> == *.pdf <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Argument if a file</span>
<span class="org-keyword">if </span><span class="org-builtin">type</span> stapler &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
stapler del <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-highlight-numbers-number">1</span> /tmp/pdftk_out.pdf &amp;&amp; <span class="org-type">mv</span> /tmp/pdftk_out.pdf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
<span class="org-keyword">elif </span><span class="org-builtin">type</span> pdftk &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
pdftk <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-type">cat</span> 2-end output /tmp/pdftk_out.pdf &amp;&amp; <span class="org-type">mv</span> /tmp/pdftk_out.pdf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span>
<span class="org-type">echo</span> <span class="org-string">"Neither pdftk nor stapler are installed"</span>
<span class="org-keyword">fi</span>
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org872b600" class="outline-2"> <div id="outline-container-org872b600" class="outline-2">
<h2 id="org872b600">Lock / Exit / Suspend / &#x2026;</h2> <h2 id="org872b600">Lock / Exit / Suspend / &#x2026;</h2>
<div class="outline-text-2" id="text-org872b600"> <div class="outline-text-2" id="text-org872b600">
@ -426,62 +366,10 @@ The requirement is to have <code>pdftk</code> or <code>stapler</code> installed.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb22aafc" class="outline-2">
<h2 id="orgb22aafc"><span class="todo TODO">TODO</span> Copy Figures</h2>
<div class="outline-text-2" id="text-orgb22aafc">
<p>
Things to do:
</p>
<ul class="org-ul">
<li class="off"><code>[&#xa0;]</code> Display all the figures at once and ask for confirmation to copy them all</li>
<li class="off"><code>[&#xa0;]</code> Display the not found figures</li>
</ul>
<div class="org-src-container"> <div id="outline-container-org8a282fd" class="outline-2">
<pre class="src src-bash"><span class="org-variable-name">latexpath</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">HOME</span></span><span class="org-string">/Cloud/thesis/latex/ressources/Figures"</span>; <h2 id="org8a282fd">NAS - Mount</h2>
<div class="outline-text-2" id="text-org8a282fd">
<span class="org-variable-name">figures</span>=<span class="org-sh-quoted-exec">`awk 'match($0, /(fig.*\.(png|svg|pdf))/, a) {print a[1];}' $1 \</span>
<span class="org-sh-quoted-exec"> | awk '{ print gensub(/\s*\]\]\s*\|\s*\[\[\s*\.?\/?/, "\n", "g") }'`</span>;
<span class="org-keyword">for</span> figure<span class="org-keyword"> in</span> $<span class="org-variable-name">figures</span>
<span class="org-keyword">do</span>
<span class="org-variable-name">figurename</span>=<span class="org-sh-quoted-exec">`</span><span class="org-type"><span class="org-sh-quoted-exec">echo</span></span><span class="org-sh-quoted-exec"> $figure | awk 'match($0, /(fig.*\/)(.*\.(png|svg|pdf))/, a) {print a[2];}'`</span>;
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f $<span class="org-variable-name">latexpath</span>/$<span class="org-variable-name">figurename</span> <span class="org-rainbow-delimiters-depth-1">]</span>
<span class="org-keyword">then</span>
<span class="org-variable-name">figurepath</span>=<span class="org-sh-quoted-exec">`</span><span class="org-type"><span class="org-sh-quoted-exec">echo</span></span><span class="org-sh-quoted-exec"> $figure | awk 'match($0, /(fig.*)\/(.*\.(png|svg|pdf))/, a) {print a[1];}'`</span>;
<span class="org-comment-delimiter"># </span><span class="org-type"><span class="org-comment">echo</span></span><span class="org-comment"> $latexpath/$figurename</span>
<span class="org-comment-delimiter"># </span><span class="org-type"><span class="org-comment">echo</span></span><span class="org-comment"> $figurepath/$figurename</span>
<span class="org-type">cp</span> $<span class="org-variable-name">latexpath</span>/$<span class="org-variable-name">figurename</span> $<span class="org-variable-name">figurepath</span>/$<span class="org-variable-name">figurename</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">read -r -p "Are You Sure? [Y/n] " input</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">case $input in</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">[yY][eE][sS]|[yY])</span>
<span class="org-comment-delimiter"># </span><span class="org-type"><span class="org-comment">cp</span></span><span class="org-comment"> $latexpath/$figurename $figurepath/$figurename</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">;;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">[nN][oO]|[nN])</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">exit 1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">;;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">*)</span>
<span class="org-comment-delimiter"># </span><span class="org-type"><span class="org-comment">echo</span></span><span class="org-comment"> "Invalid input..."</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">exit 1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">;;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">esac</span>
<span class="org-keyword">fi</span>
<span class="org-keyword">done</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org94552bb" class="outline-2">
<h2 id="org94552bb">NAS</h2>
<div class="outline-text-2" id="text-org94552bb">
</div>
<div id="outline-container-orgf17f358" class="outline-3">
<h3 id="orgf17f358">Mount</h3>
<div class="outline-text-3" id="text-orgf17f358">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"mount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span> <pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"mount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-keyword">if</span> <span class="org-type">sudo</span> -A mount 192.168.1.2:/volume1/Downloads/ /mnt/NAS/; <span class="org-keyword">then</span> <span class="org-keyword">if</span> <span class="org-type">sudo</span> -A mount 192.168.1.2:/volume1/Downloads/ /mnt/NAS/; <span class="org-keyword">then</span>
@ -500,102 +388,32 @@ Things to do:
</div> </div>
</div> </div>
</div> </div>
</div>
<div id="outline-container-org9ec63f3" class="outline-2">
<h2 id="org9ec63f3">Buku Git Push</h2>
<div class="outline-text-2" id="text-org9ec63f3">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -z $<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-sh-quoted-exec">git</span> status -s bookmarks.db<span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>
<span class="org-keyword">then</span>
<span class="org-type">git</span> add bookmarks.db
<span class="org-type">git</span> commit -m <span class="org-string">"Changed bookmarks - </span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">date</span><span class="org-string"><span class="org-sh-quoted-exec"> +%F)</span></span><span class="org-string">"</span>
<span class="org-type">git</span> push
dunstify --replace=<span class="org-highlight-numbers-number">79248</span> <span class="org-string">"Buku Git"</span> <span class="org-string">"Updated"</span>
<span class="org-keyword">exit</span>
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orge80ca70" class="outline-2"> <div id="outline-container-orge80ca70" class="outline-2">
<h2 id="orge80ca70">Icons Unicode</h2> <h2 id="orge80ca70">Icons Unicode</h2>
<div class="outline-text-2" id="text-orge80ca70"> <div class="outline-text-2" id="text-orge80ca70">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">command</span> -v xclip &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> || <span class="org-rainbow-delimiters-depth-1">{</span> <span class="org-type">echo</span> &gt;&amp;<span class="org-highlight-numbers-number">2</span> <span class="org-string">"I require xclip but it's not installed. Aborting."</span>; <span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>; <span class="org-rainbow-delimiters-depth-1">}</span> <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">The famous "get a menu of emojis to copy" script.</span>
<span class="org-variable-name">chosen</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">grep</span> -v <span class="org-string">"#"</span> ~/.config/emoji | dmenu -i -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Must have xclip installed to even show menu.</span>
xclip -h <span class="org-highlight-numbers-number">2</span>&gt;/dev/null || <span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">chosen</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">cut</span> -d <span class="org-string">';'</span> -f1 ~/.local/share/emoji | rofi -dmenu -i -l <span class="org-highlight-numbers-number">20</span> | sed <span class="org-string">"s/ .*//"</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-rainbow-delimiters-depth-1">[</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">chosen</span></span><span class="org-string">"</span> != <span class="org-string">""</span> <span class="org-rainbow-delimiters-depth-1">]</span> || <span class="org-keyword">exit</span> <span class="org-rainbow-delimiters-depth-1">[</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">chosen</span></span><span class="org-string">"</span> != <span class="org-string">""</span> <span class="org-rainbow-delimiters-depth-1">]</span> || <span class="org-keyword">exit</span>
<span class="org-variable-name">c</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">chosen</span></span><span class="org-string">"</span> | sed <span class="org-string">"s/ .*//"</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">If you run this command with an argument, it will automatically insert the character.</span>
<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">c</span></span><span class="org-string">"</span> | tr -d <span class="org-string">'\n'</span> | xclip -selection clipboard <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --replace=<span class="org-highlight-numbers-number">05896</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">c</span></span><span class="org-string">' copied to clipboard."</span> &amp; xdotool key Shift+Insert
</pre>
</div>
</div>
</div>
<div id="outline-container-org057a09a" class="outline-2">
<h2 id="org057a09a">Make GIF</h2>
<div class="outline-text-2" id="text-org057a09a">
<p>
<a href="http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html">http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html</a>
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">palette</span>=<span class="org-string">"/tmp/palette.png"</span>
<span class="org-variable-name">filters</span>=<span class="org-string">"fps=15,scale=320:-1:flags=lanczos"</span>
ffmpeg -v warning -i $<span class="org-highlight-numbers-number">1</span> -vf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filters</span></span><span class="org-string">,palettegen"</span> -y $<span class="org-variable-name">palette</span>
ffmpeg -v warning -i $<span class="org-highlight-numbers-number">1</span> -i $<span class="org-variable-name">palette</span> -lavfi <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filters</span></span><span class="org-string"> [x]; [x][1:v] paletteuse"</span> -y $<span class="org-highlight-numbers-number">2</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org9c287ad" class="outline-2">
<h2 id="org9c287ad">Org-Capture</h2>
<div class="outline-text-2" id="text-org9c287ad">
<div class="org-src-container">
<pre class="src src-bash">xclip -o -selection primary | xclip -o -selection clipboard -i
emacsclient -ne <span class="org-string">'(org-capture "" "Q")'</span> &amp;&amp; dunstify <span class="org-string">"Emacs"</span> <span class="org-string">"Text Successfully Captured"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf8811c6" class="outline-2">
<h2 id="orgf8811c6">Download-Audio</h2>
<div class="outline-text-2" id="text-orgf8811c6">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
tmux split -v -l <span class="org-highlight-numbers-number">1</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -xic -f bestaudio/best </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-type">cd</span> ~/Downloads/; <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">chosen</span></span><span class="org-string">"</span> | tr -d <span class="org-string">'\n'</span> | xclip -selection clipboard
setsid nohup youtube-dl --add-metadata -xic -f bestaudio/best $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp; notify-send <span class="org-string">"'</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">chosen</span></span><span class="org-string">' copied to clipboard."</span> &amp;
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org4bf6924" class="outline-2">
<h2 id="org4bf6924">Download-Video</h2>
<div class="outline-text-2" id="text-org4bf6924">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
tmux split -v -l <span class="org-highlight-numbers-number">1</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -ic </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
<span class="org-keyword">else</span>
<span class="org-type">cd</span> ~/Downloads/;
setsid nohup youtube-dl --add-metadata -ic $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp;
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgfe8be19" class="outline-2"> <div id="outline-container-orgfe8be19" class="outline-2">
<h2 id="orgfe8be19">Org-Protocol-Capture-HTML</h2> <h2 id="orgfe8be19">Org-Protocol-Capture-HTML</h2>
<div class="outline-text-2" id="text-orgfe8be19"> <div class="outline-text-2" id="text-orgfe8be19">
@ -745,77 +563,23 @@ Send to Emacs
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgc11443d" class="outline-2">
<h2 id="orgc11443d">Pdf Shrink</h2> <div id="outline-container-orgcd3ccf1" class="outline-2">
<div class="outline-text-2" id="text-orgc11443d"> <h2 id="orgcd3ccf1">Restart Mopidy</h2>
<div class="outline-text-2" id="text-orgcd3ccf1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-function-name">shrink</span> <span class="org-rainbow-delimiters-depth-1">()</span> <pre class="src src-bash"><span class="org-variable-name">pids</span>=<span class="org-rainbow-delimiters-depth-1">(</span> $<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">pgrep</span> -f mopidy<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-rainbow-delimiters-depth-1">{</span>
gs <span class="org-sh-escaped-newline">\</span>
-q -dNOPAUSE -dBATCH -dSAFER <span class="org-sh-escaped-newline">\</span>
-sDEVICE=pdfwrite <span class="org-sh-escaped-newline">\</span>
-dCompatibilityLevel=<span class="org-highlight-numbers-number">1.3</span> <span class="org-sh-escaped-newline">\</span>
-dPDFSETTINGS=/screen <span class="org-sh-escaped-newline">\</span>
-dEmbedAllFonts=true <span class="org-sh-escaped-newline">\</span>
-dSubsetFonts=true <span class="org-sh-escaped-newline">\</span>
-dAutoRotatePages=/None <span class="org-sh-escaped-newline">\</span>
-dColorImageDownsampleType=/Bicubic <span class="org-sh-escaped-newline">\</span>
-dColorImageResolution=$<span class="org-highlight-numbers-number">3</span> <span class="org-sh-escaped-newline">\</span>
-dGrayImageDownsampleType=/Bicubic <span class="org-sh-escaped-newline">\</span>
-dGrayImageResolution=$<span class="org-highlight-numbers-number">3</span> <span class="org-sh-escaped-newline">\</span>
-dMonoImageDownsampleType=/Subsample <span class="org-sh-escaped-newline">\</span>
-dMonoImageResolution=$<span class="org-highlight-numbers-number">3</span> <span class="org-sh-escaped-newline">\</span>
-sOutputFile=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> <span class="org-sh-escaped-newline">\</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">1</span></span><span class="org-string">"</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-function-name">check_smaller</span> <span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-keyword">for</span> pid<span class="org-keyword"> in</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">{pids[@]}</span></span><span class="org-string">"</span>; <span class="org-keyword">do</span>
<span class="org-rainbow-delimiters-depth-1">{</span> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-variable-name">pid</span> != $<span class="org-variable-name">$</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If $1 and $2 are regular files, we can compare file sizes to</span> <span class="org-type">kill</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">pid</span></span><span class="org-string">"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">see if we succeeded in shrinking. If not, we copy $1 over $2:</span> <span class="org-keyword">fi</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> -o <span class="org-negation-char">!</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span> <span class="org-keyword">done</span>
<span class="org-keyword">return</span> <span class="org-highlight-numbers-number">0</span>;
<span class="org-keyword">fi</span>
<span class="org-variable-name">ISIZE</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">echo</span><span class="org-string"><span class="org-sh-quoted-exec"> $(</span></span><span class="org-sh-quoted-exec">wc</span><span class="org-string"><span class="org-sh-quoted-exec"> -c "</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">1</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">")</span></span><span class="org-string"> | cut -f1 -d\ )"</span>
<span class="org-variable-name">OSIZE</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">echo</span><span class="org-string"><span class="org-sh-quoted-exec"> $(</span></span><span class="org-sh-quoted-exec">wc</span><span class="org-string"><span class="org-sh-quoted-exec"> -c "</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">2</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">")</span></span><span class="org-string"> | cut -f1 -d\ )"</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</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">ISIZE</span></span><span class="org-string">"</span> -lt <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">OSIZE</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
<span class="org-type">echo</span> <span class="org-string">"Input smaller than output, doing straight copy"</span> &gt;&amp;<span class="org-highlight-numbers-number">2</span>
<span class="org-type">cp</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">1</span></span><span class="org-string">"</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">2</span></span><span class="org-string">"</span>
<span class="org-keyword">fi</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-function-name">usage</span> <span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-type">echo</span> <span class="org-string">"Killed mopidy."</span>
<span class="org-rainbow-delimiters-depth-1">{</span> <span class="org-type">echo</span> <span class="org-string">"Restarting mopidy..."</span>
<span class="org-type">echo</span> <span class="org-string">"Reduces PDF filesize by lossy recompressing with Ghostscript."</span> mopidy --config ~/.config/mopidy/mopidy.conf &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> &amp;
<span class="org-type">echo</span> <span class="org-string">"Not guaranteed to succeed, but usually works."</span> <span class="org-type">echo</span> <span class="org-string">"Done"</span>
<span class="org-type">echo</span> <span class="org-string">" Usage: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string"> infile [outfile] [resolution_in_dpi]"</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-variable-name">IFILE</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">1</span></span><span class="org-string">"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Need an input file:</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">IFILE</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
usage <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">0</span></span><span class="org-string">"</span>
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
<span class="org-keyword">fi</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Output filename defaults to "-" (stdout) unless given:</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-negation-char">!</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-variable-name">OFILE</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">2</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span>
<span class="org-variable-name">OFILE</span>=<span class="org-string">"-"</span>
<span class="org-keyword">fi</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Output resolution defaults to 72 unless given:</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-negation-char">!</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">3</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-variable-name">res</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">3</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span>
<span class="org-variable-name">res</span>=<span class="org-string">"90"</span>
<span class="org-keyword">fi</span>
shrink <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">IFILE</span></span><span class="org-string">"</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">OFILE</span></span><span class="org-string">"</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">res</span></span><span class="org-string">"</span> || <span class="org-keyword">exit</span> $<span class="org-variable-name">?</span>
check_smaller <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">IFILE</span></span><span class="org-string">"</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">OFILE</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -823,7 +587,7 @@ check_smaller <span class="org-string">"</span><span class="org-string"><span cl
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:31 --> <!-- 2020-03-01 dim. 22:49 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Simple X Hotkey Daemon</title> <title>Simple X Hotkey Daemon</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -274,26 +252,26 @@ for the JavaScript code in this tag.
<li><a href="#org592413b">Change Keyboard Layout</a></li> <li><a href="#org592413b">Change Keyboard Layout</a></li>
<li><a href="#org9d0a9b9">BSPWM related</a> <li><a href="#org9d0a9b9">BSPWM related</a>
<ul> <ul>
<li><a href="#org6d06696">BSPWM hotkeys</a></li>
<li><a href="#org7de517a">Monocle Layout</a></li>
<li><a href="#org426edc6">Set the window State</a></li>
<li><a href="#org3fe4cad">Sticky Window</a></li>
<li><a href="#org33a7d86">Focus and Swap</a></li>
<li><a href="#orgcfa83ed">Preselect</a></li>
<li><a href="#org77126e9">Resize</a></li>
</ul>
</li>
<li><a href="#org177f7f6">I3 related</a>
<ul>
<li><a href="#org97f0c44">BSPWM hotkeys</a></li> <li><a href="#org97f0c44">BSPWM hotkeys</a></li>
<li><a href="#org132be2c">Monocle Layout</a></li> <li><a href="#org132be2c">Monocle Layout</a></li>
<li><a href="#org4df4bad">Set the window State</a></li> <li><a href="#org4df4bad">Set the window State</a></li>
<li><a href="#org7b3e70f">Sticky Window</a></li> <li><a href="#org7b3e70f">Sticky Window</a></li>
<li><a href="#orgd24232d">focus/swap</a></li> <li><a href="#org33a7d86">Focus and Swap</a></li>
<li><a href="#org6f773f1">Preselect</a></li> <li><a href="#org6f773f1">Preselect</a></li>
<li><a href="#org5aa4015">Resize</a></li> <li><a href="#org5aa4015">Resize</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org177f7f6">I3 related</a>
<ul>
<li><a href="#org43a8bcb">Quit/Restart hotkeys</a></li>
<li><a href="#org2695587">Monocle Layout</a></li>
<li><a href="#org450c8fd">Set the window State</a></li>
<li><a href="#org1e277da">Sticky Window</a></li>
<li><a href="#orgd24232d">focus/swap</a></li>
<li><a href="#orga753787">Preselect</a></li>
<li><a href="#org2696cae">Resize</a></li>
</ul>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -358,8 +336,8 @@ super + shift + w
rofi -show window rofi -show window
<span class="org-comment-delimiter"># </span><span class="org-comment">Bookmarks</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Bookmarks</span>
super + shift + f <span class="org-comment-delimiter"># </span><span class="org-comment">super + shift + f</span>
$HOME/bin/bukurun <span class="org-comment-delimiter"># </span><span class="org-comment">$HOME/bin/bukurun</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Passwords</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Passwords</span>
super + shift + p super + shift + p
@ -382,8 +360,7 @@ super + shift + c
<span class="org-comment-delimiter"># </span><span class="org-comment">File Manager</span> <span class="org-comment-delimiter"># </span><span class="org-comment">File Manager</span>
super + o super + o
$TERMINAL -e <span class="org-string">"ranger"</span> $TERMINAL -e <span class="org-string">"tmux new-session -A -s ranger ranger"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">$TERMINAL -e "tmux -L ranger attach"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Browser</span>
super + i super + i
@ -483,55 +460,50 @@ super + space ; c
<span class="org-comment-delimiter"># </span><span class="org-comment">GUI Calendar (Google Calendar)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">GUI Calendar (Google Calendar)</span>
super + space ; shift + c super + space ; shift + c
qutebrowser https://calendar.google.com/ $BROWSER https://calendar.google.com/
<span class="org-comment-delimiter"># </span><span class="org-comment">Ranger</span>
super + space ; r
$TERMINAL -e <span class="org-string">"tmux -L ranger attach"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span> <span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span>
super + space ; shift + r super + space ; o
pcmanfm; pcmanfm;
<span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span>
super + space ; m super + space ; m
$TERMINAL -e <span class="org-string">"neomutt"</span> $TERMINAL -e <span class="org-string">"tmux new-session -A -s neomutt neomutt"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">$TERMINAL -e "tmux -L neomutt attach"</span>
super + space ; shift + m super + space ; shift + m
$TERMINAL -e <span class="org-string">"neomutt -R"</span> $TERMINAL -e <span class="org-string">"neomutt -R"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Weechat</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Weechat</span>
super + space ; w super + space ; w
$TERMINAL -e <span class="org-string">"tmux -L weechat attach"</span> $TERMINAL -e <span class="org-string">"tmux new-session -A -s weechat weechat"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">News with newsboat</span> <span class="org-comment-delimiter"># </span><span class="org-comment">News with newsboat</span>
super + space ; n super + space ; n
$TERMINAL -e <span class="org-string">"tmux -L newsboat attach"</span> $TERMINAL -e <span class="org-string">"tmux new-session -A -s newsboat newsboat"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span>
super + space ; p super + space ; p
$TERMINAL -e <span class="org-string">"tmux -L ncmpcpp attach"</span> $TERMINAL -e <span class="org-string">"tmux new-session -A -s ncmpcpp ncmpcpp"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Print Screen</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Print Screen</span>
super + space ; shift + p super + space ; shift + p
~/bin/screenshot $HOME/scripts/mopidy-restart.sh
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser with qutebrowser</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Default Browser</span>
super + space ; i super + space ; i
qutebrowser; $BROWSER;
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser with firefox</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Alternative Browser</span>
super + space ; shift + i super + space ; shift + i
firefox; brave;
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs</span>
super + space ; e
emacs;
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs Client</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Emacs Client</span>
super + space ; e
<span class="org-variable-name">emacsclient -create-frame --alternate-editor</span>=<span class="org-string">""</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Full Emacs - Usefull when installing packages</span>
super + space ; shift + e super + space ; shift + e
emacs; <span class="org-variable-name">emacsclient -create-frame --alternate-editor</span>=<span class="org-string">""</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -555,9 +527,9 @@ super + shift + d
<div class="outline-text-2" id="text-org9d0a9b9"> <div class="outline-text-2" id="text-org9d0a9b9">
</div> </div>
<div id="outline-container-org6d06696" class="outline-3"> <div id="outline-container-org97f0c44" class="outline-3">
<h3 id="org6d06696">BSPWM hotkeys</h3> <h3 id="org97f0c44">BSPWM hotkeys</h3>
<div class="outline-text-3" id="text-org6d06696"> <div class="outline-text-3" id="text-org97f0c44">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
super + alt + {q,r} super + alt + {q,r}
@ -571,9 +543,9 @@ super + {_,shift + }q
</div> </div>
</div> </div>
<div id="outline-container-org7de517a" class="outline-3"> <div id="outline-container-org132be2c" class="outline-3">
<h3 id="org7de517a">Monocle Layout</h3> <h3 id="org132be2c">Monocle Layout</h3>
<div class="outline-text-3" id="text-org7de517a"> <div class="outline-text-3" id="text-org132be2c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
super + m super + m
@ -587,9 +559,9 @@ super + c
</div> </div>
</div> </div>
<div id="outline-container-org426edc6" class="outline-3"> <div id="outline-container-org4df4bad" class="outline-3">
<h3 id="org426edc6">Set the window State</h3> <h3 id="org4df4bad">Set the window State</h3>
<div class="outline-text-3" id="text-org426edc6"> <div class="outline-text-3" id="text-org4df4bad">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window state to tiled</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window state to tiled</span>
super + t super + t
@ -616,9 +588,9 @@ super + s
</div> </div>
</div> </div>
<div id="outline-container-org3fe4cad" class="outline-3"> <div id="outline-container-org7b3e70f" class="outline-3">
<h3 id="org3fe4cad">Sticky Window</h3> <h3 id="org7b3e70f">Sticky Window</h3>
<div class="outline-text-3" id="text-org3fe4cad"> <div class="outline-text-3" id="text-org7b3e70f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the node flags</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the node flags</span>
super + ctrl + y super + ctrl + y
@ -663,9 +635,9 @@ super + shift + {1-9}
</div> </div>
</div> </div>
<div id="outline-container-orgcfa83ed" class="outline-3"> <div id="outline-container-org6f773f1" class="outline-3">
<h3 id="orgcfa83ed">Preselect</h3> <h3 id="org6f773f1">Preselect</h3>
<div class="outline-text-3" id="text-orgcfa83ed"> <div class="outline-text-3" id="text-org6f773f1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">preselect the direction</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">preselect the direction</span>
super + ctrl + {h,j,k,l} super + ctrl + {h,j,k,l}
@ -683,9 +655,9 @@ super + ctrl + space
</div> </div>
</div> </div>
<div id="outline-container-org77126e9" class="outline-3"> <div id="outline-container-org5aa4015" class="outline-3">
<h3 id="org77126e9">Resize</h3> <h3 id="org5aa4015">Resize</h3>
<div class="outline-text-3" id="text-org77126e9"> <div class="outline-text-3" id="text-org5aa4015">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">expand a window by moving one of its side outward</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">expand a window by moving one of its side outward</span>
super + alt + {h,j,k,l} super + alt + {h,j,k,l}
@ -712,9 +684,9 @@ super + {Left,Down,Up,Right}
<div class="outline-text-2" id="text-org177f7f6"> <div class="outline-text-2" id="text-org177f7f6">
</div> </div>
<div id="outline-container-org97f0c44" class="outline-3"> <div id="outline-container-org43a8bcb" class="outline-3">
<h3 id="org97f0c44">BSPWM hotkeys</h3> <h3 id="org43a8bcb">Quit/Restart hotkeys</h3>
<div class="outline-text-3" id="text-org97f0c44"> <div class="outline-text-3" id="text-org43a8bcb">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
super + alt + {q,r} super + alt + {q,r}
@ -728,9 +700,9 @@ super + {_,shift + }q
</div> </div>
</div> </div>
<div id="outline-container-org132be2c" class="outline-3"> <div id="outline-container-org2695587" class="outline-3">
<h3 id="org132be2c">Monocle Layout</h3> <h3 id="org2695587">Monocle Layout</h3>
<div class="outline-text-3" id="text-org132be2c"> <div class="outline-text-3" id="text-org2695587">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
super + f super + f
@ -744,9 +716,9 @@ super + c
</div> </div>
</div> </div>
<div id="outline-container-org4df4bad" class="outline-3"> <div id="outline-container-org450c8fd" class="outline-3">
<h3 id="org4df4bad">Set the window State</h3> <h3 id="org450c8fd">Set the window State</h3>
<div class="outline-text-3" id="text-org4df4bad"> <div class="outline-text-3" id="text-org450c8fd">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the window state</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the window state</span>
super + {t,s, shift + f} super + {t,s, shift + f}
@ -756,9 +728,9 @@ super + {t,s, shift + f}
</div> </div>
</div> </div>
<div id="outline-container-org7b3e70f" class="outline-3"> <div id="outline-container-org1e277da" class="outline-3">
<h3 id="org7b3e70f">Sticky Window</h3> <h3 id="org1e277da">Sticky Window</h3>
<div class="outline-text-3" id="text-org7b3e70f"> <div class="outline-text-3" id="text-org1e277da">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">super + ctrl + y <pre class="src src-conf">super + ctrl + y
i3-msg sticky toggle i3-msg sticky toggle
@ -804,9 +776,9 @@ super + shift + {1-9}
</div> </div>
</div> </div>
<div id="outline-container-org6f773f1" class="outline-3"> <div id="outline-container-orga753787" class="outline-3">
<h3 id="org6f773f1">Preselect</h3> <h3 id="orga753787">Preselect</h3>
<div class="outline-text-3" id="text-org6f773f1"> <div class="outline-text-3" id="text-orga753787">
<p> <p>
Preselect the direction Preselect the direction
</p> </p>
@ -821,9 +793,9 @@ super + ctrl + {j,k,Up,Down}
</div> </div>
</div> </div>
<div id="outline-container-org5aa4015" class="outline-3"> <div id="outline-container-org2696cae" class="outline-3">
<h3 id="org5aa4015">Resize</h3> <h3 id="org2696cae">Resize</h3>
<div class="outline-text-3" id="text-org5aa4015"> <div class="outline-text-3" id="text-org2696cae">
<p> <p>
Expand/Shrink a window Expand/Shrink a window
</p> </p>
@ -844,7 +816,7 @@ super + alt + l
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:31</p> <p class="date">Created: 2020-03-01 dim. 22:49</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Systemd services and timers</title> <title>Systemd services and timers</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -260,75 +238,50 @@ for the JavaScript code in this tag.
<ul> <ul>
<li><a href="#org5b65512">Pass Git</a> <li><a href="#org5b65512">Pass Git</a>
<ul> <ul>
<li><a href="#org9063c02">Service</a></li> <li><a href="#org273d46b">Service</a></li>
<li><a href="#orgc75daae">Timer</a></li> <li><a href="#orgb01bb7a">Timer</a></li>
<li><a href="#org383c207">Script</a></li> <li><a href="#org51ea00d">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org79abe94">Buku Git</a> <li><a href="#org79abe94">Buku Git</a>
<ul> <ul>
<li><a href="#orgeb31f54">Service</a></li> <li><a href="#org4754614">Service</a></li>
<li><a href="#org8e5bfef">Timer</a></li> <li><a href="#org82ac068">Timer</a></li>
<li><a href="#org6da97a8">Script</a></li> <li><a href="#org2868e0c">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org1d68bb0">Check mail</a> <li><a href="#org1d68bb0">Check mail</a>
<ul> <ul>
<li><a href="#org529d07c">Service</a></li> <li><a href="#orgac03fe6">Service</a></li>
<li><a href="#orgde1690f">Timer</a></li> <li><a href="#orgcf59bd1">Timer</a></li>
<li><a href="#org51ea00d">Script</a></li> <li><a href="#org55b365f">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgefb3320">Sync mail</a> <li><a href="#orgefb3320">Sync mail</a>
<ul> <ul>
<li><a href="#orgffc6912">Service</a></li> <li><a href="#org02e8c97">Service</a></li>
<li><a href="#org9d29d63">Timer</a></li> <li><a href="#org6676a46">Timer</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org2ff1601">Vdirsyncer</a> <li><a href="#org2ff1601">Vdirsyncer</a>
<ul> <ul>
<li><a href="#org8068b43">Service</a></li> <li><a href="#orgc4390f4">Service</a></li>
<li><a href="#orgb01bb7a">Timer</a></li> <li><a href="#orgd6ba6e4">Timer</a></li>
</ul>
</li>
<li><a href="#orgbbde50c">Ranger</a>
<ul>
<li><a href="#org476783c">Service</a></li>
</ul>
</li>
<li><a href="#org5e3779e">Weechat</a>
<ul>
<li><a href="#org8fff16e">Service</a></li>
</ul>
</li>
<li><a href="#org8215bcc">Neomutt</a>
<ul>
<li><a href="#org38520c9">Service</a></li>
</ul>
</li>
<li><a href="#orge82b3ac">Powertop</a>
<ul>
<li><a href="#orgd96f07b">Service</a></li>
</ul>
</li>
<li><a href="#org8fa8dcf">NCMPCPP</a>
<ul>
<li><a href="#orgfad55ad">Service</a></li>
</ul>
</li>
<li><a href="#orgf7f570c">Newsboat</a>
<ul>
<li><a href="#org9f657a1">Service</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgb34591d">SSH Agent</a> <li><a href="#orgb34591d">SSH Agent</a>
<ul> <ul>
<li><a href="#org0d000c3">Service</a></li> <li><a href="#orga05a23f">Service</a></li>
</ul>
</li>
<li><a href="#orge82b3ac">Powertop</a>
<ul>
<li><a href="#org3f915ce">Service</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgd4b9d58">Mopidy</a> <li><a href="#orgd4b9d58">Mopidy</a>
<ul> <ul>
<li><a href="#org273d46b">Service</a></li> <li><a href="#org49549f0">Service</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -343,9 +296,9 @@ for the JavaScript code in this tag.
<h2 id="org5b65512">Pass Git</h2> <h2 id="org5b65512">Pass Git</h2>
<div class="outline-text-2" id="text-org5b65512"> <div class="outline-text-2" id="text-org5b65512">
</div> </div>
<div id="outline-container-org9063c02" class="outline-3"> <div id="outline-container-org273d46b" class="outline-3">
<h3 id="org9063c02">Service</h3> <h3 id="org273d46b">Service</h3>
<div class="outline-text-3" id="text-org9063c02"> <div class="outline-text-3" id="text-org273d46b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Passwords every day <span class="org-variable-name">Description</span>=Sync Passwords every day
@ -360,19 +313,19 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-orgc75daae" class="outline-3"> <div id="outline-container-orgb01bb7a" class="outline-3">
<h3 id="orgc75daae">Timer</h3> <h3 id="orgb01bb7a">Timer</h3>
<div class="outline-text-3" id="text-orgc75daae"> <div class="outline-text-3" id="text-orgb01bb7a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Passwords every day <span class="org-variable-name">Description</span>=Sync Passwords every day
<span class="org-variable-name">RefuseManualStart</span>=no <span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no <span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network.target network-online.target dbus.socket <span class="org-variable-name">After</span>=network-online.target
[<span class="org-type">Timer</span>] [<span class="org-type">Timer</span>]
<span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">17</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span> <span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span>
<span class="org-variable-name">Persistent</span>=true <span class="org-variable-name">Persistent</span>=true
<span class="org-variable-name">Unit</span>=passgit.service <span class="org-variable-name">Unit</span>=passgit.service
@ -383,9 +336,9 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org383c207" class="outline-3"> <div id="outline-container-org51ea00d" class="outline-3">
<h3 id="org383c207">Script</h3> <h3 id="org51ea00d">Script</h3>
<div class="outline-text-3" id="text-org383c207"> <div class="outline-text-3" id="text-org51ea00d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">pass <span class="org-type">git</span> pull --rebase &amp;&amp; pass <span class="org-type">git</span> push <pre class="src src-bash">pass <span class="org-type">git</span> pull --rebase &amp;&amp; pass <span class="org-type">git</span> push
</pre> </pre>
@ -398,9 +351,9 @@ for the JavaScript code in this tag.
<h2 id="org79abe94">Buku Git</h2> <h2 id="org79abe94">Buku Git</h2>
<div class="outline-text-2" id="text-org79abe94"> <div class="outline-text-2" id="text-org79abe94">
</div> </div>
<div id="outline-container-orgeb31f54" class="outline-3"> <div id="outline-container-org4754614" class="outline-3">
<h3 id="orgeb31f54">Service</h3> <h3 id="org4754614">Service</h3>
<div class="outline-text-3" id="text-orgeb31f54"> <div class="outline-text-3" id="text-org4754614">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Bookmarks every day <span class="org-variable-name">Description</span>=Sync Bookmarks every day
@ -415,16 +368,16 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org8e5bfef" class="outline-3"> <div id="outline-container-org82ac068" class="outline-3">
<h3 id="org8e5bfef">Timer</h3> <h3 id="org82ac068">Timer</h3>
<div class="outline-text-3" id="text-org8e5bfef"> <div class="outline-text-3" id="text-org82ac068">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync All Mails every x hours <span class="org-variable-name">Description</span>=Sync All Mails every x hours
<span class="org-variable-name">RefuseManualStart</span>=no <span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no <span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network.target network-online.target dbus.socket <span class="org-variable-name">After</span>=network-online.target
[<span class="org-type">Timer</span>] [<span class="org-type">Timer</span>]
<span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span> <span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span>
@ -438,9 +391,9 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org6da97a8" class="outline-3"> <div id="outline-container-org2868e0c" class="outline-3">
<h3 id="org6da97a8">Script</h3> <h3 id="org2868e0c">Script</h3>
<div class="outline-text-3" id="text-org6da97a8"> <div class="outline-text-3" id="text-org2868e0c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/ <pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/
@ -461,9 +414,9 @@ for the JavaScript code in this tag.
<h2 id="org1d68bb0">Check mail</h2> <h2 id="org1d68bb0">Check mail</h2>
<div class="outline-text-2" id="text-org1d68bb0"> <div class="outline-text-2" id="text-org1d68bb0">
</div> </div>
<div id="outline-container-org529d07c" class="outline-3"> <div id="outline-container-orgac03fe6" class="outline-3">
<h3 id="org529d07c">Service</h3> <h3 id="orgac03fe6">Service</h3>
<div class="outline-text-3" id="text-org529d07c"> <div class="outline-text-3" id="text-orgac03fe6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Check new mails <span class="org-variable-name">Description</span>=Check new mails
@ -472,29 +425,29 @@ for the JavaScript code in this tag.
[<span class="org-type">Service</span>] [<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=oneshot <span class="org-variable-name">Type</span>=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -q -v <span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -q
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgde1690f" class="outline-3"> <div id="outline-container-orgcf59bd1" class="outline-3">
<h3 id="orgde1690f">Timer</h3> <h3 id="orgcf59bd1">Timer</h3>
<div class="outline-text-3" id="text-orgde1690f"> <div class="outline-text-3" id="text-orgcf59bd1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Check Mail every x minutes <span class="org-variable-name">Description</span>=Check Mail every x minutes
<span class="org-variable-name">RefuseManualStart</span>=no <span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no <span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network.target network-online.target dbus.socket <span class="org-variable-name">After</span>=network-online.target
<span class="org-variable-name">Requires</span>=checkmail.service <span class="org-variable-name">Requires</span>=checkmail.service
[<span class="org-type">Timer</span>] [<span class="org-type">Timer</span>]
<span class="org-variable-name">Persistent</span>=false <span class="org-variable-name">Persistent</span>=false
<span class="org-variable-name">OnBootSec</span>=2min <span class="org-variable-name">OnBootSec</span>=2min
<span class="org-variable-name">OnUnitActiveSec</span>=5min <span class="org-variable-name">OnUnitActiveSec</span>=5min
<span class="org-variable-name">AccuracySec</span>=10s <span class="org-variable-name">AccuracySec</span>=2min
<span class="org-variable-name">Unit</span>=checkmail.service <span class="org-variable-name">Unit</span>=checkmail.service
[<span class="org-type">Install</span>] [<span class="org-type">Install</span>]
@ -504,9 +457,9 @@ for the JavaScript code in this tag.
</div> </div>
</div> </div>
<div id="outline-container-org51ea00d" class="outline-3"> <div id="outline-container-org55b365f" class="outline-3">
<h3 id="org51ea00d">Script</h3> <h3 id="org55b365f">Script</h3>
<div class="outline-text-3" id="text-org51ea00d"> <div class="outline-text-3" id="text-org55b365f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">while</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">do</span> <span class="org-comment-delimiter"># </span><span class="org-comment">while loop starts</span> <pre class="src src-bash"><span class="org-keyword">while</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">do</span> <span class="org-comment-delimiter"># </span><span class="org-comment">while loop starts</span>
<span class="org-keyword">case</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">1</span></span><span class="org-string">"</span><span class="org-keyword"> in</span> <span class="org-keyword">case</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">1</span></span><span class="org-string">"</span><span class="org-keyword"> in</span>
@ -572,9 +525,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<h2 id="orgefb3320">Sync mail</h2> <h2 id="orgefb3320">Sync mail</h2>
<div class="outline-text-2" id="text-orgefb3320"> <div class="outline-text-2" id="text-orgefb3320">
</div> </div>
<div id="outline-container-orgffc6912" class="outline-3"> <div id="outline-container-org02e8c97" class="outline-3">
<h3 id="orgffc6912">Service</h3> <h3 id="org02e8c97">Service</h3>
<div class="outline-text-3" id="text-orgffc6912"> <div class="outline-text-3" id="text-org02e8c97">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync all mails <span class="org-variable-name">Description</span>=Sync all mails
@ -583,29 +536,29 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
[<span class="org-type">Service</span>] [<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=oneshot <span class="org-variable-name">Type</span>=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -a -q -v <span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -a -q
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org9d29d63" class="outline-3"> <div id="outline-container-org6676a46" class="outline-3">
<h3 id="org9d29d63">Timer</h3> <h3 id="org6676a46">Timer</h3>
<div class="outline-text-3" id="text-org9d29d63"> <div class="outline-text-3" id="text-org6676a46">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync All Mails every x hours <span class="org-variable-name">Description</span>=Sync All Mails every x hours
<span class="org-variable-name">RefuseManualStart</span>=no <span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no <span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network.target network-online.target dbus.socket <span class="org-variable-name">After</span>=network-online.target
<span class="org-variable-name">Requires</span>=syncmail.service <span class="org-variable-name">Requires</span>=syncmail.service
[<span class="org-type">Timer</span>] [<span class="org-type">Timer</span>]
<span class="org-variable-name">Persistent</span>=false <span class="org-variable-name">Persistent</span>=false
<span class="org-variable-name">OnBootSec</span>=30min <span class="org-variable-name">OnBootSec</span>=30min
<span class="org-variable-name">OnUnitActiveSec</span>=300min <span class="org-variable-name">OnUnitActiveSec</span>=300min
<span class="org-variable-name">AccuracySec</span>=10s <span class="org-variable-name">AccuracySec</span>=10min
<span class="org-variable-name">Unit</span>=syncmail.service <span class="org-variable-name">Unit</span>=syncmail.service
[<span class="org-type">Install</span>] [<span class="org-type">Install</span>]
@ -620,27 +573,27 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<h2 id="org2ff1601">Vdirsyncer</h2> <h2 id="org2ff1601">Vdirsyncer</h2>
<div class="outline-text-2" id="text-org2ff1601"> <div class="outline-text-2" id="text-org2ff1601">
</div> </div>
<div id="outline-container-org8068b43" class="outline-3"> <div id="outline-container-orgc4390f4" class="outline-3">
<h3 id="org8068b43">Service</h3> <h3 id="orgc4390f4">Service</h3>
<div class="outline-text-3" id="text-org8068b43"> <div class="outline-text-3" id="text-orgc4390f4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Synchronize calendars and contacts <span class="org-variable-name">Description</span>=Synchronize calendars and contacts
<span class="org-variable-name">Documentation</span>=https://vdirsyncer.readthedocs.org/ <span class="org-variable-name">Documentation</span>=https://vdirsyncer.readthedocs.org/
<span class="org-variable-name">Wants</span>=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network.target network-online.target <span class="org-variable-name">After</span>=network-online.target
[<span class="org-type">Service</span>] [<span class="org-type">Service</span>]
<span class="org-variable-name">ExecStart</span>=/usr/bin/vdirsyncer sync <span class="org-variable-name">ExecStart</span>=/usr/bin/vdirsyncer --verbosity <span class="org-string">"ERROR"</span> sync
<span class="org-variable-name">Type</span>=oneshot <span class="org-variable-name">Type</span>=oneshot
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb01bb7a" class="outline-3"> <div id="outline-container-orgd6ba6e4" class="outline-3">
<h3 id="orgb01bb7a">Timer</h3> <h3 id="orgd6ba6e4">Timer</h3>
<div class="outline-text-3" id="text-orgb01bb7a"> <div class="outline-text-3" id="text-orgd6ba6e4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Synchronize vdirs <span class="org-variable-name">Description</span>=Synchronize vdirs
@ -658,167 +611,13 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
</div> </div>
</div> </div>
<div id="outline-container-orgbbde50c" class="outline-2">
<h2 id="orgbbde50c">Ranger</h2>
<div class="outline-text-2" id="text-orgbbde50c">
</div>
<div id="outline-container-org476783c" class="outline-3">
<h3 id="org476783c">Service</h3>
<div class="outline-text-3" id="text-org476783c">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Ranger using Tmux
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=forking
<span class="org-variable-name">ExecStart</span>=/usr/bin/tmux -L ranger new -d -s ranger ranger
<span class="org-variable-name">ExecStop</span>=/usr/bin/tmux -L ranger kill-session -t ranger
<span class="org-variable-name">Restart</span>=always
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">1</span>
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org5e3779e" class="outline-2">
<h2 id="org5e3779e">Weechat</h2>
<div class="outline-text-2" id="text-org5e3779e">
</div>
<div id="outline-container-org8fff16e" class="outline-3">
<h3 id="org8fff16e">Service</h3>
<div class="outline-text-3" id="text-org8fff16e">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=A WeeChat client and relay service using Tmux
<span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network.target network-online.target
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=forking
<span class="org-variable-name">ExecStart</span>=/usr/bin/tmux -L weechat new -d -s weechat weechat
<span class="org-variable-name">ExecStop</span>=/usr/bin/tmux -L weechat kill-session -t weechat
<span class="org-variable-name">Restart</span>=always
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org8215bcc" class="outline-2">
<h2 id="org8215bcc">Neomutt</h2>
<div class="outline-text-2" id="text-org8215bcc">
</div>
<div id="outline-container-org38520c9" class="outline-3">
<h3 id="org38520c9">Service</h3>
<div class="outline-text-3" id="text-org38520c9">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Neomutt - mail client
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=forking
<span class="org-variable-name">ExecStart</span>=/usr/bin/tmux -L neomutt new -d -s neomutt neomutt
<span class="org-variable-name">ExecStop</span>=/usr/bin/tmux -L neomutt kill-session -t neomutt
<span class="org-variable-name">Restart</span>=always
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orge82b3ac" class="outline-2">
<h2 id="orge82b3ac">Powertop</h2>
<div class="outline-text-2" id="text-orge82b3ac">
</div>
<div id="outline-container-orgd96f07b" class="outline-3">
<h3 id="orgd96f07b">Service</h3>
<div class="outline-text-3" id="text-orgd96f07b">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Powertop tunings
[<span class="org-type">Service</span>]
<span class="org-variable-name">ExecStart</span>=/usr/bin/powertop --auto-tune
<span class="org-variable-name">RemainAfterExit</span>=true
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org8fa8dcf" class="outline-2">
<h2 id="org8fa8dcf">NCMPCPP</h2>
<div class="outline-text-2" id="text-org8fa8dcf">
</div>
<div id="outline-container-orgfad55ad" class="outline-3">
<h3 id="orgfad55ad">Service</h3>
<div class="outline-text-3" id="text-orgfad55ad">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Ncmpcpp - Music Player
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=forking
<span class="org-variable-name">ExecStart</span>=/usr/bin/tmux -L ncmpcpp new -d -s ncmpcpp ncmpcpp
<span class="org-variable-name">ExecStop</span>=/usr/bin/tmux -L ncmpcpp kill-session -t ncmpcpp
<span class="org-variable-name">Restart</span>=always
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgf7f570c" class="outline-2">
<h2 id="orgf7f570c">Newsboat</h2>
<div class="outline-text-2" id="text-orgf7f570c">
</div>
<div id="outline-container-org9f657a1" class="outline-3">
<h3 id="org9f657a1">Service</h3>
<div class="outline-text-3" id="text-org9f657a1">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Newsboat - RSS reader
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=forking
<span class="org-variable-name">ExecStart</span>=/usr/bin/tmux -L newsboat new -d -s newsboat newsboat
<span class="org-variable-name">ExecStop</span>=/usr/bin/tmux -L newsboat kill-session -t newsboat
<span class="org-variable-name">Restart</span>=always
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgb34591d" class="outline-2"> <div id="outline-container-orgb34591d" class="outline-2">
<h2 id="orgb34591d">SSH Agent</h2> <h2 id="orgb34591d">SSH Agent</h2>
<div class="outline-text-2" id="text-orgb34591d"> <div class="outline-text-2" id="text-orgb34591d">
</div> </div>
<div id="outline-container-org0d000c3" class="outline-3"> <div id="outline-container-orga05a23f" class="outline-3">
<h3 id="org0d000c3">Service</h3> <h3 id="orga05a23f">Service</h3>
<div class="outline-text-3" id="text-org0d000c3"> <div class="outline-text-3" id="text-orga05a23f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=SSH key agent <span class="org-variable-name">Description</span>=SSH key agent
@ -836,13 +635,36 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
</div> </div>
</div> </div>
<div id="outline-container-orge82b3ac" class="outline-2">
<h2 id="orge82b3ac">Powertop</h2>
<div class="outline-text-2" id="text-orge82b3ac">
</div>
<div id="outline-container-org3f915ce" class="outline-3">
<h3 id="org3f915ce">Service</h3>
<div class="outline-text-3" id="text-org3f915ce">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Powertop tunings
[<span class="org-type">Service</span>]
<span class="org-variable-name">ExecStart</span>=/usr/bin/powertop --auto-tune
<span class="org-variable-name">RemainAfterExit</span>=true
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgd4b9d58" class="outline-2"> <div id="outline-container-orgd4b9d58" class="outline-2">
<h2 id="orgd4b9d58">Mopidy</h2> <h2 id="orgd4b9d58">Mopidy</h2>
<div class="outline-text-2" id="text-orgd4b9d58"> <div class="outline-text-2" id="text-orgd4b9d58">
</div> </div>
<div id="outline-container-org273d46b" class="outline-3"> <div id="outline-container-org49549f0" class="outline-3">
<h3 id="org273d46b">Service</h3> <h3 id="org49549f0">Service</h3>
<div class="outline-text-3" id="text-org273d46b"> <div class="outline-text-3" id="text-org49549f0">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Mopidy music server <span class="org-variable-name">Description</span>=Mopidy music server
@ -867,7 +689,7 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-28 mar. 21:32 --> <!-- 2020-03-01 dim. 22:50 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Configuration Files related to Xorg</title> <title>Configuration Files related to Xorg</title>
@ -201,50 +201,28 @@
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript"> <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[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(null != target) { if(null != target) {
elem.cacheClassElem = elem.className; elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className; elem.cacheClassTarget = target.className;
target.className = "code-highlighted"; target.className = "code-highlighted";
elem.className = "code-highlighted"; elem.className = "code-highlighted";
} }
} }
function CodeHighlightOff(elem, id) function CodeHighlightOff(elem, id)
{ {
var target = document.getElementById(id); var target = document.getElementById(id);
if(elem.cacheClassElem) if(elem.cacheClassElem)
elem.className = elem.cacheClassElem; elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget) if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget; target.className = elem.cacheClassTarget;
} }
/*]]>*///--> /*]]>*///-->
// @license-end
</script> </script>
</head> </head>
<body> <body>
@ -630,15 +608,6 @@ keycode <span class="org-highlight-numbers-number">255</span> = XF86RFKill NoSym
</pre> </pre>
</div> </div>
<p>
Start <code>gnome-keyring-daemon</code> in order not to be asked for password to unlock GPG key.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">eval $(</span><span class="org-sh-quoted-exec">/usr/bin/gnome-keyring-daemon</span><span class="org-comment"> --start --components=pkcs11,secrets,ssh)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">export SSH_AUTH_SOCK</span>
</pre>
</div>
<p> <p>
Fix for Matlab. Fix for Matlab.
</p> </p>
@ -751,6 +720,11 @@ synology-drive &amp;
</pre> </pre>
</div> </div>
<div class="org-src-container">
<pre class="src src-bash">mopidy --config ~/.config/mopidy/mopidy.conf &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> &amp;
</pre>
</div>
<p> <p>
Finally, run SXHKD for the key bindings. Finally, run SXHKD for the key bindings.
</p> </p>
@ -765,7 +739,7 @@ Finally, run SXHKD for the key bindings.
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-28 mar. 21:32</p> <p class="date">Created: 2020-03-01 dim. 22:50</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -18,10 +18,10 @@
:END: :END:
* Khard * Khard
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/khard/khard.conf :header-args: :tangle ~/.config/khard/khard.conf
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
# example configuration file for khard version >= 0.13.0 # example configuration file for khard version >= 0.13.0