Publish the rest of the html files

This commit is contained in:
Thomas Dehaeze 2021-01-08 01:43:48 +01:00
parent 3ee5bd1263
commit 24ddcccafb
34 changed files with 5077 additions and 5151 deletions

23
android.org Normal file
View File

@ -0,0 +1,23 @@
#+TITLE: Android Phone
#+SETUPFILE: ./setup/org-setup-file.org
* Favorite Apps
| Type | URL |
|-------------------+----------------------------------------------------------------------------------|
| Application Store | https://f-droid.org/fr/ |
| Reddit Client | https://play.google.com/store/apps/details?id=com.rubenmayayo.reddit&hl=fr&gl=US |
| Contacts | https://github.com/SimpleMobileTools/Simple-Contacts |
| SMS Client | https://github.com/moezbhatti/qksms |
| Youtube | https://vancedapp.com/ |
| Web Browser | https://github.com/mozilla-mobile/fenix |
| File Sharing | https://github.com/syncthing/syncthing-android |
| Terminal | https://github.com/termux/termux-app |
| Github Client | https://github.com/k0shk0sh/FastHub |
| Jellyfin Client | https://github.com/dkanada/gelli |
| Mail Client | https://github.com/k9mail/k-9 |
| Photo Gallery | https://github.com/SimpleMobileTools/Simple-Gallery |
| Pdf viewer | https://f-droid.org/fr/packages/com.artifex.mupdf.viewer.app/ |
| Media viewer | https://github.com/mpv-android/mpv-android |
| Orgzly | http://www.orgzly.com/ |

133
docs/android.html Normal file
View File

@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-08 ven. 01:41 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Android Phone</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Android Phone</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org41948b1">Favorite Apps</a></li>
</ul>
</div>
</div>
<div id="outline-container-org41948b1" class="outline-2">
<h2 id="org41948b1">Favorite Apps</h2>
<div class="outline-text-2" id="text-org41948b1">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Type</th>
<th scope="col" class="org-left">URL</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left">Application Store</td>
<td class="org-left"><a href="https://f-droid.org/fr/">https://f-droid.org/fr/</a></td>
</tr>
<tr>
<td class="org-left">Reddit Client</td>
<td class="org-left"><a href="https://play.google.com/store/apps/details?id=com.rubenmayayo.reddit&amp;hl=fr&amp;gl=US">https://play.google.com/store/apps/details?id=com.rubenmayayo.reddit&amp;hl=fr&amp;gl=US</a></td>
</tr>
<tr>
<td class="org-left">Contacts</td>
<td class="org-left"><a href="https://github.com/SimpleMobileTools/Simple-Contacts">https://github.com/SimpleMobileTools/Simple-Contacts</a></td>
</tr>
<tr>
<td class="org-left">SMS Client</td>
<td class="org-left"><a href="https://github.com/moezbhatti/qksms">https://github.com/moezbhatti/qksms</a></td>
</tr>
<tr>
<td class="org-left">Youtube</td>
<td class="org-left"><a href="https://vancedapp.com/">https://vancedapp.com/</a></td>
</tr>
<tr>
<td class="org-left">Web Browser</td>
<td class="org-left"><a href="https://github.com/mozilla-mobile/fenix">https://github.com/mozilla-mobile/fenix</a></td>
</tr>
<tr>
<td class="org-left">File Sharing</td>
<td class="org-left"><a href="https://github.com/syncthing/syncthing-android">https://github.com/syncthing/syncthing-android</a></td>
</tr>
<tr>
<td class="org-left">Terminal</td>
<td class="org-left"><a href="https://github.com/termux/termux-app">https://github.com/termux/termux-app</a></td>
</tr>
<tr>
<td class="org-left">Github Client</td>
<td class="org-left"><a href="https://github.com/k0shk0sh/FastHub">https://github.com/k0shk0sh/FastHub</a></td>
</tr>
<tr>
<td class="org-left">Jellyfin Client</td>
<td class="org-left"><a href="https://github.com/dkanada/gelli">https://github.com/dkanada/gelli</a></td>
</tr>
<tr>
<td class="org-left">Mail Client</td>
<td class="org-left"><a href="https://github.com/k9mail/k-9">https://github.com/k9mail/k-9</a></td>
</tr>
<tr>
<td class="org-left">Photo Gallery</td>
<td class="org-left"><a href="https://github.com/SimpleMobileTools/Simple-Gallery">https://github.com/SimpleMobileTools/Simple-Gallery</a></td>
</tr>
<tr>
<td class="org-left">Pdf viewer</td>
<td class="org-left"><a href="https://f-droid.org/fr/packages/com.artifex.mupdf.viewer.app/">https://f-droid.org/fr/packages/com.artifex.mupdf.viewer.app/</a></td>
</tr>
<tr>
<td class="org-left">Media viewer</td>
<td class="org-left"><a href="https://github.com/mpv-android/mpv-android">https://github.com/mpv-android/mpv-android</a></td>
</tr>
<tr>
<td class="org-left">Orgzly</td>
<td class="org-left"><a href="http://www.orgzly.com/">http://www.orgzly.com/</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-08 ven. 01:41</p>
</div>
</body>
</html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Desktop file for the applications</title> <title>Desktop file for the applications</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -230,7 +230,7 @@
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-03 dim. 22:19 --> <!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Bash Configuration</title> <title>Bash Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -90,7 +90,7 @@
<h3 id="orgb8018f7">If not running interactively, don&rsquo;t do anything</h3> <h3 id="orgb8018f7">If not running interactively, don&rsquo;t do anything</h3>
<div class="outline-text-3" id="text-orgb8018f7"> <div class="outline-text-3" id="text-orgb8018f7">
<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>
</pre> </pre>
</div> </div>
</div> </div>
@ -100,7 +100,7 @@
<h3 id="org16d9917">Bash Completion</h3> <h3 id="org16d9917">Bash Completion</h3>
<div class="outline-text-3" id="text-org16d9917"> <div class="outline-text-3" id="text-org16d9917">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-rainbow-delimiters-depth-1">[</span> -r /usr/share/bash-completion/bash_completion <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> /usr/share/bash-completion/bash_completion <pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span> -r /usr/share/bash-completion/bash_completion <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> /usr/share/bash-completion/bash_completion
</pre> </pre>
</div> </div>
</div> </div>
@ -110,7 +110,7 @@
<h3 id="org17408fe">FZF</h3> <h3 id="org17408fe">FZF</h3>
<div class="outline-text-3" id="text-org17408fe"> <div class="outline-text-3" id="text-org17408fe">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">source</span> /usr/share/fzf/key-bindings.bash <pre class="src src-bash"><span class="org-builtin">source</span> /usr/share/fzf/key-bindings.bash
</pre> </pre>
</div> </div>
</div> </div>
@ -120,8 +120,8 @@
<h3 id="org46238bc">Ignore case for auto-completion</h3> <h3 id="org46238bc">Ignore case for auto-completion</h3>
<div class="outline-text-3" id="text-org46238bc"> <div class="outline-text-3" id="text-org46238bc">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">bind</span> <span class="org-string">"set completion-ignore-case on"</span> <pre class="src src-bash"><span class="org-builtin">bind</span> <span class="org-string">"set completion-ignore-case on"</span>
<span class="org-builtin">bind</span> <span class="org-string">"set show-all-if-ambiguous on"</span> <span class="org-builtin">bind</span> <span class="org-string">"set show-all-if-ambiguous on"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -131,7 +131,7 @@
<h3 id="org53c6a26">Use Color</h3> <h3 id="org53c6a26">Use Color</h3>
<div class="outline-text-3" id="text-org53c6a26"> <div class="outline-text-3" id="text-org53c6a26">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">use_color</span>=true <pre class="src src-bash"><span class="org-variable-name">use_color</span>=true
</pre> </pre>
</div> </div>
</div> </div>
@ -141,33 +141,33 @@
<h3 id="org5664e96">Some config</h3> <h3 id="org5664e96">Some config</h3>
<div class="outline-text-3" id="text-org5664e96"> <div class="outline-text-3" id="text-org5664e96">
<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">Unset some variables</span> <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Unset some variables</span>
<span class="org-builtin">unset</span> use_color safe_term match_lhs sh <span class="org-builtin">unset</span> use_color safe_term match_lhs sh
<span class="org-comment-delimiter"># </span><span class="org-comment">Allow local processes with root privileges to connect to the locally running X server</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Allow local processes with root privileges to connect to the locally running X server</span>
xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> 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-comment-delimiter"># </span><span class="org-comment">Autocomplete </span><span class="org-type"><span class="org-comment">sudo</span></span><span class="org-comment"> commands</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Autocomplete </span><span class="org-type"><span class="org-comment">sudo</span></span><span class="org-comment"> commands</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>
<span class="org-comment-delimiter"># </span><span class="org-comment">Line wrap on window resize</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Line wrap on window resize</span>
<span class="org-builtin">shopt</span> -s checkwinsize <span class="org-builtin">shopt</span> -s checkwinsize
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable history expansion with space</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Enable history expansion with space</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">E.g. typing !!&lt;space&gt; will replace the !! with your last command</span> <span class="org-comment-delimiter"># </span><span class="org-comment">E.g. typing !!&lt;space&gt; will replace the !! with your last command</span>
<span class="org-builtin">bind</span> Space:magic-space <span class="org-builtin">bind</span> Space:magic-space
<span class="org-comment-delimiter"># </span><span class="org-comment">Expand Aliases</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Expand Aliases</span>
<span class="org-builtin">shopt</span> -s expand_aliases <span class="org-builtin">shopt</span> -s expand_aliases
<span class="org-comment-delimiter"># </span><span class="org-comment">Auto "</span><span class="org-type"><span class="org-comment">cd</span></span><span class="org-comment">" when entering just a path</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Auto "</span><span class="org-type"><span class="org-comment">cd</span></span><span class="org-comment">" when entering just a path</span>
<span class="org-builtin">shopt</span> -s autocd <span class="org-builtin">shopt</span> -s autocd
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable history appending instead of overwriting</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Enable history appending instead of overwriting</span>
<span class="org-builtin">shopt</span> -s histappend <span class="org-builtin">shopt</span> -s histappend
<span class="org-comment-delimiter"># </span><span class="org-comment">Save multi-line commands as one command</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Save multi-line commands as one command</span>
<span class="org-builtin">shopt</span> -s cmdhist <span class="org-builtin">shopt</span> -s cmdhist
</pre> </pre>
</div> </div>
</div> </div>
@ -177,7 +177,7 @@
<h3 id="org26dcd39">Prompt - <code>PS1</code></h3> <h3 id="org26dcd39">Prompt - <code>PS1</code></h3>
<div class="outline-text-3" id="text-org26dcd39"> <div class="outline-text-3" id="text-org26dcd39">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">PS1</span>=<span class="org-string">"\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> bold)</span></span><span class="org-string">\]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\][\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 3)</span></span><span class="org-string">\]\u\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 2)</span></span><span class="org-string">\]@\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 4)</span></span><span class="org-string">\]\h \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 5)</span></span><span class="org-string">\]\W\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\]]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 7)</span></span><span class="org-string">\]\\$ \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> sgr0)</span></span><span class="org-string">\]"</span> <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">PS1</span>=<span class="org-string">"\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> bold)</span></span><span class="org-string">\]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\][\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 3)</span></span><span class="org-string">\]\u\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 2)</span></span><span class="org-string">\]@\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 4)</span></span><span class="org-string">\]\h \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 5)</span></span><span class="org-string">\]\W\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\]]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 7)</span></span><span class="org-string">\]\\$ \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> sgr0)</span></span><span class="org-string">\]"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -187,8 +187,8 @@
<h3 id="org7dc0b98">Rebind up and down arrow keys to search through bash history</h3> <h3 id="org7dc0b98">Rebind up and down arrow keys to search through bash history</h3>
<div class="outline-text-3" id="text-org7dc0b98"> <div class="outline-text-3" id="text-org7dc0b98">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">bind</span> <span class="org-string">'"\e[A": history-search-backward'</span> <pre class="src src-bash"><span class="org-builtin">bind</span> <span class="org-string">'"\e[A": history-search-backward'</span>
<span class="org-builtin">bind</span> <span class="org-string">'"\e[B": history-search-forward'</span> <span class="org-builtin">bind</span> <span class="org-string">'"\e[B": history-search-forward'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -202,13 +202,13 @@
<h4 id="orgad8f6ac">Better defaults for some commands</h4> <h4 id="orgad8f6ac">Better defaults for some commands</h4>
<div class="outline-text-4" id="text-orgad8f6ac"> <div class="outline-text-4" id="text-orgad8f6ac">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">alias</span> <span class="org-type">ls</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">ls</span></span><span class="org-string"> -hN --color=auto --group-directories-first'</span> <pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-type">ls</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">ls</span></span><span class="org-string"> -hN --color=auto --group-directories-first'</span>
<span class="org-builtin">alias</span> <span class="org-type">grep</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">grep</span></span><span class="org-string"> --colour=auto'</span> <span class="org-builtin">alias</span> <span class="org-type">grep</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">grep</span></span><span class="org-string"> --colour=auto'</span>
<span class="org-builtin">alias</span> <span class="org-type">cp</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">cp</span></span><span class="org-string"> -i"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">confirm before overwriting something</span> <span class="org-builtin">alias</span> <span class="org-type">cp</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">cp</span></span><span class="org-string"> -i"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">confirm before overwriting something</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">df</span>=<span class="org-string">'df -h'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">human-readable sizes</span> <span class="org-builtin">alias</span> <span class="org-variable-name">df</span>=<span class="org-string">'df -h'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">human-readable sizes</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">free</span>=<span class="org-string">'free -m'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">show sizes in MB</span> <span class="org-builtin">alias</span> <span class="org-variable-name">free</span>=<span class="org-string">'free -m'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">show sizes in MB</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">mutt</span>=<span class="org-string">"neomutt"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">mutt</span>=<span class="org-string">"neomutt"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">tmux</span>=<span class="org-string">'tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'</span> <span class="org-builtin">alias</span> <span class="org-variable-name">tmux</span>=<span class="org-string">'tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -218,13 +218,13 @@
<h4 id="orgd2723b6">One letter aliases</h4> <h4 id="orgd2723b6">One letter aliases</h4>
<div class="outline-text-4" id="text-orgd2723b6"> <div class="outline-text-4" id="text-orgd2723b6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">alias</span> <span class="org-variable-name">r</span>=<span class="org-string">"ranger"</span> <pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">r</span>=<span class="org-string">"ranger"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">t</span>=<span class="org-string">"tmux"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">t</span>=<span class="org-string">"tmux"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">v</span>=<span class="org-string">"nvim"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">v</span>=<span class="org-string">"nvim"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">sv</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">sudo</span></span><span class="org-string"> -E nvim'</span> <span class="org-builtin">alias</span> <span class="org-variable-name">sv</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">sudo</span></span><span class="org-string"> -E nvim'</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">g</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">git</span></span><span class="org-string">"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">g</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">git</span></span><span class="org-string">"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">m</span>=<span class="org-string">"neomutt"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">m</span>=<span class="org-string">"neomutt"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">o</span>=<span class="org-string">"xdg-open"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">o</span>=<span class="org-string">"xdg-open"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -234,7 +234,7 @@
<h4 id="org785c2af">Neovim</h4> <h4 id="org785c2af">Neovim</h4>
<div class="outline-text-4" id="text-org785c2af"> <div class="outline-text-4" id="text-org785c2af">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">command</span> -v nvim &gt;/dev/null &amp;&amp; <span class="org-builtin">alias</span> <span class="org-variable-name">vim</span>=<span class="org-string">"nvim"</span> <span class="org-variable-name">vimdiff</span>=<span class="org-string">"nvim -d"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use neovim for vim if present.</span> <pre class="src src-bash"><span class="org-builtin">command</span> -v nvim &gt;/dev/null &amp;&amp; <span class="org-builtin">alias</span> <span class="org-variable-name">vim</span>=<span class="org-string">"nvim"</span> <span class="org-variable-name">vimdiff</span>=<span class="org-string">"nvim -d"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use neovim for vim if present.</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -244,8 +244,8 @@
<h4 id="org61be992">Vim-like</h4> <h4 id="org61be992">Vim-like</h4>
<div class="outline-text-4" id="text-org61be992"> <div class="outline-text-4" id="text-org61be992">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">alias</span> :<span class="org-variable-name">q</span>=exit <pre class="src src-bash"><span class="org-builtin">alias</span> :<span class="org-variable-name">q</span>=exit
<span class="org-builtin">alias</span> :<span class="org-variable-name">e</span>=nvim <span class="org-builtin">alias</span> :<span class="org-variable-name">e</span>=nvim
</pre> </pre>
</div> </div>
</div> </div>
@ -255,7 +255,7 @@
<h4 id="org6f5c44a">Print each PATH entry on a separate line</h4> <h4 id="org6f5c44a">Print each PATH entry on a separate line</h4>
<div class="outline-text-4" id="text-org6f5c44a"> <div class="outline-text-4" id="text-org6f5c44a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">alias</span> <span class="org-variable-name">path</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">echo</span></span><span class="org-string"> -e ${PATH//:/\\n}'</span> <pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">path</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">echo</span></span><span class="org-string"> -e ${PATH//:/\\n}'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -270,7 +270,7 @@
<h4 id="org716962c"><code>colors</code> - Display colors</h4> <h4 id="org716962c"><code>colors</code> - Display colors</h4>
<div class="outline-text-4" id="text-org716962c"> <div class="outline-text-4" id="text-org716962c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> colors<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">colors</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-builtin">local</span> fgc bgc vals seq0 <span class="org-builtin">local</span> fgc bgc vals seq0
<span class="org-builtin">printf</span> <span class="org-string">"Color escapes are %s\n"</span> <span class="org-string">'\e[${value};...;${value}m'</span> <span class="org-builtin">printf</span> <span class="org-string">"Color escapes are %s\n"</span> <span class="org-string">'\e[${value};...;${value}m'</span>
@ -295,7 +295,7 @@
<span class="org-keyword">done</span> <span class="org-keyword">done</span>
<span class="org-type">echo</span>; <span class="org-type">echo</span> <span class="org-type">echo</span>; <span class="org-type">echo</span>
<span class="org-keyword">done</span> <span class="org-keyword">done</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -312,9 +312,9 @@ small enough for one screen.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">tre</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-keyword">function</span> <span class="org-function-name">tre</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
tree -aC -I <span class="org-string">'.git|node_modules|bower_components'</span> --dirsfirst <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-type">less</span> -FRNX; tree -aC -I <span class="org-string">'.git|node_modules|bower_components'</span> --dirsfirst <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-type">less</span> -FRNX;
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -324,9 +324,9 @@ small enough for one screen.
<h4 id="org7b0ff56"><code>mkd</code> - Create a new directory and enter it</h4> <h4 id="org7b0ff56"><code>mkd</code> - Create a new directory and enter it</h4>
<div class="outline-text-4" id="text-org7b0ff56"> <div class="outline-text-4" id="text-org7b0ff56">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">mkd</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-keyword">function</span> <span class="org-function-name">mkd</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-type">mkdir</span> -p <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> &amp;&amp; <span class="org-type">cd</span> <span class="org-string">"$_"</span>; <span class="org-type">mkdir</span> -p <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> &amp;&amp; <span class="org-type">cd</span> <span class="org-string">"$_"</span>;
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -336,7 +336,7 @@ small enough for one screen.
<h4 id="org78520b0"><code>fs</code> - Filesize of directory</h4> <h4 id="org78520b0"><code>fs</code> - Filesize of directory</h4>
<div class="outline-text-4" id="text-org78520b0"> <div class="outline-text-4" id="text-org78520b0">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">fs</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-keyword">function</span> <span class="org-function-name">fs</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-keyword">if</span> du -b /dev/null &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> <span class="org-keyword">if</span> du -b /dev/null &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>
<span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sbh; <span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sbh;
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
@ -347,7 +347,7 @@ small enough for one screen.
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
du $<span class="org-variable-name">arg</span> .<span class="org-rainbow-delimiters-depth-2">[</span>^.<span class="org-rainbow-delimiters-depth-2">]</span>* ./*; du $<span class="org-variable-name">arg</span> .<span class="org-rainbow-delimiters-depth-2">[</span>^.<span class="org-rainbow-delimiters-depth-2">]</span>* ./*;
<span class="org-keyword">fi</span>; <span class="org-keyword">fi</span>;
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -357,9 +357,9 @@ small enough for one screen.
<h4 id="orgfc72283"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</h4> <h4 id="orgfc72283"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</h4>
<div class="outline-text-4" id="text-orgfc72283"> <div class="outline-text-4" id="text-orgfc72283">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">nullify</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-keyword">function</span> <span class="org-function-name">nullify</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">@</span></span><span class="org-string">"</span> &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">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">@</span></span><span class="org-string">"</span> &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-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -373,7 +373,7 @@ small enough for one screen.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> sms<span class="org-rainbow-delimiters-depth-1">(){</span> <pre class="src src-bash"><span class="org-function-name">sms</span><span class="org-rainbow-delimiters-depth-1">(){</span>
<span class="org-builtin">local</span> <span class="org-variable-name">args</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">@</span></span><span class="org-string">"</span> <span class="org-builtin">local</span> <span class="org-variable-name">args</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">@</span></span><span class="org-string">"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">local phone_number name phone_type</span> <span class="org-comment-delimiter"># </span><span class="org-comment">local phone_number name phone_type</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">khard phone --parsable | sort -u | fzf | IFS=$'\t' read -r phone_number name phone_type</span> <span class="org-comment-delimiter"># </span><span class="org-comment">khard phone --parsable | sort -u | fzf | IFS=$'\t' read -r phone_number name phone_type</span>
@ -384,7 +384,7 @@ small enough for one screen.
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
kdeconnect-cli --send-sms <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{args}</span></span><span class="org-string">"</span> --destination <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{phone_number}</span></span><span class="org-string">"</span> --device 4de3b5de2264a17c kdeconnect-cli --send-sms <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{args}</span></span><span class="org-string">"</span> --destination <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{phone_number}</span></span><span class="org-string">"</span> --device 4de3b5de2264a17c
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
@ -400,20 +400,20 @@ Undocumented feature which sets the size to &ldquo;unlimited&rdquo;. <a href="ht
</p> </p>
<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">Huge history. Doesn't appear to slow things down, so why not?</span> <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Huge history. Doesn't appear to slow things down, so why not?</span>
<span class="org-variable-name">HISTSIZE</span>=<span class="org-highlight-numbers-number">500000</span> <span class="org-variable-name">HISTSIZE</span>=<span class="org-highlight-numbers-number">500000</span>
<span class="org-variable-name">HISTFILESIZE</span>=<span class="org-highlight-numbers-number">100000</span> <span class="org-variable-name">HISTFILESIZE</span>=<span class="org-highlight-numbers-number">100000</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Avoid duplicate entries</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Avoid duplicate entries</span>
<span class="org-variable-name">HISTCONTROL</span>=<span class="org-string">"erasedups:ignoreboth"</span> <span class="org-variable-name">HISTCONTROL</span>=<span class="org-string">"erasedups:ignoreboth"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Don't record some commands</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Don't record some commands</span>
<span class="org-builtin">export</span> <span class="org-variable-name">HISTIGNORE</span>=<span class="org-string">"&amp;:[ ]*:exit:ls:bg:fg:history:clear"</span> <span class="org-builtin">export</span> <span class="org-variable-name">HISTIGNORE</span>=<span class="org-string">"&amp;:[ ]*:exit:ls:bg:fg:history:clear"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Use standard ISO 8601 timestamp</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use standard ISO 8601 timestamp</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">%F equivalent to %Y-%m-%d</span> <span class="org-comment-delimiter"># </span><span class="org-comment">%F equivalent to %Y-%m-%d</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">%T equivalent to %H:%M:%S (24-hours format)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">%T equivalent to %H:%M:%S (24-hours format)</span>
<span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">'%F %T '</span> <span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">'%F %T '</span>
</pre> </pre>
</div> </div>
@ -422,7 +422,7 @@ Change the file location because certain bash sessions truncate <code>.bash_hist
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">HISTFILE</span>=~/.bash_eternal_history <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">HISTFILE</span>=~/.bash_eternal_history
</pre> </pre>
</div> </div>
@ -431,7 +431,7 @@ Force prompt to write history after every command. <a href="http://superuser.com
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">PROMPT_COMMAND</span>=<span class="org-string">"history -a; </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PROMPT_COMMAND</span></span><span class="org-string">"</span> <pre class="src src-bash"><span class="org-variable-name">PROMPT_COMMAND</span>=<span class="org-string">"history -a; </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PROMPT_COMMAND</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -442,8 +442,8 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h2 id="bash_profile"><code>~/.bash_profile</code></h2> <h2 id="bash_profile"><code>~/.bash_profile</code></h2>
<div class="outline-text-2" id="text-bash_profile"> <div class="outline-text-2" id="text-bash_profile">
<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> -f ~/.profile <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.profile <pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.profile <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.profile
<span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.bashrc <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.bashrc <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.bashrc <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.bashrc
</pre> </pre>
</div> </div>
</div> </div>
@ -458,8 +458,8 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h3 id="org15952b2">QT And GTK Themes</h3> <h3 id="org15952b2">QT And GTK Themes</h3>
<div class="outline-text-3" id="text-org15952b2"> <div class="outline-text-3" id="text-org15952b2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">QT_QPA_PLATFORMTHEME</span>=<span class="org-string">"qt5ct"</span> <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">QT_QPA_PLATFORMTHEME</span>=<span class="org-string">"qt5ct"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">GTK2_RC_FILES</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">/.gtkrc-2.0"</span> <span class="org-builtin">export</span> <span class="org-variable-name">GTK2_RC_FILES</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">/.gtkrc-2.0"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -469,7 +469,7 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h3 id="org6c38c79">Gui program to ask for sudo password</h3> <h3 id="org6c38c79">Gui program to ask for sudo password</h3>
<div class="outline-text-3" id="text-org6c38c79"> <div class="outline-text-3" id="text-org6c38c79">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi
</pre> </pre>
</div> </div>
</div> </div>
@ -482,10 +482,10 @@ Force prompt to write history after every command. <a href="http://superuser.com
Enable the keyring for applications run through the terminal Enable the keyring for applications run through the terminal
</p> </p>
<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> -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> <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">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-builtin">export</span> SSH_AUTH_SOCK
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -495,11 +495,11 @@ Enable the keyring for applications run through the terminal
<h3 id="org10b40b3">Export some default applications</h3> <h3 id="org10b40b3">Export some default applications</h3>
<div class="outline-text-3" id="text-org10b40b3"> <div class="outline-text-3" id="text-org10b40b3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">EDITOR</span>=<span class="org-string">"nvim"</span> <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">EDITOR</span>=<span class="org-string">"nvim"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">TERMINAL</span>=<span class="org-string">"termite"</span> <span class="org-builtin">export</span> <span class="org-variable-name">TERMINAL</span>=<span class="org-string">"termite"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">BROWSER</span>=<span class="org-string">"qutebrowser"</span> <span class="org-builtin">export</span> <span class="org-variable-name">BROWSER</span>=<span class="org-string">"qutebrowser"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">READER</span>=<span class="org-string">"zathura"</span> <span class="org-builtin">export</span> <span class="org-variable-name">READER</span>=<span class="org-string">"zathura"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">FILE</span>=<span class="org-string">"ranger"</span> <span class="org-builtin">export</span> <span class="org-variable-name">FILE</span>=<span class="org-string">"ranger"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -516,7 +516,7 @@ Enable the keyring for applications run through the terminal
This is important for termite to work when sshing in remote machines. This is important for termite to work when sshing in remote machines.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">TERM</span>=xterm-color <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">TERM</span>=xterm-color
</pre> </pre>
</div> </div>
</div> </div>
@ -526,7 +526,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org0fa2d26">XDG Default</h4> <h4 id="org0fa2d26">XDG Default</h4>
<div class="outline-text-4" id="text-org0fa2d26"> <div class="outline-text-4" id="text-org0fa2d26">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">XDG_CONFIG_HOME</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">/.config"</span> <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">XDG_CONFIG_HOME</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">/.config"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -536,8 +536,8 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org51055fb">Use Ripgrep for FZF</h4> <h4 id="org51055fb">Use Ripgrep for FZF</h4>
<div class="outline-text-4" id="text-org51055fb"> <div class="outline-text-4" id="text-org51055fb">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_COMMAND</span>=<span class="org-string">'rg --files --no-ignore --hidden --follow --glob "!.git/*"'</span> <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_COMMAND</span>=<span class="org-string">'rg --files --no-ignore --hidden --follow --glob "!.git/*"'</span>
<span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_OPTS</span>=<span class="org-string">'--layout=reverse --height=20'</span> <span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_OPTS</span>=<span class="org-string">'--layout=reverse --height=20'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -547,7 +547,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org08d14fc">Goland</h4> <h4 id="org08d14fc">Goland</h4>
<div class="outline-text-4" id="text-org08d14fc"> <div class="outline-text-4" id="text-org08d14fc">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">GOPATH</span>=$<span class="org-variable-name">HOME</span>/go <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">GOPATH</span>=$<span class="org-variable-name">HOME</span>/go
</pre> </pre>
</div> </div>
</div> </div>
@ -557,7 +557,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org18f49cf">Latex Path</h4> <h4 id="org18f49cf">Latex Path</h4>
<div class="outline-text-4" id="text-org18f49cf"> <div class="outline-text-4" id="text-org18f49cf">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">TEXMFHOME</span>=$<span class="org-variable-name">HOME</span>/.local/share/texmf <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">TEXMFHOME</span>=$<span class="org-variable-name">HOME</span>/.local/share/texmf
</pre> </pre>
</div> </div>
</div> </div>
@ -567,7 +567,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org992e4cf">Bitwarden Session</h4> <h4 id="org992e4cf">Bitwarden Session</h4>
<div class="outline-text-4" id="text-org992e4cf"> <div class="outline-text-4" id="text-org992e4cf">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">BW_SESSION</span>=<span class="org-string">"HH0yycfocRSuGtq/iW1e6v13PQ1sShMXbMhdb/En94S6OcIXFnJlLEyU+dySsmf2YShY4CImoB5FrxgdPsY9Qw=="</span> <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">BW_SESSION</span>=<span class="org-string">"HH0yycfocRSuGtq/iW1e6v13PQ1sShMXbMhdb/En94S6OcIXFnJlLEyU+dySsmf2YShY4CImoB5FrxgdPsY9Qw=="</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -577,7 +577,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org6bdbd18">Python Path</h4> <h4 id="org6bdbd18">Python Path</h4>
<div class="outline-text-4" id="text-org6bdbd18"> <div class="outline-text-4" id="text-org6bdbd18">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">PYTHONPATH</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">{PYTHONPATH}</span></span><span class="org-string">:/usr/lib/python3.9/site-packages/configobj"</span> <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">PYTHONPATH</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">{PYTHONPATH}</span></span><span class="org-string">:/usr/lib/python3.9/site-packages/configobj"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -588,11 +588,11 @@ This is important for termite to work when sshing in remote machines.
<h3 id="org8a10d32">Path</h3> <h3 id="org8a10d32">Path</h3>
<div class="outline-text-3" id="text-org8a10d32"> <div class="outline-text-3" id="text-org8a10d32">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/appimages:$<span class="org-variable-name">PATH</span> <pre class="src src-bash"><span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/appimages:$<span class="org-variable-name">PATH</span>
<span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/.gem/ruby/2.5.0/bin:$<span class="org-variable-name">PATH</span> <span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/.gem/ruby/2.5.0/bin:$<span class="org-variable-name">PATH</span>
<span class="org-variable-name">PATH</span>=$<span class="org-variable-name">GOPATH</span>:$<span class="org-variable-name">GOPATH</span>/bin:$<span class="org-variable-name">PATH</span> <span class="org-variable-name">PATH</span>=$<span class="org-variable-name">GOPATH</span>:$<span class="org-variable-name">GOPATH</span>/bin:$<span class="org-variable-name">PATH</span>
<span class="org-variable-name">PATH</span>=~/.config/emacs/bin:$<span class="org-variable-name">PATH</span> <span class="org-variable-name">PATH</span>=~/.config/emacs/bin:$<span class="org-variable-name">PATH</span>
<span class="org-builtin">export</span> PATH <span class="org-builtin">export</span> PATH
</pre> </pre>
</div> </div>
</div> </div>
@ -602,9 +602,9 @@ This is important for termite to work when sshing in remote machines.
<h3 id="orgda5e48a">Automatically run <code>startx</code></h3> <h3 id="orgda5e48a">Automatically run <code>startx</code></h3>
<div class="outline-text-3" id="text-orgda5e48a"> <div class="outline-text-3" id="text-orgda5e48a">
<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> -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">{DISPLAY}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <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">{XDG_VTNR}</span></span><span class="org-string">"</span> -eq <span class="org-highlight-numbers-number">1</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> -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">{DISPLAY}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <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">{XDG_VTNR}</span></span><span class="org-string">"</span> -eq <span class="org-highlight-numbers-number">1</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-keyword">exec</span> startx <span class="org-keyword">exec</span> startx
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -618,11 +618,11 @@ This is important for termite to work when sshing in remote machines.
Completion: Completion:
</p> </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">Single tab for autocompletion</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Single tab for autocompletion</span>
set show-all-if-ambiguous on set show-all-if-ambiguous on
<span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span>
set completion-ignore-case on set completion-ignore-case on
</pre> </pre>
</div> </div>
@ -630,15 +630,15 @@ Completion:
vi mode: vi mode:
</p> </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">VI mode (works in bash and zsh)</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">VI mode (works in bash and zsh)</span>
set editing-mode vi set editing-mode vi
<span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span>
set show-mode-in-prompt on set show-mode-in-prompt on
<span class="org-comment-delimiter"># </span><span class="org-comment">Show the mode by changing the cursor</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Show the mode by changing the cursor</span>
set vi-ins-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">6</span> q\<span class="org-highlight-numbers-number">2</span> set vi-ins-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">6</span> q\<span class="org-highlight-numbers-number">2</span>
set vi-cmd-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">2</span> q\<span class="org-highlight-numbers-number">2</span> set vi-cmd-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">2</span> q\<span class="org-highlight-numbers-number">2</span>
</pre> </pre>
</div> </div>
@ -646,19 +646,19 @@ vi mode:
Key-bindings for vi-mode: Key-bindings for vi-mode:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> set keymap vi-command <pre class="src src-conf">set keymap vi-command
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-command mode</span> <span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-command mode</span>
Control-l: clear-screen Control-l: clear-screen
Control-a: beginning-of-line Control-a: beginning-of-line
Control-e: end-of-line Control-e: end-of-line
Control-w: <span class="org-string">"\C-aisudo \C-e"</span> Control-w: <span class="org-string">"\C-aisudo \C-e"</span>
set keymap vi-insert set keymap vi-insert
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span> <span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span>
Control-l: clear-screen Control-l: clear-screen
Control-a: beginning-of-line Control-a: beginning-of-line
Control-e: end-of-line Control-e: end-of-line
Control-w: <span class="org-string">"\C-asudo \C-e"</span> Control-w: <span class="org-string">"\C-asudo \C-e"</span>
</pre> </pre>
</div> </div>
@ -666,16 +666,16 @@ Key-bindings for vi-mode:
Colorized completion Colorized completion
</p> </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">Color files by types</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color files by types</span>
set colored-stats On set colored-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span>
set visible-stats On set visible-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span>
set mark-symlinked-directories On set mark-symlinked-directories On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span>
set colored-completion-prefix On set colored-completion-prefix On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span>
set menu-complete-display-prefix On set menu-complete-display-prefix On
</pre> </pre>
</div> </div>
@ -683,7 +683,7 @@ Colorized completion
Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed. Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> set echo-control-characters off <pre class="src src-conf">set echo-control-characters off
</pre> </pre>
</div> </div>
</div> </div>
@ -691,7 +691,7 @@ Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</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: 2021-01-03 dim. 22:19</p> <p class="date">Created: 2021-01-08 ven. 01:40</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Binaries</title> <title>Binaries</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -24,6 +24,7 @@
<ul> <ul>
<li><a href="#dmenumount"><code>dmenumount</code> - Mount USB and Android</a></li> <li><a href="#dmenumount"><code>dmenumount</code> - Mount USB and Android</a></li>
<li><a href="#dmenuumount"><code>dmenuumount</code> - Unmount USB and Android devices</a></li> <li><a href="#dmenuumount"><code>dmenuumount</code> - Unmount USB and Android devices</a></li>
<li><a href="#dmenukill"><code>dmenukill</code> - Kill program using Dmenu</a></li>
<li><a href="#nordvpn-toggle"><code>nordvpn-toggle</code> - Connect to VPN using NordVPN</a></li> <li><a href="#nordvpn-toggle"><code>nordvpn-toggle</code> - Connect to VPN using NordVPN</a></li>
<li><a href="#bukurun"><code>bukurun</code> - Open link from Buku</a></li> <li><a href="#bukurun"><code>bukurun</code> - Open link from Buku</a></li>
<li><a href="#i3exit"><code>i3exit</code> - Manage lock, suspend, reboot, &#x2026;</a></li> <li><a href="#i3exit"><code>i3exit</code> - Manage lock, suspend, reboot, &#x2026;</a></li>
@ -178,6 +179,25 @@ Script taken from Luke Smith.
</div> </div>
</div> </div>
<div id="outline-container-dmenukill" class="outline-2">
<h2 id="dmenukill"><code>dmenukill</code> - Kill program using Dmenu</h2>
<div class="outline-text-2" id="text-dmenukill">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">ps_line</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">ps</span> -u $<span class="org-variable-name">USER</span> k -size -o <span class="org-variable-name">pid</span>=,%<span class="org-variable-name">mem</span>=,%<span class="org-variable-name">cpu</span>=,<span class="org-variable-name">comm</span>= | dmenu -i -l <span class="org-highlight-numbers-number">15</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-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">ps_line</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">pid</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> $<span class="org-variable-name">ps_line</span> | awk <span class="org-string">'{print $1}'</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-variable-name">name</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> $<span class="org-variable-name">ps_line</span> | awk <span class="org-string">'{print $4}'</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-type">kill</span> -15 $<span class="org-variable-name">pid</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"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">name</span></span><span class="org-string"> (PID </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> &amp;
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-nordvpn-toggle" class="outline-2"> <div id="outline-container-nordvpn-toggle" class="outline-2">
<h2 id="nordvpn-toggle"><code>nordvpn-toggle</code> - Connect to VPN using NordVPN</h2> <h2 id="nordvpn-toggle"><code>nordvpn-toggle</code> - Connect to VPN using NordVPN</h2>
<div class="outline-text-2" id="text-nordvpn-toggle"> <div class="outline-text-2" id="text-nordvpn-toggle">
@ -1308,7 +1328,7 @@ Run some simple calculations with <code>rofi</code>.
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:40</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>BSPWM</title> <title>BSPWM</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -106,7 +106,7 @@ sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Picom (Compositor)</title> <title>Picom (Compositor)</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -109,7 +109,7 @@
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-04 lun. 21:32 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files</title> <title>Configuration Files</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -38,33 +38,33 @@
<h2 id="org3f17b04">SSH</h2> <h2 id="org3f17b04">SSH</h2>
<div class="outline-text-2" id="text-org3f17b04"> <div class="outline-text-2" id="text-org3f17b04">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> AddKeysToAgent yes <pre class="src src-conf">AddKeysToAgent yes
Host grenoble Host grenoble
hostname 82.64.103.2 hostname 82.64.103.2
Port <span class="org-highlight-numbers-number">10022</span> Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host wingaudio Host wingaudio
hostname 207.154.251.241 hostname 207.154.251.241
Port <span class="org-highlight-numbers-number">22</span> Port <span class="org-highlight-numbers-number">22</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host octoprint Host octoprint
hostname 192.168.1.56 hostname 192.168.1.56
Port <span class="org-highlight-numbers-number">22</span> Port <span class="org-highlight-numbers-number">22</span>
user pi user pi
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host hassio Host hassio
hostname 192.168.1.101 hostname 192.168.1.101
Port <span class="org-highlight-numbers-number">10022</span> Port <span class="org-highlight-numbers-number">10022</span>
user root user root
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host nas Host nas
hostname 192.168.1.50 hostname 192.168.1.50
Port <span class="org-highlight-numbers-number">10022</span> Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze user tdehaeze
@ -78,11 +78,11 @@
<h2 id="org10b81df">Font</h2> <h2 id="org10b81df">Font</h2>
<div class="outline-text-2" id="text-org10b81df"> <div class="outline-text-2" id="text-org10b81df">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">&lt;?xml version</span>=<span class="org-string">'1.0'</span>?&gt; <pre class="src src-conf"><span class="org-variable-name">&lt;?xml version</span>=<span class="org-string">'1.0'</span>?&gt;
&lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt; &lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt;
&lt;fontconfig&gt; &lt;fontconfig&gt;
&lt;alias&gt; &lt;alias&gt;
&lt;family&gt;serif&lt;/family&gt; &lt;family&gt;serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Libertine&lt;/family&gt;&lt;/prefer&gt; &lt;prefer&gt;&lt;family&gt;Linux Libertine&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt; &lt;/alias&gt;
@ -99,7 +99,7 @@
&lt;prefer&gt;&lt;family&gt;Hack Nerd Font Mono&lt;/family&gt;&lt;/prefer&gt; &lt;prefer&gt;&lt;family&gt;Hack Nerd Font Mono&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt; &lt;/alias&gt;
&lt;/fontconfig&gt; &lt;/fontconfig&gt;
</pre> </pre>
</div> </div>
</div> </div>
@ -109,8 +109,8 @@
<h2 id="orge8ba5b4">GnuPG</h2> <h2 id="orge8ba5b4">GnuPG</h2>
<div class="outline-text-2" id="text-orge8ba5b4"> <div class="outline-text-2" id="text-orge8ba5b4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> default-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>
max-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>
@ -120,22 +120,22 @@
<h2 id="org3a8118a">Redshift</h2> <h2 id="org3a8118a">Redshift</h2>
<div class="outline-text-2" id="text-org3a8118a"> <div class="outline-text-2" id="text-org3a8118a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> [<span class="org-type">redshift</span>] <pre class="src src-conf">[<span class="org-type">redshift</span>]
<span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span> <span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span>
<span class="org-variable-name">temp-night</span>=<span class="org-highlight-numbers-number">3500</span> <span class="org-variable-name">temp-night</span>=<span class="org-highlight-numbers-number">3500</span>
<span class="org-variable-name">transition</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">transition</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">;brightness-day</span>=<span class="org-highlight-numbers-number">0.7</span> <span class="org-variable-name">;brightness-day</span>=<span class="org-highlight-numbers-number">0.7</span>
<span class="org-variable-name">;brightness-night</span>=<span class="org-highlight-numbers-number">0.4</span> <span class="org-variable-name">;brightness-night</span>=<span class="org-highlight-numbers-number">0.4</span>
<span class="org-variable-name">location-provider</span>=manual <span class="org-variable-name">location-provider</span>=manual
<span class="org-variable-name">adjustment-method</span>=randr <span class="org-variable-name">adjustment-method</span>=randr
[<span class="org-type">manual</span>] [<span class="org-type">manual</span>]
<span class="org-variable-name">lat</span>=<span class="org-highlight-numbers-number">45.1</span> <span class="org-variable-name">lat</span>=<span class="org-highlight-numbers-number">45.1</span>
<span class="org-variable-name">lon</span>=<span class="org-highlight-numbers-number">5.7</span> <span class="org-variable-name">lon</span>=<span class="org-highlight-numbers-number">5.7</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -145,26 +145,26 @@
<h2 id="org91a7258">dmenu</h2> <h2 id="org91a7258">dmenu</h2>
<div class="outline-text-2" id="text-org91a7258"> <div class="outline-text-2" id="text-org91a7258">
<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">define the font for dmenu to be used</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">define the font for dmenu to be used</span>
<span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span> <span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for unselected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">background colour for unselected menu-items</span>
<span class="org-variable-name">DMENU_NB</span>=<span class="org-string">"#222D31"</span> <span class="org-variable-name">DMENU_NB</span>=<span class="org-string">"#222D31"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for unselected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for unselected menu-items</span>
<span class="org-variable-name">DMENU_NF</span>=<span class="org-string">"#F9FAF9"</span> <span class="org-variable-name">DMENU_NF</span>=<span class="org-string">"#F9FAF9"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for selected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">background colour for selected menu-items</span>
<span class="org-variable-name">DMENU_SB</span>=<span class="org-string">"#16A085"</span> <span class="org-variable-name">DMENU_SB</span>=<span class="org-string">"#16A085"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for selected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for selected menu-items</span>
<span class="org-variable-name">DMENU_SF</span>=<span class="org-string">"#F9FAF9"</span> <span class="org-variable-name">DMENU_SF</span>=<span class="org-string">"#F9FAF9"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">command for the terminal application to be used:</span> <span class="org-comment-delimiter"># </span><span class="org-comment">command for the terminal application to be used:</span>
<span class="org-variable-name">TERMINAL_CMD</span>=<span class="org-string">"terminal -e"</span> <span class="org-variable-name">TERMINAL_CMD</span>=<span class="org-string">"terminal -e"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">export our variables</span> <span class="org-comment-delimiter"># </span><span class="org-comment">export our variables</span>
<span class="org-variable-name">DMENU_OPTIONS</span>=<span class="org-string">"-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"</span> <span class="org-variable-name">DMENU_OPTIONS</span>=<span class="org-string">"-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -174,20 +174,20 @@
<h2 id="orge5eb33f">Locale</h2> <h2 id="orge5eb33f">Locale</h2>
<div class="outline-text-2" id="text-orge5eb33f"> <div class="outline-text-2" id="text-orge5eb33f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">LANG</span>=en_US.UTF-8 <pre class="src src-conf"><span class="org-variable-name">LANG</span>=en_US.UTF-8
<span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span> <span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_NUMERIC</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_NUMERIC</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_TIME</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_TIME</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_COLLATE</span>=<span class="org-string">"en_US.UTF-8"</span> <span class="org-variable-name">LC_COLLATE</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_MONETARY</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_MONETARY</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_MESSAGES</span>=<span class="org-string">"en_US.UTF-8"</span> <span class="org-variable-name">LC_MESSAGES</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_PAPER</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_PAPER</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_NAME</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_NAME</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_ADDRESS</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_ADDRESS</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_TELEPHONE</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_TELEPHONE</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_MEASUREMENT</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_MEASUREMENT</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_IDENTIFICATION</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_IDENTIFICATION</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_ALL</span>= <span class="org-variable-name">LC_ALL</span>=
</pre> </pre>
</div> </div>
</div> </div>
@ -196,6 +196,10 @@
<div id="outline-container-org33bbfc0" class="outline-2"> <div id="outline-container-org33bbfc0" class="outline-2">
<h2 id="org33bbfc0">Netrc</h2> <h2 id="org33bbfc0">Netrc</h2>
<div class="outline-text-2" id="text-org33bbfc0"> <div class="outline-text-2" id="text-org33bbfc0">
<p>
It is very important that <code>~/.netrc</code> as <code>600</code> permissions.
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">machine traefik.tdehaeze.xyz <pre class="src src-conf">machine traefik.tdehaeze.xyz
login tdehaeze login tdehaeze
@ -229,9 +233,9 @@ login tdehaeze
<h2 id="orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</h2> <h2 id="orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</h2>
<div class="outline-text-2" id="text-orgd31ca2a"> <div class="outline-text-2" id="text-orgd31ca2a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-type">_rofi ()</span> { <pre class="src src-conf"><span class="org-type">_rofi ()</span> {
rofi -dmenu -i -no-levenshtein-sort -width <span class="org-highlight-numbers-number">1000</span> <span class="org-string">"$@"</span> rofi -dmenu -i -no-levenshtein-sort -width <span class="org-highlight-numbers-number">1000</span> <span class="org-string">"$@"</span>
} }
</pre> </pre>
</div> </div>
@ -239,8 +243,8 @@ login tdehaeze
Display settings Display settings
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">display_type</span>=<span class="org-highlight-numbers-number">1</span> <pre class="src src-conf"><span class="org-variable-name">display_type</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">max_str_width</span>=<span class="org-highlight-numbers-number">80</span> <span class="org-variable-name">max_str_width</span>=<span class="org-highlight-numbers-number">80</span>
</pre> </pre>
</div> </div>
@ -248,11 +252,11 @@ Display settings
Keybindings Keybindings
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">switch_view</span>=<span class="org-string">"Alt+Tab"</span> <pre class="src src-conf"><span class="org-variable-name">switch_view</span>=<span class="org-string">"Alt+Tab"</span>
<span class="org-variable-name">new_bookmark</span>=<span class="org-string">"Alt+n"</span> <span class="org-variable-name">new_bookmark</span>=<span class="org-string">"Alt+n"</span>
<span class="org-variable-name">actions</span>=<span class="org-string">"Alt+a"</span> <span class="org-variable-name">actions</span>=<span class="org-string">"Alt+a"</span>
<span class="org-variable-name">edit</span>=<span class="org-string">"Alt+e"</span> <span class="org-variable-name">edit</span>=<span class="org-string">"Alt+e"</span>
<span class="org-variable-name">delete</span>=<span class="org-string">"Alt+d"</span> <span class="org-variable-name">delete</span>=<span class="org-string">"Alt+d"</span>
</pre> </pre>
</div> </div>
@ -260,7 +264,7 @@ Keybindings
Colors Colors
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">help_color</span>=<span class="org-string">"#2d7ed8"</span> <pre class="src src-conf"><span class="org-variable-name">help_color</span>=<span class="org-string">"#2d7ed8"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -268,7 +272,7 @@ Colors
</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: 2021-01-04 lun. 21:32</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Contact Configuration</title> <title>Contact Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -83,7 +83,7 @@
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Doom Emacs Configuration</title> <title>Doom Emacs Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -905,7 +905,7 @@ $0
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:40</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Git Configuration</title> <title>Git Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -315,7 +315,7 @@ Session.vim
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:40</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>GTK Configuration</title> <title>GTK Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -79,7 +79,7 @@
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>I3 Configuration</title> <title>I3 Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -245,8 +245,11 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Bluetooth Devices"</span>] floating enable <span class="org-variable-name">for_window [title</span>=<span class="org-string">"Bluetooth Devices"</span>] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Simulink Library Browser"</span>] floating enable <span class="org-variable-name">for_window [title</span>=<span class="org-string">"Simulink Library Browser"</span>] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Floating"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position <span class="org-highlight-numbers-number">1100</span> <span class="org-highlight-numbers-number">460</span> <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Floating"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position <span class="org-highlight-numbers-number">1100</span> <span class="org-highlight-numbers-number">460</span>
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"mpv"</span>] floating enable <span class="org-comment-delimiter"># </span><span class="org-comment">Size/Position is defined in mpv.conf</span>
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Sxiv"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position center <span class="org-variable-name">for_window [class</span>=<span class="org-string">"Sxiv"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position center
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"nmtui"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span> <span class="org-variable-name">for_window [title</span>=<span class="org-string">"khal"</span>] floating enable, resize set <span class="org-highlight-numbers-number">600</span> <span class="org-highlight-numbers-number">600</span>, move position center
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"ncmpcpp"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">400</span>, move position center
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"nmtui"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position center
</pre> </pre>
</div> </div>
</div> </div>
@ -288,7 +291,7 @@ exec --no-startup-id polybar top &gt;&gt;/tmp/polybar.log 2&gt;&amp;1 &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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>SXIV Configuration</title> <title>SXIV Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -39,7 +39,7 @@ done
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-04 lun. 21:32 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Dotfiles - Manjaro Linux</title> <title>Dotfiles - Manjaro Linux</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -59,8 +59,13 @@ There are Specific configuration files for:
</ul> </ul>
<p> <p>
I also have a nice Home-Server which configuration files can be found <a href="nas.html">here</a>. I also have:
</p> </p>
<ul class="org-ul">
<li>a nice Home-Server (<a href="nas.html">conf</a>)</li>
<li>a Windows PC that I occasionally use (<a href="windows.html">conf</a>)</li>
<li>an Android phone (<a href="android.html">conf</a>)</li>
</ul>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-03 dim. 22:25 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Installation</title> <title>Installation</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -45,28 +45,28 @@
</li> </li>
<li><a href="#org3faed1a"><code>buku</code> - Bookmark Manager</a> <li><a href="#org3faed1a"><code>buku</code> - Bookmark Manager</a>
<ul> <ul>
<li><a href="#org3456005">Installation</a></li> <li><a href="#orga60529d">Installation</a></li>
<li><a href="#org66b2873">Integration with Rofi</a> <li><a href="#org66b2873">Integration with Rofi</a>
<ul> <ul>
<li><a href="#org907cb1e">Installation</a></li> <li><a href="#org68aae66">Installation</a></li>
<li><a href="#orgf9fc19a">Configuration</a></li> <li><a href="#orgc84e212">Configuration</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org95386c4">Integration with qutebrowser</a></li> <li><a href="#org95386c4">Integration with qutebrowser</a></li>
<li><a href="#org731f2dd">Synchronization with a git repository</a></li> <li><a href="#org731f2dd">Synchronization with a git repository</a></li>
<li><a href="#orgf877133">Import Bookmarks from Firefox and Chrome</a></li> <li><a href="#orgf877133">Import Bookmarks from Firefox and Chrome</a></li>
<li><a href="#orga16f95a">Web Interface</a></li> <li><a href="#orga16f95a">Web Interface</a></li>
<li><a href="#org672ee85">Cheatsheet</a></li> <li><a href="#orgd4263bb">Cheatsheet</a></li>
<li><a href="#org5949612">Alternatives</a></li> <li><a href="#org5949612">Alternatives</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orga55a047"><code>qutebrowser</code> - Browser</a> <li><a href="#orga55a047"><code>qutebrowser</code> - Browser</a>
<ul> <ul>
<li><a href="#orgc4c0b83">Installation</a></li> <li><a href="#orgbb25038">Installation</a></li>
<li><a href="#org39f7a62">View Pdf inside qutebrowser with pdfjs</a> <li><a href="#org39f7a62">View Pdf inside qutebrowser with pdfjs</a>
<ul> <ul>
<li><a href="#org9022cce">Installation</a></li> <li><a href="#org15f7bb0">Installation</a></li>
<li><a href="#org1766e12">Usage</a></li> <li><a href="#org2083266">Usage</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org013ba8f">Integration with Pass: the password manager</a></li> <li><a href="#org013ba8f">Integration with Pass: the password manager</a></li>
@ -99,17 +99,17 @@
</li> </li>
<li><a href="#org3b6c55a"><code>weechat</code> - Chat Application</a> <li><a href="#org3b6c55a"><code>weechat</code> - Chat Application</a>
<ul> <ul>
<li><a href="#org2b698d8">Installation</a></li> <li><a href="#orgbea33e5">Installation</a></li>
<li><a href="#orgce5f866">Enable mouse support</a></li> <li><a href="#orgce5f866">Enable mouse support</a></li>
<li><a href="#org2e3ae2e">Scripts</a></li> <li><a href="#org2e3ae2e">Scripts</a></li>
<li><a href="#orgc35ab72">Theme</a></li> <li><a href="#orgc35ab72">Theme</a></li>
<li><a href="#orgdeb9ac4">Configuration</a></li> <li><a href="#org3be6ef2">Configuration</a></li>
<li><a href="#org1bedc2c">Multi-line messages</a></li> <li><a href="#org1bedc2c">Multi-line messages</a></li>
<li><a href="#orgdabe0b1">Send message using <code>$EDITOR</code></a></li> <li><a href="#orgdabe0b1">Send message using <code>$EDITOR</code></a></li>
<li><a href="#org58be0d2">CheatSheet</a></li> <li><a href="#org58be0d2">CheatSheet</a></li>
<li><a href="#org509ffd4">Slack Integration</a> <li><a href="#org509ffd4">Slack Integration</a>
<ul> <ul>
<li><a href="#org1b81db0">Installation</a></li> <li><a href="#org9289017">Installation</a></li>
<li><a href="#org4e33767">Add your Slack API key(s)</a></li> <li><a href="#org4e33767">Add your Slack API key(s)</a></li>
</ul> </ul>
</li> </li>
@ -123,8 +123,8 @@
<ul> <ul>
<li><a href="#org12c74b1"><code>mbsync</code> - Synchronize Mailboxes</a> <li><a href="#org12c74b1"><code>mbsync</code> - Synchronize Mailboxes</a>
<ul> <ul>
<li><a href="#orgad8fb08">Installation</a></li> <li><a href="#org8469f2c">Installation</a></li>
<li><a href="#org44a1d21">Configuration</a></li> <li><a href="#org1438dad">Configuration</a></li>
<li><a href="#org1ae519a">Automation using systemd</a> <li><a href="#org1ae519a">Automation using systemd</a>
<ul> <ul>
<li><a href="#org0635e65">Retreive New mails</a></li> <li><a href="#org0635e65">Retreive New mails</a></li>
@ -135,16 +135,16 @@
</li> </li>
<li><a href="#org6772b74"><code>msmtp</code> - Send Mails</a> <li><a href="#org6772b74"><code>msmtp</code> - Send Mails</a>
<ul> <ul>
<li><a href="#orgf507b6e">Installation</a></li> <li><a href="#orgabdbb6e">Installation</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org4b6cea1"><code>mu</code> - Mail Index, Search and Tagging</a></li> <li><a href="#org4b6cea1"><code>mu</code> - Mail Index, Search and Tagging</a></li>
<li><a href="#orge78a982"><code>neomutt</code> - Mail Client</a> <li><a href="#orge78a982"><code>neomutt</code> - Mail Client</a>
<ul> <ul>
<li><a href="#org9c967e2">Installation</a></li> <li><a href="#org72a4f49">Installation</a></li>
<li><a href="#org7d3dd45">Display html mails</a></li> <li><a href="#org7d3dd45">Display html mails</a></li>
<li><a href="#org18d6f5c">Open Url from mail</a></li> <li><a href="#org18d6f5c">Open Url from mail</a></li>
<li><a href="#org2e61d03">Ressources</a></li> <li><a href="#org8668b7f">Ressources</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org9998819">Notification system</a></li> <li><a href="#org9998819">Notification system</a></li>
@ -154,8 +154,8 @@
<ul> <ul>
<li><a href="#org79b747c">Ranger</a> <li><a href="#org79b747c">Ranger</a>
<ul> <ul>
<li><a href="#org044fff0">Installation</a></li> <li><a href="#orge600ebe">Installation</a></li>
<li><a href="#org9a2ae60">Configuration</a></li> <li><a href="#org4d7cfe9">Configuration</a></li>
<li><a href="#orga7f1329">Display pdf</a></li> <li><a href="#orga7f1329">Display pdf</a></li>
</ul> </ul>
</li> </li>
@ -164,35 +164,35 @@
</li> </li>
<li><a href="#org0ceb81d"><code>sxiv</code> - Image viewer</a> <li><a href="#org0ceb81d"><code>sxiv</code> - Image viewer</a>
<ul> <ul>
<li><a href="#orgecd8612">Installation</a></li> <li><a href="#org7c2b09c">Installation</a></li>
<li><a href="#org1d4a585">Open Gif</a></li> <li><a href="#org1d4a585">Open Gif</a></li>
<li><a href="#org8b3168a">Cheatsheet</a></li> <li><a href="#org3cf7d23">Cheatsheet</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orga293c83"><code>sxhkd</code> - HotKey Manager</a></li> <li><a href="#orga293c83"><code>sxhkd</code> - HotKey Manager</a></li>
<li><a href="#orgb9ddb93"><code>i3</code> - Windows Manager</a> <li><a href="#orgb9ddb93"><code>i3</code> - Windows Manager</a>
<ul> <ul>
<li><a href="#org91cce94">Installation</a></li> <li><a href="#org37ef10f">Installation</a></li>
<li><a href="#orgc3884fa">Configuration</a></li> <li><a href="#org28433b9">Configuration</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org2021f80"><code>polybar</code> - Top Bar</a> <li><a href="#org2021f80"><code>polybar</code> - Top Bar</a>
<ul> <ul>
<li><a href="#org75e1a8b">Installation</a></li> <li><a href="#orgcd15094">Installation</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgc4420f9"><code>picom</code> - Compositor</a> <li><a href="#orgc4420f9"><code>picom</code> - Compositor</a>
<ul> <ul>
<li><a href="#orgfd7dadc">Installation</a></li> <li><a href="#org6fa1004">Installation</a></li>
<li><a href="#orgb88dbef">Configuration</a></li> <li><a href="#org0e753bb">Configuration</a></li>
<li><a href="#org3eda8aa">Automatic run as daemon</a></li> <li><a href="#org3eda8aa">Automatic run as daemon</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org2f8f940"><code>dunst</code> - Notification Manager</a> <li><a href="#org2f8f940"><code>dunst</code> - Notification Manager</a>
<ul> <ul>
<li><a href="#orgb8aa8f7">Installation</a></li> <li><a href="#org1b888fa">Installation</a></li>
<li><a href="#orga4c3ecc">Configuration</a></li> <li><a href="#org987b1bf">Configuration</a></li>
<li><a href="#org7ffaa1b">Usage</a></li> <li><a href="#orgeb85a3c">Usage</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org4178a17">Office Suite</a> <li><a href="#org4178a17">Office Suite</a>
@ -233,14 +233,14 @@
<li><a href="#org6a8646d"><code>orgmode</code> - Task Manager</a></li> <li><a href="#org6a8646d"><code>orgmode</code> - Task Manager</a></li>
<li><a href="#orga841f53"><code>zathura</code> - PDF Reader</a> <li><a href="#orga841f53"><code>zathura</code> - PDF Reader</a>
<ul> <ul>
<li><a href="#org6c293f5">Installation</a></li> <li><a href="#org1ee2b54">Installation</a></li>
<li><a href="#orgc84e212">Configuration</a></li> <li><a href="#orge029c21">Configuration</a></li>
<li><a href="#orgd4263bb">Cheatsheet</a></li> <li><a href="#org70fcfb3">Cheatsheet</a></li>
<li><a href="#orgf6c7dea">Multi-monitor pdf presentation - pdfpc</a> <li><a href="#orgf6c7dea">Multi-monitor pdf presentation - pdfpc</a>
<ul> <ul>
<li><a href="#orga60529d">Installation</a></li> <li><a href="#org0476127">Installation</a></li>
<li><a href="#orge1b13e7">Video support</a></li> <li><a href="#orge1b13e7">Video support</a></li>
<li><a href="#org2083266">Usage</a></li> <li><a href="#orgc8c0e83">Usage</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -265,7 +265,7 @@
<li><a href="#org64fd10c"><code>anydesk</code> - Remote Desktop</a></li> <li><a href="#org64fd10c"><code>anydesk</code> - Remote Desktop</a></li>
<li><a href="#orgfbeddca"><code>wireguard</code> - VPN</a></li> <li><a href="#orgfbeddca"><code>wireguard</code> - VPN</a></li>
<li><a href="#orgd48246b"><code>nordvpn</code> - VPN</a></li> <li><a href="#orgd48246b"><code>nordvpn</code> - VPN</a></li>
<li><a href="#org35b6f05">Others</a> <li><a href="#org9bb91c2">Others</a>
<ul> <ul>
<li><a href="#orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</a></li> <li><a href="#orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</a></li>
<li><a href="#org72b76b6"><code>screenkey</code> - Show pressed keys</a></li> <li><a href="#org72b76b6"><code>screenkey</code> - Show pressed keys</a></li>
@ -290,7 +290,7 @@
<li><a href="#org317c04c">Completion</a></li> <li><a href="#org317c04c">Completion</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org9bb91c2">Others</a></li> <li><a href="#orgb4a3de0">Others</a></li>
<li><a href="#org042d8d2">Archive and Extract</a></li> <li><a href="#org042d8d2">Archive and Extract</a></li>
<li><a href="#orgd465654">Hardware</a></li> <li><a href="#orgd465654">Hardware</a></li>
<li><a href="#orgd0eebf3">Network</a></li> <li><a href="#orgd0eebf3">Network</a></li>
@ -304,7 +304,7 @@
</ul> </ul>
</li> </li>
<li><a href="#org73b11c0">Some notes - Systemd</a></li> <li><a href="#org73b11c0">Some notes - Systemd</a></li>
<li><a href="#org8668b7f">Ressources</a> <li><a href="#orgcb95e75">Ressources</a>
<ul> <ul>
<li><a href="#org24c5a0a">Dotfiles</a></li> <li><a href="#org24c5a0a">Dotfiles</a></li>
<li><a href="#orgfe7316a">Linux Softwares</a></li> <li><a href="#orgfe7316a">Linux Softwares</a></li>
@ -339,7 +339,7 @@ Installation:
</pre> </pre>
</div> </div>
<table id="org056c3bb" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 1:</span> <code>yay</code> - Cheatsheet</caption> <caption class="t-above"><span class="table-number">Table 1:</span> <code>yay</code> - Cheatsheet</caption>
<colgroup> <colgroup>
@ -457,7 +457,7 @@ It can be installed like so:
Its configuration file is described <a href="termite.html">here</a>. Its configuration file is described <a href="termite.html">here</a>.
</p> </p>
<table id="org51f77c9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 2:</span> <code>termite</code> - Cheatsheet</caption> <caption class="t-above"><span class="table-number">Table 2:</span> <code>termite</code> - Cheatsheet</caption>
<colgroup> <colgroup>
@ -564,7 +564,7 @@ Ressources:
<li><a href="https://thoughtbot.com/upcase/tmux">https://thoughtbot.com/upcase/tmux</a></li> <li><a href="https://thoughtbot.com/upcase/tmux">https://thoughtbot.com/upcase/tmux</a></li>
</ul> </ul>
<table id="orgec55854" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 3:</span> <code>tmux</code> - Cheatsheet</caption> <caption class="t-above"><span class="table-number">Table 3:</span> <code>tmux</code> - Cheatsheet</caption>
<colgroup> <colgroup>
@ -966,9 +966,9 @@ Bitwarden <a href="https://github.com/bitwarden/cli">https://github.com/bitwarde
</p> </p>
</div> </div>
<div id="outline-container-org3456005" class="outline-3"> <div id="outline-container-orga60529d" class="outline-3">
<h3 id="org3456005">Installation</h3> <h3 id="orga60529d">Installation</h3>
<div class="outline-text-3" id="text-org3456005"> <div class="outline-text-3" id="text-orga60529d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S buku <pre class="src src-bash"> yay -S buku
</pre> </pre>
@ -984,9 +984,9 @@ Bitwarden <a href="https://github.com/bitwarden/cli">https://github.com/bitwarde
</p> </p>
</div> </div>
<div id="outline-container-org907cb1e" class="outline-4"> <div id="outline-container-org68aae66" class="outline-4">
<h4 id="org907cb1e">Installation</h4> <h4 id="org68aae66">Installation</h4>
<div class="outline-text-4" id="text-org907cb1e"> <div class="outline-text-4" id="text-org68aae66">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/.local/bin/buku_run <pre class="src src-bash"> wget https://raw.githubusercontent.com/carnager/buku_run/master/buku_run -o ~/.local/bin/buku_run
<span class="org-type">chmod</span> +x ~/.local/bin/buku_run <span class="org-type">chmod</span> +x ~/.local/bin/buku_run
@ -995,9 +995,9 @@ Bitwarden <a href="https://github.com/bitwarden/cli">https://github.com/bitwarde
</div> </div>
</div> </div>
<div id="outline-container-orgf9fc19a" class="outline-4"> <div id="outline-container-orgc84e212" class="outline-4">
<h4 id="orgf9fc19a">Configuration</h4> <h4 id="orgc84e212">Configuration</h4>
<div class="outline-text-4" id="text-orgf9fc19a"> <div class="outline-text-4" id="text-orgc84e212">
<p> <p>
The configuration file is here: <code>~/.config/buku_run/config</code> The configuration file is here: <code>~/.config/buku_run/config</code>
</p> </p>
@ -1074,9 +1074,9 @@ And then browse to <a href="http://127.0.0.1:5001">http://127.0.0.1:5001</a>.
</div> </div>
</div> </div>
<div id="outline-container-org672ee85" class="outline-3"> <div id="outline-container-orgd4263bb" class="outline-3">
<h3 id="org672ee85">Cheatsheet</h3> <h3 id="orgd4263bb">Cheatsheet</h3>
<div class="outline-text-3" id="text-org672ee85"> <div class="outline-text-3" id="text-orgd4263bb">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -1140,9 +1140,9 @@ And then browse to <a href="http://127.0.0.1:5001">http://127.0.0.1:5001</a>.
</p> </p>
</div> </div>
<div id="outline-container-orgc4c0b83" class="outline-3"> <div id="outline-container-orgbb25038" class="outline-3">
<h3 id="orgc4c0b83">Installation</h3> <h3 id="orgbb25038">Installation</h3>
<div class="outline-text-3" id="text-orgc4c0b83"> <div class="outline-text-3" id="text-orgbb25038">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S qutebrowser <pre class="src src-bash"> yay -S qutebrowser
</pre> </pre>
@ -1154,9 +1154,9 @@ And then browse to <a href="http://127.0.0.1:5001">http://127.0.0.1:5001</a>.
<h3 id="org39f7a62">View Pdf inside qutebrowser with pdfjs</h3> <h3 id="org39f7a62">View Pdf inside qutebrowser with pdfjs</h3>
<div class="outline-text-3" id="text-org39f7a62"> <div class="outline-text-3" id="text-org39f7a62">
</div> </div>
<div id="outline-container-org9022cce" class="outline-4"> <div id="outline-container-org15f7bb0" class="outline-4">
<h4 id="org9022cce">Installation</h4> <h4 id="org15f7bb0">Installation</h4>
<div class="outline-text-4" id="text-org9022cce"> <div class="outline-text-4" id="text-org15f7bb0">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S pdfjs <pre class="src src-bash"> yay -S pdfjs
</pre> </pre>
@ -1164,9 +1164,9 @@ And then browse to <a href="http://127.0.0.1:5001">http://127.0.0.1:5001</a>.
</div> </div>
</div> </div>
<div id="outline-container-org1766e12" class="outline-4"> <div id="outline-container-org2083266" class="outline-4">
<h4 id="org1766e12">Usage</h4> <h4 id="org2083266">Usage</h4>
<div class="outline-text-4" id="text-org1766e12"> <div class="outline-text-4" id="text-org2083266">
<p> <p>
When opening a pdf file on qutebrowser, you&rsquo;ll be ask for options: When opening a pdf file on qutebrowser, you&rsquo;ll be ask for options:
</p> </p>
@ -1268,6 +1268,7 @@ Addons:
<li><a href="https://addons.mozilla.org/fr/firefox/addon/ublock-origin/">uBlock Origin</a></li> <li><a href="https://addons.mozilla.org/fr/firefox/addon/ublock-origin/">uBlock Origin</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/">Adblock Plus</a></li> <li><a href="https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/">Adblock Plus</a></li>
<li><a href="https://addons.mozilla.org/fr/firefox/addon/bukubrow/">Bukurow</a></li> <li><a href="https://addons.mozilla.org/fr/firefox/addon/bukubrow/">Bukurow</a></li>
<li><a href="https://addons.mozilla.org/fr/firefox/addon/i-dont-care-about-cookies/">I don&rsquo;t care about cookies</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -1660,9 +1661,9 @@ This looks for contacts in all indexed emails.
</p> </p>
</div> </div>
<div id="outline-container-org2b698d8" class="outline-3"> <div id="outline-container-orgbea33e5" class="outline-3">
<h3 id="org2b698d8">Installation</h3> <h3 id="orgbea33e5">Installation</h3>
<div class="outline-text-3" id="text-org2b698d8"> <div class="outline-text-3" id="text-orgbea33e5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S weechat <pre class="src src-bash"> yay -S weechat
</pre> </pre>
@ -1773,9 +1774,9 @@ Then we install some dependencies
</div> </div>
</div> </div>
<div id="outline-container-orgdeb9ac4" class="outline-3"> <div id="outline-container-org3be6ef2" class="outline-3">
<h3 id="orgdeb9ac4">Configuration</h3> <h3 id="org3be6ef2">Configuration</h3>
<div class="outline-text-3" id="text-orgdeb9ac4"> <div class="outline-text-3" id="text-org3be6ef2">
<p> <p>
<a href="https://hugo.md/post/the-perfect-weechat-setup-2/">https://hugo.md/post/the-perfect-weechat-setup-2/</a> <a href="https://hugo.md/post/the-perfect-weechat-setup-2/">https://hugo.md/post/the-perfect-weechat-setup-2/</a>
<a href="https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway">https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway</a> <a href="https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway">https://robots.thoughtbot.com/weechat-for-slacks-irc-gateway</a>
@ -1880,9 +1881,9 @@ Then, on weechat, type <code>/edit</code>.
</p> </p>
</div> </div>
<div id="outline-container-org1b81db0" class="outline-4"> <div id="outline-container-org9289017" class="outline-4">
<h4 id="org1b81db0">Installation</h4> <h4 id="org9289017">Installation</h4>
<div class="outline-text-4" id="text-org1b81db0"> <div class="outline-text-4" id="text-org9289017">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S python2-websocket-client <pre class="src src-bash"> yay -S python2-websocket-client
</pre> </pre>
@ -1998,9 +1999,9 @@ It runs weechat inside tmux.
</p> </p>
</div> </div>
<div id="outline-container-orgad8fb08" class="outline-4"> <div id="outline-container-org8469f2c" class="outline-4">
<h4 id="orgad8fb08">Installation</h4> <h4 id="org8469f2c">Installation</h4>
<div class="outline-text-4" id="text-orgad8fb08"> <div class="outline-text-4" id="text-org8469f2c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S isync <pre class="src src-bash"> yay -S isync
</pre> </pre>
@ -2008,9 +2009,9 @@ It runs weechat inside tmux.
</div> </div>
</div> </div>
<div id="outline-container-org44a1d21" class="outline-4"> <div id="outline-container-org1438dad" class="outline-4">
<h4 id="org44a1d21">Configuration</h4> <h4 id="org1438dad">Configuration</h4>
<div class="outline-text-4" id="text-org44a1d21"> <div class="outline-text-4" id="text-org1438dad">
<p> <p>
<code>~/.mbsyncrc</code> <code>~/.mbsyncrc</code>
</p> </p>
@ -2064,9 +2065,9 @@ systemctl --user start syncmail.timer
</p> </p>
</div> </div>
<div id="outline-container-orgf507b6e" class="outline-4"> <div id="outline-container-orgabdbb6e" class="outline-4">
<h4 id="orgf507b6e">Installation</h4> <h4 id="orgabdbb6e">Installation</h4>
<div class="outline-text-4" id="text-orgf507b6e"> <div class="outline-text-4" id="text-orgabdbb6e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S msmtp <pre class="src src-bash"> yay -S msmtp
</pre> </pre>
@ -2092,9 +2093,9 @@ systemctl --user start syncmail.timer
</p> </p>
</div> </div>
<div id="outline-container-org9c967e2" class="outline-4"> <div id="outline-container-org72a4f49" class="outline-4">
<h4 id="org9c967e2">Installation</h4> <h4 id="org72a4f49">Installation</h4>
<div class="outline-text-4" id="text-org9c967e2"> <div class="outline-text-4" id="text-org72a4f49">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S neomutt <pre class="src src-bash"> yay -S neomutt
</pre> </pre>
@ -2122,9 +2123,9 @@ systemctl --user start syncmail.timer
</div> </div>
</div> </div>
<div id="outline-container-org2e61d03" class="outline-4"> <div id="outline-container-org8668b7f" class="outline-4">
<h4 id="org2e61d03">Ressources</h4> <h4 id="org8668b7f">Ressources</h4>
<div class="outline-text-4" id="text-org2e61d03"> <div class="outline-text-4" id="text-org8668b7f">
<ul class="org-ul"> <ul class="org-ul">
<li><a href="http://therandymon.com/woodnotes/mutt/using-mutt.html">http://therandymon.com/woodnotes/mutt/using-mutt.html</a></li> <li><a href="http://therandymon.com/woodnotes/mutt/using-mutt.html">http://therandymon.com/woodnotes/mutt/using-mutt.html</a></li>
<li><a href="https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html">https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html</a></li> <li><a href="https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html">https://ankursinha.in/2017/12/16/transitioning-to-neomutt-and-friends-for-e-mail.html</a></li>
@ -2163,9 +2164,9 @@ Configuration files:
<a href="https://github.com/ranger/ranger">https://github.com/ranger/ranger</a> <a href="https://github.com/ranger/ranger">https://github.com/ranger/ranger</a>
</p> </p>
</div> </div>
<div id="outline-container-org044fff0" class="outline-4"> <div id="outline-container-orge600ebe" class="outline-4">
<h4 id="org044fff0">Installation</h4> <h4 id="orge600ebe">Installation</h4>
<div class="outline-text-4" id="text-org044fff0"> <div class="outline-text-4" id="text-orge600ebe">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">yay -S ranger <pre class="src src-bash">yay -S ranger
</pre> </pre>
@ -2173,9 +2174,9 @@ Configuration files:
</div> </div>
</div> </div>
<div id="outline-container-org9a2ae60" class="outline-4"> <div id="outline-container-org4d7cfe9" class="outline-4">
<h4 id="org9a2ae60">Configuration</h4> <h4 id="org4d7cfe9">Configuration</h4>
<div class="outline-text-4" id="text-org9a2ae60"> <div class="outline-text-4" id="text-org4d7cfe9">
<p> <p>
The configuration file is <code>~/.config/ranger/rc.conf</code>. The configuration file is <code>~/.config/ranger/rc.conf</code>.
</p> </p>
@ -2219,9 +2220,9 @@ It works better with Urxvt.
</p> </p>
</div> </div>
<div id="outline-container-orgecd8612" class="outline-3"> <div id="outline-container-org7c2b09c" class="outline-3">
<h3 id="orgecd8612">Installation</h3> <h3 id="org7c2b09c">Installation</h3>
<div class="outline-text-3" id="text-orgecd8612"> <div class="outline-text-3" id="text-org7c2b09c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S sxiv <pre class="src src-bash"> yay -S sxiv
</pre> </pre>
@ -2239,9 +2240,9 @@ It works better with Urxvt.
</div> </div>
</div> </div>
<div id="outline-container-org8b3168a" class="outline-3"> <div id="outline-container-org3cf7d23" class="outline-3">
<h3 id="org8b3168a">Cheatsheet</h3> <h3 id="org3cf7d23">Cheatsheet</h3>
<div class="outline-text-3" id="text-org8b3168a"> <div class="outline-text-3" id="text-org3cf7d23">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -2314,9 +2315,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p> </p>
</div> </div>
<div id="outline-container-org91cce94" class="outline-3"> <div id="outline-container-org37ef10f" class="outline-3">
<h3 id="org91cce94">Installation</h3> <h3 id="org37ef10f">Installation</h3>
<div class="outline-text-3" id="text-org91cce94"> <div class="outline-text-3" id="text-org37ef10f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S i3-gaps <pre class="src src-bash"> yay -S i3-gaps
</pre> </pre>
@ -2324,9 +2325,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</div> </div>
</div> </div>
<div id="outline-container-orgc3884fa" class="outline-3"> <div id="outline-container-org28433b9" class="outline-3">
<h3 id="orgc3884fa">Configuration</h3> <h3 id="org28433b9">Configuration</h3>
<div class="outline-text-3" id="text-orgc3884fa"> <div class="outline-text-3" id="text-org28433b9">
<p> <p>
<code>~/.i3/config</code> <code>~/.i3/config</code>
</p> </p>
@ -2346,9 +2347,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p> </p>
</div> </div>
<div id="outline-container-org75e1a8b" class="outline-3"> <div id="outline-container-orgcd15094" class="outline-3">
<h3 id="org75e1a8b">Installation</h3> <h3 id="orgcd15094">Installation</h3>
<div class="outline-text-3" id="text-org75e1a8b"> <div class="outline-text-3" id="text-orgcd15094">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S polybar <pre class="src src-bash"> yay -S polybar
</pre> </pre>
@ -2369,9 +2370,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p> </p>
</div> </div>
<div id="outline-container-orgfd7dadc" class="outline-3"> <div id="outline-container-org6fa1004" class="outline-3">
<h3 id="orgfd7dadc">Installation</h3> <h3 id="org6fa1004">Installation</h3>
<div class="outline-text-3" id="text-orgfd7dadc"> <div class="outline-text-3" id="text-org6fa1004">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S picom <pre class="src src-bash"> yay -S picom
</pre> </pre>
@ -2379,9 +2380,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</div> </div>
</div> </div>
<div id="outline-container-orgb88dbef" class="outline-3"> <div id="outline-container-org0e753bb" class="outline-3">
<h3 id="orgb88dbef">Configuration</h3> <h3 id="org0e753bb">Configuration</h3>
<div class="outline-text-3" id="text-orgb88dbef"> <div class="outline-text-3" id="text-org0e753bb">
<p> <p>
<code>~/.config/picom/picom.conf</code> <code>~/.config/picom/picom.conf</code>
</p> </p>
@ -2411,9 +2412,9 @@ Compton is run from <code>.xprofile</code> config in the background:
</p> </p>
</div> </div>
<div id="outline-container-orgb8aa8f7" class="outline-3"> <div id="outline-container-org1b888fa" class="outline-3">
<h3 id="orgb8aa8f7">Installation</h3> <h3 id="org1b888fa">Installation</h3>
<div class="outline-text-3" id="text-orgb8aa8f7"> <div class="outline-text-3" id="text-org1b888fa">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S dunst dunstify <pre class="src src-bash"> yay -S dunst dunstify
</pre> </pre>
@ -2421,18 +2422,18 @@ Compton is run from <code>.xprofile</code> config in the background:
</div> </div>
</div> </div>
<div id="outline-container-orga4c3ecc" class="outline-3"> <div id="outline-container-org987b1bf" class="outline-3">
<h3 id="orga4c3ecc">Configuration</h3> <h3 id="org987b1bf">Configuration</h3>
<div class="outline-text-3" id="text-orga4c3ecc"> <div class="outline-text-3" id="text-org987b1bf">
<p> <p>
<code>~/.config/dunst/dunstrc</code> <code>~/.config/dunst/dunstrc</code>
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-org7ffaa1b" class="outline-3"> <div id="outline-container-orgeb85a3c" class="outline-3">
<h3 id="org7ffaa1b">Usage</h3> <h3 id="orgeb85a3c">Usage</h3>
<div class="outline-text-3" id="text-org7ffaa1b"> <div class="outline-text-3" id="text-orgeb85a3c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> dunstify --replace=<span class="org-highlight-numbers-number">16549</span> <span class="org-string">"AppName"</span> <span class="org-string">"Message"</span> <pre class="src src-bash"> dunstify --replace=<span class="org-highlight-numbers-number">16549</span> <span class="org-string">"AppName"</span> <span class="org-string">"Message"</span>
</pre> </pre>
@ -2879,9 +2880,9 @@ Configuration:
<a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a> <a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a>
</p> </p>
</div> </div>
<div id="outline-container-org6c293f5" class="outline-3"> <div id="outline-container-org1ee2b54" class="outline-3">
<h3 id="org6c293f5">Installation</h3> <h3 id="org1ee2b54">Installation</h3>
<div class="outline-text-3" id="text-org6c293f5"> <div class="outline-text-3" id="text-org1ee2b54">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S zathura <pre class="src src-bash"> yay -S zathura
</pre> </pre>
@ -2901,18 +2902,18 @@ It seems that mupdf is better that poppler to view pdf.
</div> </div>
</div> </div>
<div id="outline-container-orgc84e212" class="outline-3"> <div id="outline-container-orge029c21" class="outline-3">
<h3 id="orgc84e212">Configuration</h3> <h3 id="orge029c21">Configuration</h3>
<div class="outline-text-3" id="text-orgc84e212"> <div class="outline-text-3" id="text-orge029c21">
<p> <p>
<code>~/.config/zathura/zathurarc</code> <code>~/.config/zathura/zathurarc</code>
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-orgd4263bb" class="outline-3"> <div id="outline-container-org70fcfb3" class="outline-3">
<h3 id="orgd4263bb">Cheatsheet</h3> <h3 id="org70fcfb3">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgd4263bb"> <div class="outline-text-3" id="text-org70fcfb3">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -3015,9 +3016,9 @@ pdfpc is a great tool for showing pdf presentations. It support:
</ul> </ul>
</div> </div>
<div id="outline-container-orga60529d" class="outline-4"> <div id="outline-container-org0476127" class="outline-4">
<h4 id="orga60529d">Installation</h4> <h4 id="org0476127">Installation</h4>
<div class="outline-text-4" id="text-orga60529d"> <div class="outline-text-4" id="text-org0476127">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S pdfpc <pre class="src src-bash"> yay -S pdfpc
</pre> </pre>
@ -3035,9 +3036,9 @@ pdfpc is a great tool for showing pdf presentations. It support:
</div> </div>
</div> </div>
<div id="outline-container-org2083266" class="outline-4"> <div id="outline-container-orgc8c0e83" class="outline-4">
<h4 id="org2083266">Usage</h4> <h4 id="orgc8c0e83">Usage</h4>
<div class="outline-text-4" id="text-org2083266"> <div class="outline-text-4" id="text-orgc8c0e83">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> pdfpc filename.pdf <pre class="src src-bash"> pdfpc filename.pdf
</pre> </pre>
@ -3301,9 +3302,9 @@ Configuration:
</div> </div>
</div> </div>
<div id="outline-container-org35b6f05" class="outline-2"> <div id="outline-container-org9bb91c2" class="outline-2">
<h2 id="org35b6f05">Others</h2> <h2 id="org9bb91c2">Others</h2>
<div class="outline-text-2" id="text-org35b6f05"> <div class="outline-text-2" id="text-org9bb91c2">
</div> </div>
<div id="outline-container-orgf054688" class="outline-3"> <div id="outline-container-orgf054688" class="outline-3">
<h3 id="orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</h3> <h3 id="orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</h3>
@ -3775,9 +3776,9 @@ Using command line:
</div> </div>
</div> </div>
<div id="outline-container-org9bb91c2" class="outline-3"> <div id="outline-container-orgb4a3de0" class="outline-3">
<h3 id="org9bb91c2">Others</h3> <h3 id="orgb4a3de0">Others</h3>
<div class="outline-text-3" id="text-org9bb91c2"> <div class="outline-text-3" id="text-orgb4a3de0">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -4100,9 +4101,9 @@ To see next timers
</div> </div>
</div> </div>
<div id="outline-container-org8668b7f" class="outline-2"> <div id="outline-container-orgcb95e75" class="outline-2">
<h2 id="org8668b7f">Ressources</h2> <h2 id="orgcb95e75">Ressources</h2>
<div class="outline-text-2" id="text-org8668b7f"> <div class="outline-text-2" id="text-orgcb95e75">
</div> </div>
<div id="outline-container-org24c5a0a" class="outline-3"> <div id="outline-container-org24c5a0a" class="outline-3">
<h3 id="org24c5a0a">Dotfiles</h3> <h3 id="org24c5a0a">Dotfiles</h3>
@ -4170,6 +4171,11 @@ To see next timers
<td class="org-left">Synchronize calendars and contacts</td> <td class="org-left">Synchronize calendars and contacts</td>
</tr> </tr>
<tr>
<td class="org-left"><code>abook</code></td>
<td class="org-left">Address book with mutt support</td>
</tr>
<tr> <tr>
<td class="org-left"><code>urlview</code></td> <td class="org-left"><code>urlview</code></td>
<td class="org-left">URL extractor/launcher</td> <td class="org-left">URL extractor/launcher</td>
@ -4181,12 +4187,7 @@ To see next timers
</tr> </tr>
<tr> <tr>
<td class="org-left"><code>abook</code></td> <td class="org-left"><code>lynx</code></td>
<td class="org-left">Address book with mutt support</td>
</tr>
<tr>
<td class="org-left"><code>elinks</code></td>
<td class="org-left">Text mode web browser</td> <td class="org-left">Text mode web browser</td>
</tr> </tr>
@ -4474,6 +4475,11 @@ To see next timers
<td class="org-left"><code>pandoc</code></td> <td class="org-left"><code>pandoc</code></td>
<td class="org-left">Swiss-army knife of markup format conversion</td> <td class="org-left">Swiss-army knife of markup format conversion</td>
</tr> </tr>
<tr>
<td class="org-left"><code>uni</code></td>
<td class="org-left">Query the Unicode database from the commandline</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -4482,7 +4488,7 @@ To see next timers
</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: 2021-01-03 dim. 22:25</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Matlab Configuration</title> <title>Matlab Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -307,7 +307,7 @@ Import a nice color scheme.
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-03 dim. 22:25 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Music/Sound Configuration</title> <title>Music/Sound Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -40,14 +40,14 @@
<h2 id="pavucontrol"><code>pavucontrol</code> - Volume Control</h2> <h2 id="pavucontrol"><code>pavucontrol</code> - Volume Control</h2>
<div class="outline-text-2" id="text-pavucontrol"> <div class="outline-text-2" id="text-pavucontrol">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> [<span class="org-type">window</span>] <pre class="src src-conf">[<span class="org-type">window</span>]
<span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span> <span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span>
<span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span> <span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span>
<span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -57,36 +57,36 @@
<h2 id="mopidy"><code>mopidy</code> - Music Server</h2> <h2 id="mopidy"><code>mopidy</code> - Music Server</h2>
<div class="outline-text-2" id="text-mopidy"> <div class="outline-text-2" id="text-mopidy">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> [<span class="org-type">spotify</span>] <pre class="src src-conf">[<span class="org-type">spotify</span>]
<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> = 9dd02534-f038-46d8-946e-bfe72498204e <span class="org-variable-name">client_id</span> = 9dd02534-f038-46d8-946e-bfe72498204e
<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">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>]
<span class="org-variable-name">enabled</span> = true <span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">hostname</span> = 127.0.0.1 <span class="org-variable-name">hostname</span> = 127.0.0.1
<span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span> <span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">password</span> = <span class="org-variable-name">password</span> =
<span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span> <span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span>
<span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span> <span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span>
<span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname <span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname
<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">jellyfin</span>] [<span class="org-type">jellyfin</span>]
<span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz/ <span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz/
<span class="org-variable-name">username</span> = tdehaeze <span class="org-variable-name">username</span> = tdehaeze
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"music.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt; <span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"music.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
<span class="org-variable-name">libraries</span> = Music <span class="org-variable-name">libraries</span> = Music
<span class="org-variable-name">albumartistsort</span> = True <span class="org-variable-name">albumartistsort</span> = True
<span class="org-variable-name">album_format</span> = {ProductionYear} - {Name} <span class="org-variable-name">album_format</span> = {ProductionYear} - {Name}
[<span class="org-type">file</span>] [<span class="org-type">file</span>]
<span class="org-variable-name">enabled</span> = true <span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music <span class="org-variable-name">media_dirs</span> = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> = <span class="org-variable-name">excluded_file_extensions</span> =
.db .db
.directory .directory
.html .html
@ -119,7 +119,7 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
Configuration directory. Configuration directory.
</p> </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>
@ -127,9 +127,9 @@ Configuration directory.
MPD Configuration. MPD Configuration.
</p> </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 <span class="org-variable-name">mpd_music_dir</span> = ~/Music
</pre> </pre>
</div> </div>
@ -137,7 +137,7 @@ MPD Configuration.
Notification of song change. Notification of song change.
</p> </p>
<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>
</div> </div>
@ -145,11 +145,11 @@ Notification of song change.
Better user interface Better user interface
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">user_interface</span> = <span class="org-string">"alternative"</span> <pre class="src src-conf"><span class="org-variable-name">user_interface</span> = <span class="org-string">"alternative"</span>
<span class="org-variable-name">playlist_editor_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">playlist_editor_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">search_engine_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">search_engine_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">browser_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">browser_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">playlist_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">playlist_display_mode</span> = <span class="org-string">"columns"</span>
</pre> </pre>
</div> </div>
@ -157,13 +157,13 @@ Better user interface
Sorting by tracking number and then title Sorting by tracking number and then title
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">browser_sort_mode</span> = <span class="org-string">"format"</span> <pre class="src src-conf"><span class="org-variable-name">browser_sort_mode</span> = <span class="org-string">"format"</span>
<span class="org-variable-name">browser_sort_format</span> = <span class="org-string">'{%n - %t}|{%t}'</span> <span class="org-variable-name">browser_sort_format</span> = <span class="org-string">'{%n - %t}|{%t}'</span>
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">ask_before_clearing_playlists</span> = <span class="org-string">"no"</span> <pre class="src src-conf"><span class="org-variable-name">ask_before_clearing_playlists</span> = <span class="org-string">"no"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -173,41 +173,41 @@ Sorting by tracking number and then title
<h3 id="orga43b7ae">Bindings</h3> <h3 id="orga43b7ae">Bindings</h3>
<div class="outline-text-3" id="text-orga43b7ae"> <div class="outline-text-3" id="text-orga43b7ae">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> def_key <span class="org-string">"q"</span> <pre class="src src-conf">def_key <span class="org-string">"q"</span>
run_external_command <span class="org-string">"sh -c 'if [ $TMUX ] ; then tmux detach; fi'"</span> run_external_command <span class="org-string">"sh -c 'if [ $TMUX ] ; then tmux detach; fi'"</span>
def_key <span class="org-string">"Q"</span> def_key <span class="org-string">"Q"</span>
quit quit
def_key <span class="org-string">"g"</span> def_key <span class="org-string">"g"</span>
move_home move_home
def_key <span class="org-string">"G"</span> def_key <span class="org-string">"G"</span>
move_end move_end
def_key <span class="org-string">"j"</span> def_key <span class="org-string">"j"</span>
scroll_down scroll_down
def_key <span class="org-string">"k"</span> def_key <span class="org-string">"k"</span>
scroll_up scroll_up
def_key <span class="org-string">"ctrl-u"</span> def_key <span class="org-string">"ctrl-u"</span>
page_up page_up
def_key <span class="org-string">"ctrl-d"</span> def_key <span class="org-string">"ctrl-d"</span>
page_down page_down
def_key <span class="org-string">"l"</span> def_key <span class="org-string">"l"</span>
enter_directory enter_directory
def_key <span class="org-string">"h"</span> def_key <span class="org-string">"h"</span>
jump_to_parent_directory jump_to_parent_directory
def_key <span class="org-string">"."</span> def_key <span class="org-string">"."</span>
show_lyrics show_lyrics
def_key <span class="org-string">"n"</span> def_key <span class="org-string">"n"</span>
next_found_item next_found_item
def_key <span class="org-string">"N"</span> def_key <span class="org-string">"N"</span>
previous_found_item previous_found_item
def_key <span class="org-string">"J"</span> def_key <span class="org-string">"J"</span>
move_sort_order_down move_sort_order_down
def_key <span class="org-string">"K"</span> def_key <span class="org-string">"K"</span>
move_sort_order_up move_sort_order_up
def_key <span class="org-string">"d"</span> def_key <span class="org-string">"d"</span>
delete_playlist_items delete_playlist_items
def_key <span class="org-string">"+"</span> def_key <span class="org-string">"+"</span>
volume_up volume_up
def_key <span class="org-string">"-"</span> def_key <span class="org-string">"-"</span>
volume_down volume_down
</pre> </pre>
@ -224,14 +224,14 @@ Sorting by tracking number and then title
</p> </p>
<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 art_filename: cover
import: import:
move: yes move: yes
plugins: fromfilename discogs plugins: fromfilename discogs
</pre> </pre>
</div> </div>
</div> </div>
@ -241,26 +241,26 @@ Sorting by tracking number and then title
<h2 id="curseradio"><code>curseradio</code> - Radio with curseradio</h2> <h2 id="curseradio"><code>curseradio</code> - Radio with curseradio</h2>
<div class="outline-text-2" id="text-curseradio"> <div class="outline-text-2" id="text-curseradio">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> [<span class="org-type">opml</span>] <pre class="src src-conf">[<span class="org-type">opml</span>]
<span class="org-variable-name">root</span> = http://opml.radiotime.com/ <span class="org-variable-name">root</span> = http://opml.radiotime.com/
[<span class="org-type">playback</span>] [<span class="org-type">playback</span>]
<span class="org-variable-name">command</span> = /usr/bin/mpv <span class="org-variable-name">command</span> = /usr/bin/mpv
[<span class="org-type">interface</span>] [<span class="org-type">interface</span>]
<span class="org-variable-name">keymap</span> = vi <span class="org-variable-name">keymap</span> = vi
[<span class="org-type">keymap.vi</span>] [<span class="org-type">keymap.vi</span>]
<span class="org-variable-name">up</span> = k <span class="org-variable-name">up</span> = k
<span class="org-variable-name">down</span> = j <span class="org-variable-name">down</span> = j
<span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">end</span> = $ <span class="org-variable-name">end</span> = $
<span class="org-variable-name">pageup</span> = u <span class="org-variable-name">pageup</span> = u
<span class="org-variable-name">pagedown</span> = d <span class="org-variable-name">pagedown</span> = d
<span class="org-variable-name">enter</span> = l <span class="org-variable-name">enter</span> = l
<span class="org-variable-name">stop</span> = p <span class="org-variable-name">stop</span> = p
<span class="org-variable-name">exit</span> = q <span class="org-variable-name">exit</span> = q
<span class="org-variable-name">favourite</span> = f <span class="org-variable-name">favourite</span> = f
</pre> </pre>
</div> </div>
</div> </div>
@ -268,7 +268,7 @@ Sorting by tracking number and then title
</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: 2021-01-03 dim. 22:25</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Polybar Configuration</title> <title>Polybar Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -61,12 +61,6 @@
<li><a href="#org42979cb">Toggle Redshift</a></li> <li><a href="#org42979cb">Toggle Redshift</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org6f8b363">NordVPN</a>
<ul>
<li><a href="#org4effa5e">Nordvpn Status script</a></li>
<li><a href="#org4e1d6b0">Nordvpn Toggle</a></li>
</ul>
</li>
<li><a href="#orgaca766b">Packages</a> <li><a href="#orgaca766b">Packages</a>
<ul> <ul>
<li><a href="#org3d928b2">Packages Status script</a></li> <li><a href="#org3d928b2">Packages Status script</a></li>
@ -99,6 +93,12 @@
<li><a href="#orgac4e24e"><code>bluetooth-toggle.sh</code> - Toggle Bluetooth Connection</a></li> <li><a href="#orgac4e24e"><code>bluetooth-toggle.sh</code> - Toggle Bluetooth Connection</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org6f8b363">NordVPN</a>
<ul>
<li><a href="#org4effa5e">Nordvpn Status script</a></li>
<li><a href="#org4e1d6b0">Nordvpn Toggle</a></li>
</ul>
</li>
<li><a href="#orgb2ea4f9">Wireguard</a> <li><a href="#orgb2ea4f9">Wireguard</a>
<ul> <ul>
<li><a href="#orgab5de35">Wireguard Connection Status</a></li> <li><a href="#orgab5de35">Wireguard Connection Status</a></li>
@ -591,13 +591,13 @@ checkmail -q &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<h3 id="orgab7b816">Unread News Scripts</h3> <h3 id="orgab7b816">Unread News Scripts</h3>
<div class="outline-text-3" id="text-orgab7b816"> <div class="outline-text-3" id="text-orgab7b816">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">news_nb</span>=<span class="org-sh-quoted-exec">`newsboat -x print-unread 2&gt;/dev/null | cut -d " " -f1`</span> <pre class="src src-bash"><span class="org-variable-name">news_nb</span>=<span class="org-sh-quoted-exec">`newsboat -x print-unread 2&gt;/dev/null | cut -d " " -f1`</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">news_nb</span></span><span class="org-string">"</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">news_nb</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-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">news_nb</span></span><span class="org-string">"</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">news_nb</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">"&#61930;"</span>; <span class="org-type">echo</span> <span class="org-string">"&#61930;"</span>;
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-type">echo</span> <span class="org-string">"%{F#859900}&#61930; </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">news_nb</span></span><span class="org-string">%{F-}"</span>; <span class="org-type">echo</span> <span class="org-string">"%{F#859900}&#61930; </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">news_nb</span></span><span class="org-string">%{F-}"</span>;
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -739,48 +739,6 @@ checkmail -q &amp;&amp; <span class="org-sh-escaped-newline">\</span>
</div> </div>
</div> </div>
<div id="outline-container-org6f8b363" class="outline-2">
<h2 id="org6f8b363">NordVPN</h2>
<div class="outline-text-2" id="text-org6f8b363">
<div class="org-src-container">
<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">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.local/bin/nordvpn-toggle &gt;/dev/null 2&gt;%1 &amp;
<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">interval</span> = <span class="org-highlight-numbers-number">2</span>
</pre>
</div>
</div>
<div id="outline-container-org4effa5e" class="outline-3">
<h3 id="org4effa5e">Nordvpn Status script</h3>
<div class="outline-text-3" id="text-org4effa5e">
<div class="org-src-container">
<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> -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-type">echo</span> <span class="org-string">"%{F#859900}&#63022;%{F-}"</span>;
<span class="org-keyword">else</span>
<span class="org-type">echo</span> <span class="org-string">"&#63022;"</span>;
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org4e1d6b0" class="outline-3">
<h3 id="org4e1d6b0">Nordvpn Toggle</h3>
<div class="outline-text-3" id="text-org4e1d6b0">
<p>
The script is accessible <a href="binaries.html#nordvpn-toggle">here</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-orgaca766b" class="outline-2"> <div id="outline-container-orgaca766b" class="outline-2">
<h2 id="orgaca766b">Packages</h2> <h2 id="orgaca766b">Packages</h2>
<div class="outline-text-2" id="text-orgaca766b"> <div class="outline-text-2" id="text-orgaca766b">
@ -824,12 +782,13 @@ The script is accessible <a href="binaries.html#nordvpn-toggle">here</a>.
<pre class="src src-bash">dunstify --replace=<span class="org-highlight-numbers-number">64654</span> <span class="org-string">'Packages &#62211;'</span> <span class="org-string">"Refreshing..."</span> <pre class="src src-bash">dunstify --replace=<span class="org-highlight-numbers-number">64654</span> <span class="org-string">'Packages &#62211;'</span> <span class="org-string">"Refreshing..."</span>
yay -Sy &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> yay -Sy &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-variable-name">package_nb</span>=<span class="org-sh-quoted-exec">`yay -Qu 2&gt; /dev/null | wc -l`</span>; <span class="org-variable-name">package_nb</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">yay</span> -Qu <span class="org-highlight-numbers-number">2</span>&gt; /dev/null | wc -l<span class="org-rainbow-delimiters-depth-1">)</span> || <span class="org-sh-escaped-newline">\</span>
<span class="org-variable-name">package_nb</span>=<span class="org-highlight-numbers-number">0</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">package_nb</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-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">package_nb</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>
dunstify --replace=<span class="org-highlight-numbers-number">64654</span> <span class="org-string">'Packages &#62211;'</span> <span class="org-string">"No upgrade available"</span> dunstify --replace=<span class="org-highlight-numbers-number">64654</span> <span class="org-string">'Packages &#62211;'</span> <span class="org-string">"No upgrade available"</span>
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
dunstify --replace=<span class="org-highlight-numbers-number">64654</span> <span class="org-string">'Packages &#62211;'</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">package_nb</span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string"> upgrade(s) available"</span> dunstify --replace=<span class="org-highlight-numbers-number">64654</span> <span class="org-string">'Packages &#62211;'</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">package_nb</span></span><span class="org-string"> upgrade(s) available"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
@ -1095,6 +1054,48 @@ yay -Sy &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&a
</div> </div>
</div> </div>
<div id="outline-container-org6f8b363" class="outline-2">
<h2 id="org6f8b363">NordVPN</h2>
<div class="outline-text-2" id="text-org6f8b363">
<div class="org-src-container">
<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">format-underline</span> = ${colors.bg}
<span class="org-variable-name">click-left</span> = ~/.local/bin/nordvpn-toggle &gt;/dev/null 2&gt;%1 &amp;
<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">interval</span> = <span class="org-highlight-numbers-number">2</span>
</pre>
</div>
</div>
<div id="outline-container-org4effa5e" class="outline-3">
<h3 id="org4effa5e">Nordvpn Status script</h3>
<div class="outline-text-3" id="text-org4effa5e">
<div class="org-src-container">
<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> -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-type">echo</span> <span class="org-string">"%{F#859900}&#63022;%{F-}"</span>;
<span class="org-keyword">else</span>
<span class="org-type">echo</span> <span class="org-string">"&#63022;"</span>;
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org4e1d6b0" class="outline-3">
<h3 id="org4e1d6b0">Nordvpn Toggle</h3>
<div class="outline-text-3" id="text-org4e1d6b0">
<p>
The script is accessible <a href="binaries.html#nordvpn-toggle">here</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-orgb2ea4f9" class="outline-2"> <div id="outline-container-orgb2ea4f9" class="outline-2">
<h2 id="orgb2ea4f9">Wireguard</h2> <h2 id="orgb2ea4f9">Wireguard</h2>
<div class="outline-text-2" id="text-orgb2ea4f9"> <div class="outline-text-2" id="text-orgb2ea4f9">
@ -1219,7 +1220,7 @@ yay -Sy &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&a
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-03 dim. 22:19 --> <!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Qutebrowser Configuration</title> <title>Qutebrowser Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -61,10 +61,10 @@
<h2 id="orgbf1db67">Import</h2> <h2 id="orgbf1db67">Import</h2>
<div class="outline-text-2" id="text-orgbf1db67"> <div class="outline-text-2" id="text-orgbf1db67">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-keyword">from</span> qutebrowser.config.configfiles <span class="org-keyword">import</span> ConfigAPI <pre class="src src-python"><span class="org-keyword">from</span> qutebrowser.config.configfiles <span class="org-keyword">import</span> ConfigAPI
<span class="org-keyword">from</span> qutebrowser.config.config <span class="org-keyword">import</span> ConfigContainer <span class="org-keyword">from</span> qutebrowser.config.config <span class="org-keyword">import</span> ConfigContainer
<span class="org-keyword">import</span> sys, os <span class="org-keyword">import</span> sys, os
</pre> </pre>
</div> </div>
</div> </div>
@ -74,10 +74,10 @@
<h2 id="org5c0c4c4">General config</h2> <h2 id="org5c0c4c4">General config</h2>
<div class="outline-text-2" id="text-org5c0c4c4"> <div class="outline-text-2" id="text-org5c0c4c4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <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>} <pre class="src src-python"><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-variable-name">c.auto_save.session</span> = <span class="org-constant">False</span> <span class="org-variable-name">c.auto_save.session</span> = <span class="org-constant">False</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-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>
</div> </div>
@ -87,13 +87,13 @@
<h2 id="org0471984">Content</h2> <h2 id="org0471984">Content</h2>
<div class="outline-text-2" id="text-org0471984"> <div class="outline-text-2" id="text-org0471984">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-variable-name">c.content.autoplay</span> = <span class="org-constant">False</span> <pre class="src src-python"><span class="org-variable-name">c.content.autoplay</span> = <span class="org-constant">False</span>
<span class="org-variable-name">c.content.notifications</span> = <span class="org-constant">False</span> <span class="org-variable-name">c.content.notifications</span> = <span class="org-constant">False</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-variable-name">c.content.javascript.alert</span> = <span class="org-constant">True</span> <span class="org-variable-name">c.content.javascript.alert</span> = <span class="org-constant">True</span>
<span class="org-variable-name">c.content.javascript.can_access_clipboard</span> = <span class="org-constant">True</span> <span class="org-variable-name">c.content.javascript.can_access_clipboard</span> = <span class="org-constant">True</span>
<span class="org-variable-name">c.content.pdfjs</span> = <span class="org-constant">False</span> <span class="org-variable-name">c.content.pdfjs</span> = <span class="org-constant">False</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>
</div> </div>
@ -103,7 +103,7 @@
<h2 id="org9d328f1">Editor</h2> <h2 id="org9d328f1">Editor</h2>
<div class="outline-text-2" id="text-org9d328f1"> <div class="outline-text-2" id="text-org9d328f1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-variable-name">c.editor.command</span> = [<span class="org-string">'/usr/bin/termite'</span>, <span class="org-string">'--class="Floating"'</span>, <span class="org-string">'-e'</span>, <span class="org-string">'nvim {}'</span>] <pre class="src src-python"><span class="org-variable-name">c.editor.command</span> = [<span class="org-string">'/usr/bin/termite'</span>, <span class="org-string">'--class="Floating"'</span>, <span class="org-string">'-e'</span>, <span class="org-string">'nvim {}'</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -113,12 +113,12 @@
<h2 id="org2f9fab8">Downloads</h2> <h2 id="org2f9fab8">Downloads</h2>
<div class="outline-text-2" id="text-org2f9fab8"> <div class="outline-text-2" id="text-org2f9fab8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-variable-name">c.downloads.location.directory</span> = <span class="org-string">'$HOME/Downloads/'</span> <pre class="src src-python"><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.prompt</span> = <span class="org-constant">True</span> <span class="org-variable-name">c.downloads.location.prompt</span> = <span class="org-constant">True</span>
<span class="org-variable-name">c.downloads.location.remember</span> = <span class="org-constant">True</span> <span class="org-variable-name">c.downloads.location.remember</span> = <span class="org-constant">True</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-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-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>
</div> </div>
@ -128,7 +128,7 @@
<h2 id="org8e4c9d3">Colors</h2> <h2 id="org8e4c9d3">Colors</h2>
<div class="outline-text-2" id="text-org8e4c9d3"> <div class="outline-text-2" id="text-org8e4c9d3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-comment-delimiter"># </span><span class="org-comment">c.colors.webpage.darkmode.enabled = True</span> <pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">c.colors.webpage.darkmode.enabled = True</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -138,9 +138,9 @@
<h2 id="org945a9d5">Fonts</h2> <h2 id="org945a9d5">Fonts</h2>
<div class="outline-text-2" id="text-org945a9d5"> <div class="outline-text-2" id="text-org945a9d5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <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>] <pre class="src src-python"><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.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-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>
</pre> </pre>
</div> </div>
</div> </div>
@ -150,10 +150,11 @@
<h2 id="org9d6e7d9">Input</h2> <h2 id="org9d6e7d9">Input</h2>
<div class="outline-text-2" id="text-org9d6e7d9"> <div class="outline-text-2" id="text-org9d6e7d9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> c.<span class="org-builtin">input</span>.insert_mode.auto_enter = <span class="org-constant">True</span> <pre class="src src-python">c.<span class="org-builtin">input</span>.insert_mode.auto_enter = <span class="org-constant">True</span>
c.<span class="org-builtin">input</span>.insert_mode.auto_leave = <span class="org-constant">True</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Very annoying when automatically leave insert mode</span>
c.<span class="org-builtin">input</span>.insert_mode.auto_load = <span class="org-constant">False</span> c.<span class="org-builtin">input</span>.insert_mode.auto_leave = <span class="org-constant">False</span>
c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-constant">True</span> c.<span class="org-builtin">input</span>.insert_mode.auto_load = <span class="org-constant">False</span>
c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-constant">True</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -163,8 +164,8 @@
<h2 id="orgf8a9f79">New Instance Options</h2> <h2 id="orgf8a9f79">New Instance Options</h2>
<div class="outline-text-2" id="text-orgf8a9f79"> <div class="outline-text-2" id="text-orgf8a9f79">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-variable-name">c.new_instance_open_target</span> = <span class="org-string">'tab'</span> <pre class="src src-python"><span class="org-variable-name">c.new_instance_open_target</span> = <span class="org-string">'tab'</span>
<span class="org-variable-name">c.new_instance_open_target_window</span> = <span class="org-string">'last-focused'</span> <span class="org-variable-name">c.new_instance_open_target_window</span> = <span class="org-string">'last-focused'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -174,7 +175,7 @@
<h2 id="org843b551">Spell Check</h2> <h2 id="org843b551">Spell Check</h2>
<div class="outline-text-2" id="text-org843b551"> <div class="outline-text-2" id="text-org843b551">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <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-python"><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>
</div> </div>
</div> </div>
@ -184,19 +185,19 @@
<h2 id="orgab02456">Status Bar</h2> <h2 id="orgab02456">Status Bar</h2>
<div class="outline-text-2" id="text-orgab02456"> <div class="outline-text-2" id="text-orgab02456">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-comment-delimiter"># </span><span class="org-comment">Hide the statusbar unless a message is shown.</span> <pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">Hide the statusbar unless a message is shown.</span>
<span class="org-variable-name">c.statusbar.position</span> = <span class="org-string">'bottom'</span> <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">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>
<span class="org-comment-delimiter"># </span><span class="org-comment">- url: Current page URL.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- url: Current page URL.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- scroll: Percentage of the current page position like `10%`.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- scroll: Percentage of the current page position like `10%`.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- scroll_raw: Raw percentage of the current page position like `10`.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- scroll_raw: Raw percentage of the current page position like `10`.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">- history: Display an arrow when possible to go back/forward in history.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- history: Display an arrow when possible to go back/forward in history.</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">- 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-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>] <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>
@ -206,45 +207,45 @@
<h2 id="org5603d6f">Tabs</h2> <h2 id="org5603d6f">Tabs</h2>
<div class="outline-text-2" id="text-org5603d6f"> <div class="outline-text-2" id="text-org5603d6f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-comment-delimiter"># </span><span class="org-comment">Open new tabs (middleclick/ctrl+click) in the background.</span> <pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">Open new tabs (middleclick/ctrl+click) in the background.</span>
<span class="org-variable-name">c.tabs.background</span> = <span class="org-constant">True</span> <span class="org-variable-name">c.tabs.background</span> = <span class="org-constant">True</span>
<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 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-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">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> = <span class="org-constant">False</span> <span class="org-variable-name">c.tabs.mousewheel_switching</span> = <span class="org-constant">False</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Position of new tabs opened from another tab.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Position of new tabs 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>
<span class="org-comment-delimiter"># </span><span class="org-comment">- prev: Before the current tab.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- prev: Before 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">- 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-variable-name">c.tabs.new_position.related</span> = <span class="org-string">'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>
<span class="org-comment-delimiter"># </span><span class="org-comment">- prev: Before the current tab.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">- prev: Before 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">- 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-variable-name">c.tabs.new_position.unrelated</span> = <span class="org-string">'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">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>
<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">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>
<span class="org-comment-delimiter"># </span><span class="org-comment">Wrap when changing tabs.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Wrap when changing tabs.</span>
<span class="org-variable-name">c.tabs.wrap</span> = <span class="org-constant">False</span> <span class="org-variable-name">c.tabs.wrap</span> = <span class="org-constant">False</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -254,7 +255,7 @@
<h2 id="orgc00c6db">Urls and Search Engines</h2> <h2 id="orgc00c6db">Urls and Search Engines</h2>
<div class="outline-text-2" id="text-orgc00c6db"> <div class="outline-text-2" id="text-orgc00c6db">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-variable-name">c.url.searchengines</span> = { <pre class="src src-python"><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>,
@ -272,13 +273,13 @@
<span class="org-string">'js'</span>: <span class="org-string">'https://developer.mozilla.org/en-US/search?q={}'</span>, <span class="org-string">'js'</span>: <span class="org-string">'https://developer.mozilla.org/en-US/search?q={}'</span>,
<span class="org-string">'tf'</span>: <span class="org-string">'https://translate.google.com/#view=home&amp;op=translate&amp;sl=en&amp;tl=fr&amp;text={}'</span>, <span class="org-string">'tf'</span>: <span class="org-string">'https://translate.google.com/#view=home&amp;op=translate&amp;sl=en&amp;tl=fr&amp;text={}'</span>,
<span class="org-string">'te'</span>: <span class="org-string">'https://translate.google.com/#view=home&amp;op=translate&amp;sl=fr&amp;tl=en&amp;text={}'</span>, <span class="org-string">'te'</span>: <span class="org-string">'https://translate.google.com/#view=home&amp;op=translate&amp;sl=fr&amp;tl=en&amp;text={}'</span>,
} }
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> <span class="org-variable-name">c.url.start_pages</span> = [<span class="org-string">'https://homer.tdehaeze.xyz/'</span>] <pre class="src src-python"><span class="org-variable-name">c.url.start_pages</span> = [<span class="org-string">'https://homer.tdehaeze.xyz/'</span>]
<span class="org-variable-name">c.url.default_page</span> = <span class="org-string">'https://homer.tdehaeze.xyz/'</span> <span class="org-variable-name">c.url.default_page</span> = <span class="org-string">'https://homer.tdehaeze.xyz/'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -291,9 +292,9 @@
Zooming Zooming
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'+'</span>, <span class="org-string">'zoom-in'</span>) <pre class="src src-python">config.bind(<span class="org-string">'+'</span>, <span class="org-string">'zoom-in'</span>)
config.bind(<span class="org-string">'-'</span>, <span class="org-string">'zoom-out'</span>) config.bind(<span class="org-string">'-'</span>, <span class="org-string">'zoom-out'</span>)
config.bind(<span class="org-string">'='</span>, <span class="org-string">'zoom'</span>) config.bind(<span class="org-string">'='</span>, <span class="org-string">'zoom'</span>)
</pre> </pre>
</div> </div>
@ -301,8 +302,8 @@ Zooming
Inputs blocks Inputs blocks
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">';t'</span>, <span class="org-string">'hint inputs'</span>) <pre class="src src-python">config.bind(<span class="org-string">';t'</span>, <span class="org-string">'hint inputs'</span>)
config.bind(<span class="org-string">'gi'</span>, <span class="org-string">'hint inputs --first'</span>) config.bind(<span class="org-string">'gi'</span>, <span class="org-string">'hint inputs --first'</span>)
</pre> </pre>
</div> </div>
@ -310,7 +311,7 @@ Inputs blocks
Opening New Window Opening New Window
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'&lt;Ctrl-N&gt;'</span>, <span class="org-string">'open -w'</span>) <pre class="src src-python">config.bind(<span class="org-string">'&lt;Ctrl-N&gt;'</span>, <span class="org-string">'open -w'</span>)
</pre> </pre>
</div> </div>
@ -318,8 +319,8 @@ Opening New Window
History History
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'H'</span>, <span class="org-string">'back'</span>) <pre class="src src-python">config.bind(<span class="org-string">'H'</span>, <span class="org-string">'back'</span>)
config.bind(<span class="org-string">'L'</span>, <span class="org-string">'forward'</span>) config.bind(<span class="org-string">'L'</span>, <span class="org-string">'forward'</span>)
</pre> </pre>
</div> </div>
@ -327,12 +328,12 @@ History
Move tabs around Move tabs around
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'d'</span>, <span class="org-string">'tab-close'</span>) <pre class="src src-python">config.bind(<span class="org-string">'d'</span>, <span class="org-string">'tab-close'</span>)
config.bind(<span class="org-string">'&lt;'</span>, <span class="org-string">'tab-move -'</span>) config.bind(<span class="org-string">'&lt;'</span>, <span class="org-string">'tab-move -'</span>)
config.bind(<span class="org-string">'&gt;'</span>, <span class="org-string">'tab-move +'</span>) config.bind(<span class="org-string">'&gt;'</span>, <span class="org-string">'tab-move +'</span>)
config.bind(<span class="org-string">'gO'</span>, <span class="org-string">'tab-give'</span>) <span class="org-comment-delimiter"># </span><span class="org-comment">Open current tab in a new window</span> config.bind(<span class="org-string">'gO'</span>, <span class="org-string">'tab-give'</span>) <span class="org-comment-delimiter"># </span><span class="org-comment">Open current tab in a new window</span>
config.bind(<span class="org-string">'J'</span>, <span class="org-string">'tab-next'</span>) config.bind(<span class="org-string">'J'</span>, <span class="org-string">'tab-next'</span>)
config.bind(<span class="org-string">'K'</span>, <span class="org-string">'tab-prev'</span>) config.bind(<span class="org-string">'K'</span>, <span class="org-string">'tab-prev'</span>)
</pre> </pre>
</div> </div>
@ -340,8 +341,8 @@ Move tabs around
Bookmarks and Quickmark Bookmarks and Quickmark
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'M'</span>, <span class="org-string">'bookmark-add'</span>) <pre class="src src-python">config.bind(<span class="org-string">'M'</span>, <span class="org-string">'bookmark-add'</span>)
config.bind(<span class="org-string">'m'</span>, <span class="org-string">'quickmark-save'</span>) config.bind(<span class="org-string">'m'</span>, <span class="org-string">'quickmark-save'</span>)
</pre> </pre>
</div> </div>
@ -349,8 +350,8 @@ Bookmarks and Quickmark
Open New Pages/Tabs Open New Pages/Tabs
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'o'</span>, <span class="org-string">'set-cmd-text -s :open'</span>) <pre class="src src-python">config.bind(<span class="org-string">'o'</span>, <span class="org-string">'set-cmd-text -s :open'</span>)
config.bind(<span class="org-string">'O'</span>, <span class="org-string">'set-cmd-text -s :open -t'</span>) config.bind(<span class="org-string">'O'</span>, <span class="org-string">'set-cmd-text -s :open -t'</span>)
</pre> </pre>
</div> </div>
@ -358,8 +359,8 @@ Open New Pages/Tabs
Open new page/tab with clipboard content Open new page/tab with clipboard content
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'pp'</span>, <span class="org-string">'open -- {clipboard}'</span>) <pre class="src src-python">config.bind(<span class="org-string">'pp'</span>, <span class="org-string">'open -- {clipboard}'</span>)
config.bind(<span class="org-string">'pP'</span>, <span class="org-string">'open -t -- {clipboard}'</span>) config.bind(<span class="org-string">'pP'</span>, <span class="org-string">'open -t -- {clipboard}'</span>)
</pre> </pre>
</div> </div>
@ -367,8 +368,8 @@ Open new page/tab with clipboard content
Link Hinting Link Hinting
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'f'</span>, <span class="org-string">'hint'</span>) <pre class="src src-python">config.bind(<span class="org-string">'f'</span>, <span class="org-string">'hint'</span>)
config.bind(<span class="org-string">'F'</span>, <span class="org-string">'hint all tab'</span>) config.bind(<span class="org-string">'F'</span>, <span class="org-string">'hint all tab'</span>)
</pre> </pre>
</div> </div>
@ -376,7 +377,7 @@ Link Hinting
Yanking url Yanking url
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'yy'</span>, <span class="org-string">'yank'</span>) <pre class="src src-python">config.bind(<span class="org-string">'yy'</span>, <span class="org-string">'yank'</span>)
</pre> </pre>
</div> </div>
@ -384,15 +385,15 @@ Yanking url
Go to specific websites Go to specific websites
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">'gy'</span>, <span class="org-string">'open -t https://www.youtube.com/feed/subscriptions'</span>) <pre class="src src-python">config.bind(<span class="org-string">'gy'</span>, <span class="org-string">'open -t https://www.youtube.com/feed/subscriptions'</span>)
config.bind(<span class="org-string">'gf'</span>, <span class="org-string">'open -t https://rss.tdehaeze.xyz/'</span>) config.bind(<span class="org-string">'gf'</span>, <span class="org-string">'open -t https://rss.tdehaeze.xyz/'</span>)
config.bind(<span class="org-string">'gr'</span>, <span class="org-string">'open -t https://www.reddit.com/'</span>) config.bind(<span class="org-string">'gr'</span>, <span class="org-string">'open -t https://www.reddit.com/'</span>)
config.bind(<span class="org-string">'gh'</span>, <span class="org-string">'open -t https://homer.tdehaeze.xyz/'</span>) config.bind(<span class="org-string">'gh'</span>, <span class="org-string">'open -t https://homer.tdehaeze.xyz/'</span>)
config.bind(<span class="org-string">'gb'</span>, <span class="org-string">'open -t qute://bookmarks'</span>) config.bind(<span class="org-string">'gb'</span>, <span class="org-string">'open -t qute://bookmarks'</span>)
config.bind(<span class="org-string">'gH'</span>, <span class="org-string">'open -t qute://history'</span>) config.bind(<span class="org-string">'gH'</span>, <span class="org-string">'open -t qute://history'</span>)
config.bind(<span class="org-string">'gs'</span>, <span class="org-string">'open -t qute://settings'</span>) config.bind(<span class="org-string">'gs'</span>, <span class="org-string">'open -t qute://settings'</span>)
</pre> </pre>
</div> </div>
</div> </div>
@ -405,7 +406,7 @@ Go to specific websites
Create a Password for the current website Create a Password for the current website
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',P'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/add-passowrd.sh'</span>) <pre class="src src-python">config.bind(<span class="org-string">',P'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/add-passowrd.sh'</span>)
</pre> </pre>
</div> </div>
@ -413,7 +414,7 @@ Create a Password for the current website
Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>) Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>)
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',p'</span>, <span class="org-string">'spawn --userscript password_fill'</span>) <pre class="src src-python">config.bind(<span class="org-string">',p'</span>, <span class="org-string">'spawn --userscript password_fill'</span>)
</pre> </pre>
</div> </div>
@ -421,8 +422,8 @@ Use Pass to fill password and username (configuration is done in <code>~/.config
Open Youtube video using <code>mpv</code> Open Youtube video using <code>mpv</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',m'</span>, <span class="org-string">'spawn --detach mpv --force-window yes {url}'</span>) <pre class="src src-python">config.bind(<span class="org-string">',m'</span>, <span class="org-string">'spawn --detach mpv --force-window yes {url}'</span>)
config.bind(<span class="org-string">',M'</span>, <span class="org-string">'hint links spawn --detach mpv --force-window yes {hint-url}'</span>) config.bind(<span class="org-string">',M'</span>, <span class="org-string">'hint links spawn --detach mpv --force-window yes {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -430,8 +431,8 @@ Open Youtube video using <code>mpv</code>
Download Youtube video / entire playlist Download Youtube video / entire playlist
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',v'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {url}'</span>) <pre class="src src-python">config.bind(<span class="org-string">',v'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {url}'</span>)
config.bind(<span class="org-string">',V'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {hint-url}'</span>) config.bind(<span class="org-string">',V'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -439,8 +440,8 @@ Download Youtube video / entire playlist
Add page to Bookmarks using <code>buku</code> Add page to Bookmarks using <code>buku</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',b'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-add.sh'</span>) <pre class="src src-python">config.bind(<span class="org-string">',b'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-add.sh'</span>)
config.bind(<span class="org-string">',B'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-rofi.sh'</span>) config.bind(<span class="org-string">',B'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-rofi.sh'</span>)
</pre> </pre>
</div> </div>
@ -448,8 +449,8 @@ Add page to Bookmarks using <code>buku</code>
Download with <code>aria2c</code> Download with <code>aria2c</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',d'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add.sh {hint-url}'</span>) <pre class="src src-python">config.bind(<span class="org-string">',d'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add.sh {hint-url}'</span>)
config.bind(<span class="org-string">',D'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add-homelab.sh {hint-url}'</span>) config.bind(<span class="org-string">',D'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add-homelab.sh {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -457,7 +458,7 @@ Download with <code>aria2c</code>
Open bookmark using <code>buku</code> Open bookmark using <code>buku</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',o'</span>, <span class="org-string">'spawn ~/.local/bin/bukurun'</span>) <pre class="src src-python">config.bind(<span class="org-string">',o'</span>, <span class="org-string">'spawn ~/.local/bin/bukurun'</span>)
</pre> </pre>
</div> </div>
@ -465,8 +466,8 @@ Open bookmark using <code>buku</code>
Org Capture Org Capture
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',r'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/org-capture.sh'</span>) <pre class="src src-python">config.bind(<span class="org-string">',r'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/org-capture.sh'</span>)
config.bind(<span class="org-string">',R'</span>, <span class="org-string">'hint links userscript ~/.config/qutebrowser/userscripts/org-capture.sh'</span>) config.bind(<span class="org-string">',R'</span>, <span class="org-string">'hint links userscript ~/.config/qutebrowser/userscripts/org-capture.sh'</span>)
</pre> </pre>
</div> </div>
@ -474,8 +475,8 @@ Org Capture
Screenshot of webpage to png Screenshot of webpage to png
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',s'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/html-to-pdf.sh'</span>) <pre class="src src-python">config.bind(<span class="org-string">',s'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/html-to-pdf.sh'</span>)
config.bind(<span class="org-string">',S'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/html-to-png.sh'</span>) config.bind(<span class="org-string">',S'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/html-to-png.sh'</span>)
</pre> </pre>
</div> </div>
@ -483,7 +484,7 @@ Screenshot of webpage to png
Download AES video Download AES video
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',E'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/aes-download.sh'</span>) <pre class="src src-python">config.bind(<span class="org-string">',E'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/aes-download.sh'</span>)
</pre> </pre>
</div> </div>
@ -491,7 +492,7 @@ Download AES video
Download a torrent Download a torrent
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',t'</span>, <span class="org-string">'hint links spawn torrent-add {hint-url}'</span>) <pre class="src src-python">config.bind(<span class="org-string">',t'</span>, <span class="org-string">'hint links spawn torrent-add {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -499,7 +500,7 @@ Download a torrent
Annotate with Hypothesis Annotate with Hypothesis
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',a'</span>, <span class="org-string">"jseval javascript:(function(){window.hypothesisConfig=function(){return{showHighlights:true,appType:'bookmarklet'};};var d=document,s=d.createElement('script');s.setAttribute('src','https://hypothes.is/embed.js');d.body.appendChild(s)})();"</span>) <pre class="src src-python">config.bind(<span class="org-string">',a'</span>, <span class="org-string">"jseval javascript:(function(){window.hypothesisConfig=function(){return{showHighlights:true,appType:'bookmarklet'};};var d=document,s=d.createElement('script');s.setAttribute('src','https://hypothes.is/embed.js');d.body.appendChild(s)})();"</span>)
</pre> </pre>
</div> </div>
@ -507,7 +508,7 @@ Annotate with Hypothesis
See Amazon price history using CamelCamelCamel See Amazon price history using CamelCamelCamel
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',A'</span>, <span class="org-string">":open -t https://fr.camelcamelcamel.com/search?sq={url}"</span>) <pre class="src src-python">config.bind(<span class="org-string">',A'</span>, <span class="org-string">":open -t https://fr.camelcamelcamel.com/search?sq={url}"</span>)
</pre> </pre>
</div> </div>
@ -515,7 +516,7 @@ See Amazon price history using CamelCamelCamel
Org Roam Entry for the current page Org Roam Entry for the current page
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"> config.bind(<span class="org-string">',R'</span>, <span class="org-string">"open javascript:void(location.href='org-protocol://roam-ref?template=r&amp;ref='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title))"</span>) <pre class="src src-python">config.bind(<span class="org-string">',R'</span>, <span class="org-string">"open javascript:void(location.href='org-protocol://roam-ref?template=r&amp;ref='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title))"</span>)
</pre> </pre>
</div> </div>
</div> </div>
@ -530,18 +531,18 @@ Org Roam Entry for the current page
<h3 id="org1453ee9">Create a new password</h3> <h3 id="org1453ee9">Create a new password</h3>
<div class="outline-text-3" id="text-org1453ee9"> <div class="outline-text-3" id="text-org1453ee9">
<div class="org-src-container"> <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> <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> -e <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">username</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <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-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-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">url</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</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">username</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</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">password</span></span><span class="org-string">"</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> -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">url</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</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">username</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</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">password</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --urgency=critical <span class="org-string">"Pass"</span> <span class="org-string">"Failed to Add Password"</span> dunstify --urgency=critical <span class="org-string">"Pass"</span> <span class="org-string">"Failed to Add Password"</span>
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-type">echo</span> -e <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 <span class="org-type">echo</span> -e <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; 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 <span class="org-type">rm</span> /tmp/add-password.txt
dunstify <span class="org-string">"Pass &#62525;"</span> <span class="org-string">"Password Added"</span> dunstify <span class="org-string">"Pass &#62525;"</span> <span class="org-string">"Password Added"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -551,23 +552,23 @@ Org Roam Entry for the current page
<h3 id="orgeb0ef66">Download Youtube Video</h3> <h3 id="orgeb0ef66">Download Youtube Video</h3>
<div class="outline-text-3" id="text-orgeb0ef66"> <div class="outline-text-3" id="text-orgeb0ef66">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">cd</span> ~/Documents/to-watch/ || <span class="org-keyword">exit</span>; <pre class="src src-bash"><span class="org-type">cd</span> ~/Documents/to-watch/ || <span class="org-keyword">exit</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-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">"list"</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><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">1</span></span><span class="org-string">"</span> == *<span class="org-string">"list"</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-variable-name">choice</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"Video\nPlaylist"</span> | rofi -dmenu -only-match -i<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-variable-name">choice</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"Video\nPlaylist"</span> | rofi -dmenu -only-match -i<span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
<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">choice</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <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">choice</span></span><span class="org-string">"</span> = <span class="org-string">"Playlist"</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> -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">choice</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <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">choice</span></span><span class="org-string">"</span> = <span class="org-string">"Playlist"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloading Playlist..."</span>; dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloading Playlist..."</span>;
youtube-dl -i -f <span class="org-string">'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]'</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> -o <span class="org-string">"%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> youtube-dl -i -f <span class="org-string">'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]'</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> -o <span class="org-string">"%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span> dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Failed to download"</span> dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Failed to download"</span>
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloading Video..."</span>; dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloading Video..."</span>;
youtube-dl --no-playlist -f <span class="org-string">'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]'</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> &amp;&amp; <span class="org-sh-escaped-newline">\</span> youtube-dl --no-playlist -f <span class="org-string">'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]'</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> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span> dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Failed to download"</span> dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Failed to download"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -577,17 +578,17 @@ Org Roam Entry for the current page
<h3 id="org38a2899">Password_fill_rc</h3> <h3 id="org38a2899">Password_fill_rc</h3>
<div class="outline-text-3" id="text-org38a2899"> <div class="outline-text-3" id="text-org38a2899">
<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">Show all password fields in the menu</span> <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Show all password fields in the menu</span>
query_entries<span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span> <span class="org-function-name">query_entries</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">safe queried url for choose_entry</span> <span class="org-comment-delimiter"># </span><span class="org-comment">safe queried url for choose_entry</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">the subdomains are removed</span> <span class="org-comment-delimiter"># </span><span class="org-comment">the subdomains are removed</span>
<span class="org-builtin">export</span> <span class="org-variable-name">queried_url</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">expr</span> match <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-rainbow-delimiters-depth-2">)</span> <span class="org-builtin">export</span> <span class="org-variable-name">queried_url</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">expr</span> match <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-rainbow-delimiters-depth-2">)</span>
<span class="org-builtin">mapfile</span> -t files &lt; &lt;<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">find</span> -L <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PREFIX</span></span><span class="org-string">"</span> -iname <span class="org-string">'*.gpg'</span> -printf <span class="org-string">'%P\n'</span> |sed <span class="org-string">'s,\.gpg$,,'</span><span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-builtin">mapfile</span> -t files &lt; &lt;<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">find</span> -L <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PREFIX</span></span><span class="org-string">"</span> -iname <span class="org-string">'*.gpg'</span> -printf <span class="org-string">'%P\n'</span> |sed <span class="org-string">'s,\.gpg$,,'</span><span class="org-rainbow-delimiters-depth-2">)</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">Even if there is only one entry, always show a menu</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Even if there is only one entry, always show a menu</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">for user confirmation.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">for user confirmation.</span>
choose_entry<span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span> <span class="org-function-name">choose_entry</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-variable-name">MENU_COMMAND</span>=<span class="org-rainbow-delimiters-depth-2">(</span> <span class="org-variable-name">MENU_COMMAND</span>=<span class="org-rainbow-delimiters-depth-2">(</span>
rofi -dmenu rofi -dmenu
-p <span class="org-string">"qutebrowser&gt; "</span> -p <span class="org-string">"qutebrowser&gt; "</span>
@ -595,7 +596,7 @@ Org Roam Entry for the current page
-mesg $<span class="org-string">'Pick a password entry for &lt;b&gt;'"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_URL//&amp;/&amp;amp;}</span></span><span class="org-string">"'&lt;/b&gt;'</span> -mesg $<span class="org-string">'Pick a password entry for &lt;b&gt;'"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_URL//&amp;/&amp;amp;}</span></span><span class="org-string">"'&lt;/b&gt;'</span>
<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-2">)</span>
<span class="org-variable-name">file</span>=$<span class="org-rainbow-delimiters-depth-2">(</span> <span class="org-builtin">printf</span> <span class="org-string">"%s\n"</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">{files[@]}</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">{MENU_COMMAND[@]}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-variable-name">file</span>=$<span class="org-rainbow-delimiters-depth-2">(</span> <span class="org-builtin">printf</span> <span class="org-string">"%s\n"</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">{files[@]}</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">{MENU_COMMAND[@]}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">)</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -605,18 +606,18 @@ Org Roam Entry for the current page
<h3 id="org5b8c3ce">Org-Capture</h3> <h3 id="org5b8c3ce">Org-Capture</h3>
<div class="outline-text-3" id="text-org5b8c3ce"> <div class="outline-text-3" id="text-org5b8c3ce">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-builtin">readonly</span> <span class="org-variable-name">CAPTURE_SCRIPT</span>=~/.config/qutebrowser/userscripts/org-protocol-capture-html.sh <pre class="src src-bash"><span class="org-builtin">readonly</span> <span class="org-variable-name">CAPTURE_SCRIPT</span>=~/.config/qutebrowser/userscripts/org-protocol-capture-html.sh
<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-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_MODE</span></span><span class="org-string">"</span> = <span class="org-string">"hints"</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><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">QUTE_MODE</span></span><span class="org-string">"</span> = <span class="org-string">"hints"</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 we start with hints, we juste want to capture the URL</span> <span class="org-comment-delimiter"># </span><span class="org-comment">if we start with hints, we juste want to capture the URL</span>
$<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pu"</span> --url <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> $<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pu"</span> --url <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>
<span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</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">QUTE_SELECTED_TEXT</span></span><span class="org-string">"</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">elif</span> <span class="org-rainbow-delimiters-depth-1">[</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">QUTE_SELECTED_TEXT</span></span><span class="org-string">"</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 text is selected, we want to capture the text</span> <span class="org-comment-delimiter"># </span><span class="org-comment">if text is selected, we want to capture the text</span>
$<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pt"</span> --heading <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_TITLE}</span></span><span class="org-string">"</span> --url <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> <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_SELECTED_TEXT}</span></span><span class="org-string">"</span> $<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pt"</span> --heading <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_TITLE}</span></span><span class="org-string">"</span> --url <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> <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_SELECTED_TEXT}</span></span><span class="org-string">"</span>
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">if no text is selected, we want to capture the url</span> <span class="org-comment-delimiter"># </span><span class="org-comment">if no text is selected, we want to capture the url</span>
$<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pu"</span> --heading <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_TITLE}</span></span><span class="org-string">"</span> --url <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> $<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pu"</span> --heading <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_TITLE}</span></span><span class="org-string">"</span> --url <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>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -629,9 +630,9 @@ Org Roam Entry for the current page
Defaults Defaults
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">heading</span>=<span class="org-string">"link"</span> <pre class="src src-bash"><span class="org-variable-name">heading</span>=<span class="org-string">"link"</span>
<span class="org-variable-name">template</span>=<span class="org-string">"pu"</span> <span class="org-variable-name">template</span>=<span class="org-string">"pu"</span>
<span class="org-variable-name">url</span>=<span class="org-string">"https://google.com/"</span> <span class="org-variable-name">url</span>=<span class="org-string">"https://google.com/"</span>
</pre> </pre>
</div> </div>
@ -639,7 +640,7 @@ Defaults
Functions Functions
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">debug</span> <span class="org-rainbow-delimiters-depth-1">{</span> <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">debug</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -n $<span class="org-variable-name">debug</span> <span class="org-rainbow-delimiters-depth-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -n $<span class="org-variable-name">debug</span> <span class="org-rainbow-delimiters-depth-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>
<span class="org-keyword">then</span> <span class="org-keyword">then</span>
<span class="org-keyword">function</span> <span class="org-function-name">debug</span> <span class="org-rainbow-delimiters-depth-2">{</span> <span class="org-keyword">function</span> <span class="org-function-name">debug</span> <span class="org-rainbow-delimiters-depth-2">{</span>
@ -651,21 +652,21 @@ Functions
true true
<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-rainbow-delimiters-depth-2">}</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-keyword">function</span> <span class="org-function-name">die</span> <span class="org-rainbow-delimiters-depth-1">{</span> <span class="org-keyword">function</span> <span class="org-function-name">die</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">@</span></span><span class="org-string">"</span> &gt;&amp;<span class="org-highlight-numbers-number">2</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">@</span></span><span class="org-string">"</span> &gt;&amp;<span class="org-highlight-numbers-number">2</span>
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span> <span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-keyword">function</span> <span class="org-function-name">urlencode</span> <span class="org-rainbow-delimiters-depth-1">{</span> <span class="org-keyword">function</span> <span class="org-function-name">urlencode</span> <span class="org-rainbow-delimiters-depth-1">{</span>
python -c <span class="org-string">"</span> python -c <span class="org-string">"</span>
<span class="org-string"> from __future__ import print_function</span> <span class="org-string">from __future__ import print_function</span>
<span class="org-string"> try:</span> <span class="org-string">try:</span>
<span class="org-string"> from urllib import quote # Python 2</span> <span class="org-string"> from urllib import quote # Python 2</span>
<span class="org-string"> except ImportError:</span> <span class="org-string">except ImportError:</span>
<span class="org-string"> from urllib.parse import quote # Python 3</span> <span class="org-string"> from urllib.parse import quote # Python 3</span>
<span class="org-string"> import sys</span> <span class="org-string">import sys</span>
<span class="org-string"> print(quote(sys.stdin.read()[:-1], safe=''))"</span> <span class="org-string">print(quote(sys.stdin.read()[:-1], safe=''))"</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
@ -673,22 +674,22 @@ Functions
Documentation Documentation
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">usage</span> <span class="org-rainbow-delimiters-depth-1">{</span> <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">usage</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-type">cat</span> &lt;&lt;EOF <span class="org-type">cat</span> &lt;&lt;EOF
<span class="org-sh-heredoc"> $0 [OPTIONS] [HTML]</span> <span class="org-sh-heredoc">$0 [OPTIONS] [HTML]</span>
<span class="org-sh-heredoc"> html | $0 [OPTIONS]</span> <span class="org-sh-heredoc">html | $0 [OPTIONS]</span>
<span class="org-sh-heredoc"> Send HTML to Emacs through org-protocol, passing it through Pandoc to</span> <span class="org-sh-heredoc">Send HTML to Emacs through org-protocol, passing it through Pandoc to</span>
<span class="org-sh-heredoc"> convert HTML to Org-mode. HTML may be passed as an argument or</span> <span class="org-sh-heredoc">convert HTML to Org-mode. HTML may be passed as an argument or</span>
<span class="org-sh-heredoc"> through STDIN. If only URL is given, it will be downloaded and its</span> <span class="org-sh-heredoc">through STDIN. If only URL is given, it will be downloaded and its</span>
<span class="org-sh-heredoc"> contents used.</span> <span class="org-sh-heredoc">contents used.</span>
<span class="org-sh-heredoc"> Options:</span> <span class="org-sh-heredoc">Options:</span>
<span class="org-sh-heredoc"> -h, --heading HEADING Heading</span> <span class="org-sh-heredoc"> -h, --heading HEADING Heading</span>
<span class="org-sh-heredoc"> -t, --template TEMPLATE org-capture template key (default: pu)</span> <span class="org-sh-heredoc"> -t, --template TEMPLATE org-capture template key (default: pu)</span>
<span class="org-sh-heredoc"> -u, --url URL URL</span> <span class="org-sh-heredoc"> -u, --url URL URL</span>
<span class="org-sh-heredoc"> --debug Print debug info</span> <span class="org-sh-heredoc"> --debug Print debug info</span>
<span class="org-sh-heredoc"> --help I need somebody!</span> <span class="org-sh-heredoc"> --help I need somebody!</span>
<span class="org-sh-heredoc"> EOF</span> <span class="org-sh-heredoc">EOF</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
@ -696,12 +697,12 @@ Documentation
Arguments Arguments
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">args</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">getopt</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">0</span></span><span class="org-string">"</span> -o dh:rt:u: -l debug,help,heading:,template:,url: -- <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-1">)</span> <span class="org-sh-escaped-newline">\</span> <pre class="src src-bash"><span class="org-variable-name">args</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">getopt</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">0</span></span><span class="org-string">"</span> -o dh:rt:u: -l debug,help,heading:,template:,url: -- <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-1">)</span> <span class="org-sh-escaped-newline">\</span>
|| die <span class="org-string">"Unable to parse args. Is getopt installed?"</span> || die <span class="org-string">"Unable to parse args. Is getopt installed?"</span>
<span class="org-builtin">eval</span> set -- <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">args</span></span><span class="org-string">"</span> <span class="org-builtin">eval</span> set -- <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">args</span></span><span class="org-string">"</span>
<span class="org-keyword">while</span> true <span class="org-keyword">while</span> true
<span class="org-keyword">do</span> <span class="org-keyword">do</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>
-d|--debug) -d|--debug)
<span class="org-variable-name">debug</span>=true <span class="org-variable-name">debug</span>=true
@ -732,10 +733,10 @@ Arguments
<span class="org-keyword">esac</span> <span class="org-keyword">esac</span>
<span class="org-builtin">shift</span> <span class="org-builtin">shift</span>
<span class="org-keyword">done</span> <span class="org-keyword">done</span>
debug <span class="org-string">"ARGS: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">args</span></span><span class="org-string">"</span> debug <span class="org-string">"ARGS: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">args</span></span><span class="org-string">"</span>
debug <span class="org-string">"Remaining args: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{rest[@]}</span></span><span class="org-string">"</span> debug <span class="org-string">"Remaining args: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{rest[@]}</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
@ -743,12 +744,12 @@ Arguments
Get HTML Get HTML
</p> </p>
<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> -n $<span class="org-variable-name">@</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> <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> -n $<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-keyword">then</span>
debug <span class="org-string">"Text from args"</span> debug <span class="org-string">"Text from args"</span>
<span class="org-variable-name">body</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">@</span></span><span class="org-string">"</span> <span class="org-variable-name">body</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">@</span></span><span class="org-string">"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
@ -756,9 +757,9 @@ Get HTML
URL-encode URL-encode
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">heading</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&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">heading</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode heading."</span> <pre class="src src-bash"><span class="org-variable-name">heading</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&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">heading</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode heading."</span>
<span class="org-variable-name">url</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&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">url</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode URL."</span> <span class="org-variable-name">url</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&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">url</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode URL."</span>
<span class="org-variable-name">body</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&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">body</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode text."</span> <span class="org-variable-name">body</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&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">body</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode text."</span>
</pre> </pre>
</div> </div>
@ -766,7 +767,7 @@ URL-encode
Send to Emacs Send to Emacs
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> emacsclient <span class="org-string">"org-protocol://capture?template=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">template</span></span><span class="org-string">&amp;url=</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">&amp;title=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">heading</span></span><span class="org-string">&amp;body=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">body</span></span><span class="org-string">"</span> <pre class="src src-bash">emacsclient <span class="org-string">"org-protocol://capture?template=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">template</span></span><span class="org-string">&amp;url=</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">&amp;title=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">heading</span></span><span class="org-string">&amp;body=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">body</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -776,10 +777,10 @@ Send to Emacs
<h3 id="org153f69f">Add Url to Buku using Rofi</h3> <h3 id="org153f69f">Add Url to Buku using Rofi</h3>
<div class="outline-text-3" id="text-org153f69f"> <div class="outline-text-3" id="text-org153f69f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">title</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> | rofi -p <span class="org-string">"Title"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span> <pre class="src src-bash"><span class="org-variable-name">title</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> | rofi -p <span class="org-string">"Title"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-variable-name">tags</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">buku</span> -t --nc --np | sed -e <span class="org-string">'s/\s*[[:digit:]]*\.\s*\(.*\)\s*([[:digit:]]*)\s*/\1/'</span> -e <span class="org-string">'/^\s*$/d'</span> | sort | uniq | rofi -multi-select -p <span class="org-string">"Tags"</span> -dmenu | tr <span class="org-string">"\n"</span> <span class="org-string">","</span> | sed <span class="org-string">'s/\s*,\s*$//'</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-variable-name">tags</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">buku</span> -t --nc --np | sed -e <span class="org-string">'s/\s*[[:digit:]]*\.\s*\(.*\)\s*([[:digit:]]*)\s*/\1/'</span> -e <span class="org-string">'/^\s*$/d'</span> | sort | uniq | rofi -multi-select -p <span class="org-string">"Tags"</span> -dmenu | tr <span class="org-string">"\n"</span> <span class="org-string">","</span> | sed <span class="org-string">'s/\s*,\s*$//'</span><span class="org-rainbow-delimiters-depth-1">)</span>
buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> --tag <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">tags</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">title</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> --tag <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">tags</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">title</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> || <span class="org-sh-escaped-newline">\</span> dunstify <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify --urgency=critical <span class="org-string">"Buku"</span> <span class="org-string">"&#62561; Bookmark Added"</span> dunstify --urgency=critical <span class="org-string">"Buku"</span> <span class="org-string">"&#62561; Bookmark Added"</span>
</pre> </pre>
@ -791,7 +792,7 @@ Send to Emacs
<h3 id="orgfe64fed">Add Url to Buku without asking for information</h3> <h3 id="orgfe64fed">Add Url to Buku without asking for information</h3>
<div class="outline-text-3" id="text-orgfe64fed"> <div class="outline-text-3" id="text-orgfe64fed">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> buku --add $<span class="org-variable-name">QUTE_URL</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> <pre class="src src-bash">buku --add $<span class="org-variable-name">QUTE_URL</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Buku"</span> <span class="org-string">"&#128209; Bookmark Added"</span> dunstify <span class="org-string">"Buku"</span> <span class="org-string">"&#128209; Bookmark Added"</span>
</pre> </pre>
</div> </div>
@ -802,7 +803,7 @@ Send to Emacs
<h3 id="orgf02d7da">Download with aria2c</h3> <h3 id="orgf02d7da">Download with aria2c</h3>
<div class="outline-text-3" id="text-orgf02d7da"> <div class="outline-text-3" id="text-orgf02d7da">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> aria2p add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> <pre class="src src-bash">aria2p add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span> dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span> dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
</pre> </pre>
@ -814,7 +815,7 @@ Send to Emacs
<h3 id="orgfcd3553">Download with aria2c on the Homelab</h3> <h3 id="orgfcd3553">Download with aria2c on the Homelab</h3>
<div class="outline-text-3" id="text-orgfcd3553"> <div class="outline-text-3" id="text-orgfcd3553">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> dl-add $<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">1</span></span><span class="org-string">"</span> | sed <span class="org-string">'s/\&amp;af=.*$//g'</span><span class="org-rainbow-delimiters-depth-1">)</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> <pre class="src src-bash">dl-add $<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">1</span></span><span class="org-string">"</span> | sed <span class="org-string">'s/\&amp;af=.*$//g'</span><span class="org-rainbow-delimiters-depth-1">)</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span> dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span> dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
</pre> </pre>
@ -826,13 +827,13 @@ Send to Emacs
<h3 id="orgcd649c5">Screenshot</h3> <h3 id="orgcd649c5">Screenshot</h3>
<div class="outline-text-3" id="text-orgcd649c5"> <div class="outline-text-3" id="text-orgcd649c5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span> <pre class="src src-bash"><span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"filename"</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> -n <span class="org-string">"filename"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-type">cd</span> ~/Pictures/ &amp;&amp; <span class="org-sh-escaped-newline">\</span> <span class="org-type">cd</span> ~/Pictures/ &amp;&amp; <span class="org-sh-escaped-newline">\</span>
firefox-developer-edition -P default -headless --screenshot <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.png"</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> &amp;&amp; <span class="org-sh-escaped-newline">\</span> firefox-developer-edition -P default -headless --screenshot <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.png"</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> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Screenshot"</span> <span class="org-string">"Taken successfully"</span> dunstify <span class="org-string">"Screenshot"</span> <span class="org-string">"Taken successfully"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -842,13 +843,13 @@ Send to Emacs
<h3 id="org13f7ed3">Save to PDF</h3> <h3 id="org13f7ed3">Save to PDF</h3>
<div class="outline-text-3" id="text-org13f7ed3"> <div class="outline-text-3" id="text-org13f7ed3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span> <pre class="src src-bash"><span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<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">filename</span></span><span class="org-string">"</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> -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">filename</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-type">cd</span> ~/Pictures/ &amp;&amp; <span class="org-sh-escaped-newline">\</span> <span class="org-type">cd</span> ~/Pictures/ &amp;&amp; <span class="org-sh-escaped-newline">\</span>
percollate pdf --css <span class="org-string">"@page { size: A4 portrait }"</span> --output <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.pdf"</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> &amp;&amp; <span class="org-sh-escaped-newline">\</span> percollate pdf --css <span class="org-string">"@page { size: A4 portrait }"</span> --output <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.pdf"</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> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Percollate"</span> <span class="org-string">"Successfully saved to pdf"</span> dunstify <span class="org-string">"Percollate"</span> <span class="org-string">"Successfully saved to pdf"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -858,16 +859,16 @@ Send to Emacs
<h3 id="org0d058a3">Download AES video</h3> <h3 id="org0d058a3">Download AES video</h3>
<div class="outline-text-3" id="text-org0d058a3"> <div class="outline-text-3" id="text-org0d058a3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-variable-name">m3u8_path</span>=<span class="org-sh-quoted-exec">`</span><span class="org-type"><span class="org-sh-quoted-exec">curl</span></span><span class="org-sh-quoted-exec"> -L -s "$QUTE_URL" | pcregrep -o1 "file = \"\/(.*aes.*mp4)\""`</span> <pre class="src src-bash"><span class="org-variable-name">m3u8_path</span>=<span class="org-sh-quoted-exec">`</span><span class="org-type"><span class="org-sh-quoted-exec">curl</span></span><span class="org-sh-quoted-exec"> -L -s "$QUTE_URL" | pcregrep -o1 "file = \"\/(.*aes.*mp4)\""`</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">m3u8_path</span></span><span class="org-string">"</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> -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">m3u8_path</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --urgency=critical <span class="org-string">"Qutebrowser"</span> <span class="org-string">"No m3u8 playlist found"</span> dunstify --urgency=critical <span class="org-string">"Qutebrowser"</span> <span class="org-string">"No m3u8 playlist found"</span>
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
dunstify <span class="org-string">"Qutebrowser"</span> <span class="org-string">"Downloads..."</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> dunstify <span class="org-string">"Qutebrowser"</span> <span class="org-string">"Downloads..."</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-type">cd</span> ~/Downloads/ &amp;&amp; <span class="org-sh-escaped-newline">\</span> <span class="org-type">cd</span> ~/Downloads/ &amp;&amp; <span class="org-sh-escaped-newline">\</span>
ffmpeg -user_agent <span class="org-string">"Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"</span> -referer <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> -i <span class="org-string">"https://cdn2.digitellinc.com/play/_definst_/mp4:</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">m3u8_path</span></span><span class="org-string">/playlist.m3u8"</span> -c copy <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">.mp4"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span> ffmpeg -user_agent <span class="org-string">"Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"</span> -referer <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> -i <span class="org-string">"https://cdn2.digitellinc.com/play/_definst_/mp4:</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">m3u8_path</span></span><span class="org-string">/playlist.m3u8"</span> -c copy <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">.mp4"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Qutebrowser"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string"> Downloaded"</span> dunstify <span class="org-string">"Qutebrowser"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string"> Downloaded"</span>
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -876,7 +877,7 @@ Send to Emacs
</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: 2021-01-03 dim. 22:19</p> <p class="date">Created: 2021-01-08 ven. 01:40</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-03 dim. 22:25 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Rofi Configuration</title> <title>Rofi Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -32,52 +32,52 @@
<h2 id="orgcda15fb">Rofi</h2> <h2 id="orgcda15fb">Rofi</h2>
<div class="outline-text-2" id="text-orgcda15fb"> <div class="outline-text-2" id="text-orgcda15fb">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-type">configuration</span> { <pre class="src src-conf"><span class="org-type">configuration</span> {
modi: <span class="org-string">"window,run,ssh"</span>; modi: <span class="org-string">"window,run,ssh"</span>;
width: <span class="org-highlight-numbers-number">50</span>; width: <span class="org-highlight-numbers-number">50</span>;
lines: <span class="org-highlight-numbers-number">15</span>; lines: <span class="org-highlight-numbers-number">15</span>;
columns: <span class="org-highlight-numbers-number">1</span>; columns: <span class="org-highlight-numbers-number">1</span>;
font: <span class="org-string">"Hack Nerd Font 12"</span>; font: <span class="org-string">"Hack Nerd Font 12"</span>;
fixed-num-lines: true; fixed-num-lines: true;
show-icons: false; show-icons: false;
terminal: <span class="org-string">"rofi-sensible-terminal"</span>; terminal: <span class="org-string">"rofi-sensible-terminal"</span>;
sort: false; sort: false;
case-sensitive: false; case-sensitive: false;
cycle: true; cycle: true;
sidebar-mode: false; sidebar-mode: false;
auto-select: false; auto-select: false;
combi-modi: <span class="org-string">"window,run"</span>; combi-modi: <span class="org-string">"window,run"</span>;
matching: <span class="org-string">"normal"</span>; matching: <span class="org-string">"normal"</span>;
line-margin: <span class="org-highlight-numbers-number">2</span>; line-margin: <span class="org-highlight-numbers-number">2</span>;
line-padding: <span class="org-highlight-numbers-number">1</span>; line-padding: <span class="org-highlight-numbers-number">1</span>;
separator-style: <span class="org-string">"dash"</span>; separator-style: <span class="org-string">"dash"</span>;
hide-scrollbar: true; hide-scrollbar: true;
fullscreen: false; fullscreen: false;
dpi: -1; dpi: -1;
show-match: true; show-match: true;
theme: <span class="org-string">"gruvbox-dark-soft"</span>; theme: <span class="org-string">"gruvbox-dark-soft"</span>;
kb-move-front: <span class="org-string">"Control+a"</span>; kb-move-front: <span class="org-string">"Control+a"</span>;
kb-move-end: <span class="org-string">"Control+e"</span>; kb-move-end: <span class="org-string">"Control+e"</span>;
kb-move-word-back: <span class="org-string">"Alt+b,Control+Left"</span>; kb-move-word-back: <span class="org-string">"Alt+b,Control+Left"</span>;
kb-move-word-forward: <span class="org-string">"Alt+f,Control+Right"</span>; kb-move-word-forward: <span class="org-string">"Alt+f,Control+Right"</span>;
kb-move-char-back: <span class="org-string">"Left,Control+b"</span>; kb-move-char-back: <span class="org-string">"Left,Control+b"</span>;
kb-move-char-forward: <span class="org-string">"Right,Control+f"</span>; kb-move-char-forward: <span class="org-string">"Right,Control+f"</span>;
kb-remove-char-forward: <span class="org-string">"Delete,Control+d"</span>; kb-remove-char-forward: <span class="org-string">"Delete,Control+d"</span>;
kb-remove-char-back: <span class="org-string">"BackSpace,Shift+BackSpace"</span>; kb-remove-char-back: <span class="org-string">"BackSpace,Shift+BackSpace"</span>;
kb-remove-to-eol: <span class="org-string">"Control+k"</span>; kb-remove-to-eol: <span class="org-string">"Control+k"</span>;
kb-remove-to-sol: <span class="org-string">"Control+u"</span>; kb-remove-to-sol: <span class="org-string">"Control+u"</span>;
kb-accept-entry: <span class="org-string">"Control+j,Return,KP_Enter"</span>; kb-accept-entry: <span class="org-string">"Control+j,Return,KP_Enter"</span>;
kb-accept-custom: <span class="org-string">"Control+Return"</span>; kb-accept-custom: <span class="org-string">"Control+Return"</span>;
kb-accept-alt: <span class="org-string">"Shift+Return"</span>; kb-accept-alt: <span class="org-string">"Shift+Return"</span>;
kb-delete-entry: <span class="org-string">"Shift+Delete"</span>; kb-delete-entry: <span class="org-string">"Shift+Delete"</span>;
kb-row-up: <span class="org-string">"Up,Control+p"</span>; kb-row-up: <span class="org-string">"Up,Control+p"</span>;
kb-row-down: <span class="org-string">"Down,Control+n"</span>; kb-row-down: <span class="org-string">"Down,Control+n"</span>;
kb-row-tab: <span class="org-string">"Tab"</span>; kb-row-tab: <span class="org-string">"Tab"</span>;
kb-row-first: <span class="org-string">"Home,KP_Home"</span>; kb-row-first: <span class="org-string">"Home,KP_Home"</span>;
kb-row-last: <span class="org-string">"End,KP_End"</span>; kb-row-last: <span class="org-string">"End,KP_End"</span>;
kb-row-select: <span class="org-string">"Control+space"</span>; kb-row-select: <span class="org-string">"Control+space"</span>;
kb-cancel: <span class="org-string">"Escape,Control+g"</span>; kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
} }
</pre> </pre>
</div> </div>
</div> </div>
@ -87,185 +87,185 @@
<h2 id="orged85414">Theme</h2> <h2 id="orged85414">Theme</h2>
<div class="outline-text-2" id="text-orged85414"> <div class="outline-text-2" id="text-orged85414">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-type">configuration</span> { <pre class="src src-conf"><span class="org-type">configuration</span> {
me-select-entry: <span class="org-string">"MouseSecondary"</span>; me-select-entry: <span class="org-string">"MouseSecondary"</span>;
me-accept-entry: <span class="org-string">"MousePrimary"</span>; me-accept-entry: <span class="org-string">"MousePrimary"</span>;
scroll-method: <span class="org-highlight-numbers-number">1</span>; scroll-method: <span class="org-highlight-numbers-number">1</span>;
show-icons: true; show-icons: true;
sidebar-mode: true; sidebar-mode: true;
kb-custom-1: <span class="org-string">""</span>; kb-custom-1: <span class="org-string">""</span>;
kb-custom-2: <span class="org-string">""</span>; kb-custom-2: <span class="org-string">""</span>;
kb-custom-3: <span class="org-string">""</span>; kb-custom-3: <span class="org-string">""</span>;
kb-custom-4: <span class="org-string">""</span>; kb-custom-4: <span class="org-string">""</span>;
kb-custom-5: <span class="org-string">""</span>; kb-custom-5: <span class="org-string">""</span>;
kb-custom-6: <span class="org-string">""</span>; kb-custom-6: <span class="org-string">""</span>;
kb-custom-7: <span class="org-string">""</span>; kb-custom-7: <span class="org-string">""</span>;
kb-custom-8: <span class="org-string">""</span>; kb-custom-8: <span class="org-string">""</span>;
kb-custom-9: <span class="org-string">""</span>; kb-custom-9: <span class="org-string">""</span>;
kb-custom-10: <span class="org-string">""</span>; kb-custom-10: <span class="org-string">""</span>;
kb-select-1: <span class="org-string">"Alt+1"</span>; kb-select-1: <span class="org-string">"Alt+1"</span>;
kb-select-2: <span class="org-string">"Alt+2"</span>; kb-select-2: <span class="org-string">"Alt+2"</span>;
kb-select-3: <span class="org-string">"Alt+3"</span>; kb-select-3: <span class="org-string">"Alt+3"</span>;
kb-select-4: <span class="org-string">"Alt+4"</span>; kb-select-4: <span class="org-string">"Alt+4"</span>;
kb-select-5: <span class="org-string">"Alt+5"</span>; kb-select-5: <span class="org-string">"Alt+5"</span>;
kb-select-6: <span class="org-string">"Alt+6"</span>; kb-select-6: <span class="org-string">"Alt+6"</span>;
kb-select-7: <span class="org-string">"Alt+7"</span>; kb-select-7: <span class="org-string">"Alt+7"</span>;
kb-select-8: <span class="org-string">"Alt+8"</span>; kb-select-8: <span class="org-string">"Alt+8"</span>;
kb-select-9: <span class="org-string">"Alt+9"</span>; kb-select-9: <span class="org-string">"Alt+9"</span>;
kb-select-10: <span class="org-string">"Alt+0"</span>; kb-select-10: <span class="org-string">"Alt+0"</span>;
} }
<span class="org-type">*</span> { <span class="org-type">*</span> {
//// COLORS //// //// COLORS ////
//// uncomment to match bspwm edition theme //// uncomment to match bspwm edition theme
background: <span class="org-comment-delimiter">#</span><span class="org-comment">292f34FF;</span> background: <span class="org-comment-delimiter">#</span><span class="org-comment">292f34FF;</span>
background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">292f3400;</span> background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">292f3400;</span>
foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">F6F9FFFF;</span> foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">F6F9FFFF;</span>
selected: <span class="org-comment-delimiter">#</span><span class="org-comment">1ABB9BFF;</span> selected: <span class="org-comment-delimiter">#</span><span class="org-comment">1ABB9BFF;</span>
selected-foreground: @foreground; selected-foreground: @foreground;
//// uncomment to match Adapta Nokto theme //// uncomment to match Adapta Nokto theme
// background: <span class="org-comment-delimiter">#</span><span class="org-comment">222D32E8;</span> // background: <span class="org-comment-delimiter">#</span><span class="org-comment">222D32E8;</span>
// background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">00000000;</span> // background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">00000000;</span>
// foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">CFD8DCFF;</span> // foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">CFD8DCFF;</span>
// selected: <span class="org-comment-delimiter">#</span><span class="org-comment">00BCD4FF;</span> // selected: <span class="org-comment-delimiter">#</span><span class="org-comment">00BCD4FF;</span>
// selected-foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">FFFFFFFF;</span> // selected-foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">FFFFFFFF;</span>
//// common - active and urgent //// common - active and urgent
active-background: <span class="org-comment-delimiter">#</span><span class="org-comment">3A464BFF;</span> active-background: <span class="org-comment-delimiter">#</span><span class="org-comment">3A464BFF;</span>
urgent-background: <span class="org-comment-delimiter">#</span><span class="org-comment">800000FF;</span> urgent-background: <span class="org-comment-delimiter">#</span><span class="org-comment">800000FF;</span>
urgent-foreground: @foreground; urgent-foreground: @foreground;
selected-urgent-background: @urgent-foreground; selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background; selected-urgent-foreground: @urgent-background;
//// TEXT //// //// TEXT ////
font: <span class="org-string">"xos4 Terminus 18px"</span>; font: <span class="org-string">"xos4 Terminus 18px"</span>;
text-color: @foreground; text-color: @foreground;
//// PADDING ETC //// //// PADDING ETC ////
margin: 0px; margin: 0px;
border: 0px; border: 0px;
padding: 0px; padding: 0px;
spacing: 0px; spacing: 0px;
elementpadding: 2px 0px; elementpadding: 2px 0px;
elementmargin: 0px 2px; elementmargin: 0px 2px;
listmargin: 0px 2px 0px 0px; listmargin: 0px 2px 0px 0px;
//// SIZE //// //// SIZE ////
windowwidth: 40ch; windowwidth: 40ch;
buttonwidth: 18ch; buttonwidth: 18ch;
lines: <span class="org-highlight-numbers-number">12</span>; lines: <span class="org-highlight-numbers-number">12</span>;
fixed-height: false; fixed-height: false;
//// POSITION //// //// POSITION ////
location: northwest; location: northwest;
anchor: northwest; anchor: northwest;
x-offset: 0px; x-offset: 0px;
y-offset: 24px; y-offset: 24px;
//// LAYOUT //// //// LAYOUT ////
scrollbar: true; scrollbar: true;
//// uncomment to get submenu-like style //// uncomment to get submenu-like style
menustyle: [ sb-mainbox ]; menustyle: [ sb-mainbox ];
buttonpadding: 2px 1ch; buttonpadding: 2px 1ch;
button-bg: @background; button-bg: @background;
dynamic: true; dynamic: true;
//// uncomment to get tabs-like style //// uncomment to get tabs-like style
// menustyle: [ tb-mainbox ]; // menustyle: [ tb-mainbox ];
// buttonpadding: 14px 1ch; // buttonpadding: 14px 1ch;
// dynamic: false; // dynamic: false;
} }
////////////////////////////////////////// //////////////////////////////////////////
<span class="org-type">window</span> { <span class="org-type">window</span> {
width: @windowwidth; width: @windowwidth;
children: @menustyle; children: @menustyle;
} }
//submenu-style //submenu-style
<span class="org-type">sb-mainbox</span> { <span class="org-type">sb-mainbox</span> {
orientation: horizontal; orientation: horizontal;
children: [ sidebar, vertibox ]; children: [ sidebar, vertibox ];
} }
//tabs-style //tabs-style
<span class="org-type">tb-mainbox</span> { <span class="org-type">tb-mainbox</span> {
orientation: vertical; orientation: vertical;
children: [ inputbar, horibox ]; children: [ inputbar, horibox ];
background-color: @background; background-color: @background;
} }
//desktop-submenu //desktop-submenu
<span class="org-type">dt-mainbox</span> { <span class="org-type">dt-mainbox</span> {
orientation: vertical; orientation: vertical;
children: [ boxdummy, sb-mainbox ]; children: [ boxdummy, sb-mainbox ];
} }
<span class="org-type">horibox</span> { <span class="org-type">horibox</span> {
orientation: horizontal; orientation: horizontal;
children: [ listview, sidebar ]; children: [ listview, sidebar ];
} }
<span class="org-type">sidebar</span> { <span class="org-type">sidebar</span> {
orientation: vertical; orientation: vertical;
} }
<span class="org-type">button</span> { <span class="org-type">button</span> {
horizontal-align: <span class="org-highlight-numbers-number">0</span>; horizontal-align: <span class="org-highlight-numbers-number">0</span>;
padding: @buttonpadding; padding: @buttonpadding;
width: @buttonwidth; width: @buttonwidth;
background-color: @button-bg; background-color: @button-bg;
expand: false; expand: false;
} }
<span class="org-type">vertibox</span> { <span class="org-type">vertibox</span> {
orientation: vertical; orientation: vertical;
children: [ inputbar, listview ]; children: [ inputbar, listview ];
background-color: @background; background-color: @background;
} }
<span class="org-type">prompt</span> { <span class="org-type">prompt</span> {
enabled: false; enabled: false;
} }
<span class="org-type">listview</span> { <span class="org-type">listview</span> {
margin: @listmargin; margin: @listmargin;
} }
<span class="org-type">scrollbar</span> { <span class="org-type">scrollbar</span> {
handle-width: 0.5ch; handle-width: 0.5ch;
handle-color: @selected; handle-color: @selected;
} }
<span class="org-type">boxdummy</span> { <span class="org-type">boxdummy</span> {
enabled: false; enabled: false;
orientation: vertical; orientation: vertical;
expand: false; expand: false;
children: [ textboxdummy ]; children: [ textboxdummy ];
} }
<span class="org-type">textboxdummy</span> { <span class="org-type">textboxdummy</span> {
str: <span class="org-string">" "</span>; str: <span class="org-string">" "</span>;
} }
<span class="org-type">element, inputbar, textboxdummy</span> { <span class="org-type">element, inputbar, textboxdummy</span> {
padding: @elementpadding; padding: @elementpadding;
margin: @elementmargin; margin: @elementmargin;
width: @elementwidth; width: @elementwidth;
} }
element.normal.active, element.normal.active,
<span class="org-type">element.alternate.active</span> { <span class="org-type">element.alternate.active</span> {
background-color: @active-background; background-color: @active-background;
text-color: @selected-foreground; text-color: @selected-foreground;
} }
element.selected, element.selected,
<span class="org-type">button.selected</span> { <span class="org-type">button.selected</span> {
background-color: @selected; background-color: @selected;
text-color: @selected-foreground; text-color: @selected-foreground;
} }
element.normal.urgent, element.normal.urgent,
<span class="org-type">element.alternate.urgent</span> { <span class="org-type">element.alternate.urgent</span> {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @urgent-foreground; text-color: @urgent-foreground;
} }
<span class="org-type">element.selected.urgent</span> { <span class="org-type">element.selected.urgent</span> {
background-color: @selected-urgent-background; background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground; text-color: @selected-urgent-foreground;
} }
</pre> </pre>
</div> </div>
</div> </div>
@ -273,7 +273,7 @@
</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: 2021-01-03 dim. 22:25</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title><code>systemd</code> services and timers</title> <title><code>systemd</code> services and timers</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -24,45 +24,50 @@
<ul> <ul>
<li><a href="#org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</a> <li><a href="#org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</a>
<ul> <ul>
<li><a href="#org66d0b8b">Service</a></li> <li><a href="#org782b2ab">Service</a></li>
<li><a href="#org6446e63">Timer</a></li> <li><a href="#org0f85a10">Timer</a></li>
<li><a href="#orge7172ba">Script</a></li> <li><a href="#orga2cf44a">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orga6ac362"><code>braingit</code> - Automatic commit and push new brain pages</a> <li><a href="#orga6ac362"><code>braingit</code> - Automatic commit and push new brain pages</a>
<ul> <ul>
<li><a href="#orgaae4848">Service</a></li> <li><a href="#orgf49f7f3">Service</a></li>
<li><a href="#org6a6fc4a">Timer</a></li> <li><a href="#org541a815">Timer</a></li>
<li><a href="#orgd894d23">Script</a></li> <li><a href="#orgdeee651">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgcd55ae1"><code>checkmail</code> - Check new mails</a> <li><a href="#orgcd55ae1"><code>checkmail</code> - Check new mails</a>
<ul> <ul>
<li><a href="#orgc063793">Service</a></li> <li><a href="#org2b2ce61">Service</a></li>
<li><a href="#org81f3f11">Timer</a></li> <li><a href="#org3b13896">Timer</a></li>
<li><a href="#orga2cf44a">Script</a></li> <li><a href="#orgd21f3b8">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgb4148ce"><code>syncmail</code> - Synchronize all mails</a> <li><a href="#orgb4148ce"><code>syncmail</code> - Synchronize all mails</a>
<ul> <ul>
<li><a href="#orgab0dd46">Service</a></li> <li><a href="#orgd646b63">Service</a></li>
<li><a href="#org7b96d65">Timer</a></li> <li><a href="#orga7b9728">Timer</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org64a5ff5"><code>vdirsyncer</code> - Synchronize calendar and contacts</a> <li><a href="#org64a5ff5"><code>vdirsyncer</code> - Synchronize calendar and contacts</a>
<ul> <ul>
<li><a href="#orgf2c8322">Service</a></li> <li><a href="#org527e986">Service</a></li>
<li><a href="#org0f85a10">Timer</a></li> <li><a href="#org057bbfb">Timer</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgea6990c"><code>ssh-agent</code> - SSH Agent</a> <li><a href="#orgea6990c"><code>ssh-agent</code> - SSH Agent</a>
<ul> <ul>
<li><a href="#org4390641">Service</a></li> <li><a href="#orgd52a406">Service</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org6c316cc"><code>powertop</code> - Powertop</a> <li><a href="#org6c316cc"><code>powertop</code> - Powertop</a>
<ul> <ul>
<li><a href="#org782b2ab">Service</a></li> <li><a href="#org8b3fdc8">Service</a></li>
</ul>
</li>
<li><a href="#org4072349"><code>emacs</code> - Emacs</a>
<ul>
<li><a href="#org047c23f">Service</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -76,9 +81,9 @@
<h2 id="org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</h2> <h2 id="org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</h2>
<div class="outline-text-2" id="text-org9efc12d"> <div class="outline-text-2" id="text-org9efc12d">
</div> </div>
<div id="outline-container-org66d0b8b" class="outline-3"> <div id="outline-container-org782b2ab" class="outline-3">
<h3 id="org66d0b8b">Service</h3> <h3 id="org782b2ab">Service</h3>
<div class="outline-text-3" id="text-org66d0b8b"> <div class="outline-text-3" id="text-org782b2ab">
<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
@ -93,9 +98,9 @@
</div> </div>
</div> </div>
<div id="outline-container-org6446e63" class="outline-3"> <div id="outline-container-org0f85a10" class="outline-3">
<h3 id="org6446e63">Timer</h3> <h3 id="org0f85a10">Timer</h3>
<div class="outline-text-3" id="text-org6446e63"> <div class="outline-text-3" id="text-org0f85a10">
<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
@ -116,9 +121,9 @@
</div> </div>
</div> </div>
<div id="outline-container-orge7172ba" class="outline-3"> <div id="outline-container-orga2cf44a" class="outline-3">
<h3 id="orge7172ba">Script</h3> <h3 id="orga2cf44a">Script</h3>
<div class="outline-text-3" id="text-orge7172ba"> <div class="outline-text-3" id="text-orga2cf44a">
<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/
@ -145,9 +150,9 @@
<h2 id="orga6ac362"><code>braingit</code> - Automatic commit and push new brain pages</h2> <h2 id="orga6ac362"><code>braingit</code> - Automatic commit and push new brain pages</h2>
<div class="outline-text-2" id="text-orga6ac362"> <div class="outline-text-2" id="text-orga6ac362">
</div> </div>
<div id="outline-container-orgaae4848" class="outline-3"> <div id="outline-container-orgf49f7f3" class="outline-3">
<h3 id="orgaae4848">Service</h3> <h3 id="orgf49f7f3">Service</h3>
<div class="outline-text-3" id="text-orgaae4848"> <div class="outline-text-3" id="text-orgf49f7f3">
<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 Brain Website everyday <span class="org-variable-name">Description</span>=Sync Brain Website everyday
@ -162,9 +167,9 @@
</div> </div>
</div> </div>
<div id="outline-container-org6a6fc4a" class="outline-3"> <div id="outline-container-org541a815" class="outline-3">
<h3 id="org6a6fc4a">Timer</h3> <h3 id="org541a815">Timer</h3>
<div class="outline-text-3" id="text-org6a6fc4a"> <div class="outline-text-3" id="text-org541a815">
<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 Brain Website everyday <span class="org-variable-name">Description</span>=Sync Brain Website everyday
@ -185,9 +190,9 @@
</div> </div>
</div> </div>
<div id="outline-container-orgd894d23" class="outline-3"> <div id="outline-container-orgdeee651" class="outline-3">
<h3 id="orgd894d23">Script</h3> <h3 id="orgdeee651">Script</h3>
<div class="outline-text-3" id="text-orgd894d23"> <div class="outline-text-3" id="text-orgdeee651">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/brain-website/ <pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/brain-website/
@ -207,9 +212,9 @@
<h2 id="orgcd55ae1"><code>checkmail</code> - Check new mails</h2> <h2 id="orgcd55ae1"><code>checkmail</code> - Check new mails</h2>
<div class="outline-text-2" id="text-orgcd55ae1"> <div class="outline-text-2" id="text-orgcd55ae1">
</div> </div>
<div id="outline-container-orgc063793" class="outline-3"> <div id="outline-container-org2b2ce61" class="outline-3">
<h3 id="orgc063793">Service</h3> <h3 id="org2b2ce61">Service</h3>
<div class="outline-text-3" id="text-orgc063793"> <div class="outline-text-3" id="text-org2b2ce61">
<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
@ -224,9 +229,9 @@
</div> </div>
</div> </div>
<div id="outline-container-org81f3f11" class="outline-3"> <div id="outline-container-org3b13896" class="outline-3">
<h3 id="org81f3f11">Timer</h3> <h3 id="org3b13896">Timer</h3>
<div class="outline-text-3" id="text-org81f3f11"> <div class="outline-text-3" id="text-org3b13896">
<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
@ -250,9 +255,9 @@
</div> </div>
</div> </div>
<div id="outline-container-orga2cf44a" class="outline-3"> <div id="outline-container-orgd21f3b8" class="outline-3">
<h3 id="orga2cf44a">Script</h3> <h3 id="orgd21f3b8">Script</h3>
<div class="outline-text-3" id="text-orga2cf44a"> <div class="outline-text-3" id="text-orgd21f3b8">
<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>
@ -317,9 +322,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
<h2 id="orgb4148ce"><code>syncmail</code> - Synchronize all mails</h2> <h2 id="orgb4148ce"><code>syncmail</code> - Synchronize all mails</h2>
<div class="outline-text-2" id="text-orgb4148ce"> <div class="outline-text-2" id="text-orgb4148ce">
</div> </div>
<div id="outline-container-orgab0dd46" class="outline-3"> <div id="outline-container-orgd646b63" class="outline-3">
<h3 id="orgab0dd46">Service</h3> <h3 id="orgd646b63">Service</h3>
<div class="outline-text-3" id="text-orgab0dd46"> <div class="outline-text-3" id="text-orgd646b63">
<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
@ -334,9 +339,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
</div> </div>
</div> </div>
<div id="outline-container-org7b96d65" class="outline-3"> <div id="outline-container-orga7b9728" class="outline-3">
<h3 id="org7b96d65">Timer</h3> <h3 id="orga7b9728">Timer</h3>
<div class="outline-text-3" id="text-org7b96d65"> <div class="outline-text-3" id="text-orga7b9728">
<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
@ -365,9 +370,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
<h2 id="org64a5ff5"><code>vdirsyncer</code> - Synchronize calendar and contacts</h2> <h2 id="org64a5ff5"><code>vdirsyncer</code> - Synchronize calendar and contacts</h2>
<div class="outline-text-2" id="text-org64a5ff5"> <div class="outline-text-2" id="text-org64a5ff5">
</div> </div>
<div id="outline-container-orgf2c8322" class="outline-3"> <div id="outline-container-org527e986" class="outline-3">
<h3 id="orgf2c8322">Service</h3> <h3 id="org527e986">Service</h3>
<div class="outline-text-3" id="text-orgf2c8322"> <div class="outline-text-3" id="text-org527e986">
<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
@ -383,9 +388,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
</div> </div>
</div> </div>
<div id="outline-container-org0f85a10" class="outline-3"> <div id="outline-container-org057bbfb" class="outline-3">
<h3 id="org0f85a10">Timer</h3> <h3 id="org057bbfb">Timer</h3>
<div class="outline-text-3" id="text-org0f85a10"> <div class="outline-text-3" id="text-org057bbfb">
<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
@ -407,9 +412,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
<h2 id="orgea6990c"><code>ssh-agent</code> - SSH Agent</h2> <h2 id="orgea6990c"><code>ssh-agent</code> - SSH Agent</h2>
<div class="outline-text-2" id="text-orgea6990c"> <div class="outline-text-2" id="text-orgea6990c">
</div> </div>
<div id="outline-container-org4390641" class="outline-3"> <div id="outline-container-orgd52a406" class="outline-3">
<h3 id="org4390641">Service</h3> <h3 id="orgd52a406">Service</h3>
<div class="outline-text-3" id="text-org4390641"> <div class="outline-text-3" id="text-orgd52a406">
<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
@ -431,9 +436,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
<h2 id="org6c316cc"><code>powertop</code> - Powertop</h2> <h2 id="org6c316cc"><code>powertop</code> - Powertop</h2>
<div class="outline-text-2" id="text-org6c316cc"> <div class="outline-text-2" id="text-org6c316cc">
</div> </div>
<div id="outline-container-org782b2ab" class="outline-3"> <div id="outline-container-org8b3fdc8" class="outline-3">
<h3 id="org782b2ab">Service</h3> <h3 id="org8b3fdc8">Service</h3>
<div class="outline-text-3" id="text-org782b2ab"> <div class="outline-text-3" id="text-org8b3fdc8">
<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>=Powertop tunings <span class="org-variable-name">Description</span>=Powertop tunings
@ -449,10 +454,38 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org4072349" class="outline-2">
<h2 id="org4072349"><code>emacs</code> - Emacs</h2>
<div class="outline-text-2" id="text-org4072349">
</div>
<div id="outline-container-org047c23f" class="outline-3">
<h3 id="org047c23f">Service</h3>
<div class="outline-text-3" id="text-org047c23f">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Emacs text editor
<span class="org-variable-name">Documentation</span>=info:emacs man:emacs(<span class="org-highlight-numbers-number">1</span>) https://gnu.org/software/emacs/
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=simple
<span class="org-variable-name">ExecStart</span>=/usr/bin/emacs --fg-daemon
<span class="org-variable-name">ExecStop</span>=/usr/bin/emacsclient --eval <span class="org-string">"(kill-emacs)"</span>
<span class="org-variable-name">Environment</span>=SSH_AUTH_SOCK=%t/keyring/ssh
<span class="org-variable-name">Restart</span>=on-failure
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=default.target
</pre>
</div>
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Termite Configuration</title> <title>Termite Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -159,7 +159,7 @@
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:40</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Torrent Configuration</title> <title>Torrent Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -146,7 +146,7 @@
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>MPV Configuration</title> <title>MPV Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -22,13 +22,7 @@
<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="#org06a0ee3"><code>mpv.conf</code> - MPV Configuration</a> <li><a href="#org06a0ee3"><code>mpv.conf</code> - MPV Configuration</a></li>
<ul>
<li><a href="#orga8a3b4b">Video settings</a></li>
<li><a href="#org70a59b7">Audio settings</a></li>
<li><a href="#org96502c1">Other settings</a></li>
</ul>
</li>
<li><a href="#org9b7ebc9"><code>input.conf</code> - MPV Key Bindings</a></li> <li><a href="#org9b7ebc9"><code>input.conf</code> - MPV Key Bindings</a></li>
</ul> </ul>
</div> </div>
@ -37,122 +31,31 @@
<div id="outline-container-org06a0ee3" class="outline-2"> <div id="outline-container-org06a0ee3" class="outline-2">
<h2 id="org06a0ee3"><code>mpv.conf</code> - MPV Configuration</h2> <h2 id="org06a0ee3"><code>mpv.conf</code> - MPV Configuration</h2>
<div class="outline-text-2" id="text-org06a0ee3"> <div class="outline-text-2" id="text-org06a0ee3">
</div>
<div id="outline-container-orga8a3b4b" class="outline-3">
<h3 id="orga8a3b4b">Video settings</h3>
<div class="outline-text-3" id="text-orga8a3b4b">
<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">Start in fullscreen mode by default.</span> <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">When Floating, put MPV on the bottom right corner</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">fs=yes</span> <span class="org-variable-name">geometry</span>=99%:98%
<span class="org-comment-delimiter"># </span><span class="org-comment">force starting with centered window</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">geometry=50%:50%</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">don't allow a new window to have a size larger than 90% of the screen size</span> <span class="org-comment-delimiter"># </span><span class="org-comment">don't allow a new window to have a size larger than 90% of the screen size</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">autofit-larger=90%x90%</span> <span class="org-variable-name">autofit-larger</span>=40%x40%
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not close the window on exit.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Do not run the screensaver when playing videos</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">keep-open=yes</span> <span class="org-variable-name">stop-screensaver</span>=<span class="org-string">"yes"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not wait with showing the video window until it has loaded. (This will</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">resize the window once video is loaded. Also always shows a window with</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">audio.)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">force-window=immediate</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Disable the On Screen Controller (OSC).</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">osc=no</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Keep the player window on top of all other windows.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">ontop=yes</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Specify high quality video rendering preset (for --vo=gpu only)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Can cause performance problems with some drivers and GPUs.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">profile=gpu-hq</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Force video to lock on the display's refresh rate, and change video and audio</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">speed to some degree to ensure synchronous playback - can cause problems</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">with some drivers and desktop environments.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">video-sync=display-resample</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable hardware decoding if available. Often, this does not work with all</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">video outputs, but should work well with default settings on most systems.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If performance or energy usage is an issue, forcing the vdpau or vaapi VOs</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">may or may not help.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">hwdec=auto</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org70a59b7" class="outline-3">
<h3 id="org70a59b7">Audio settings</h3>
<div class="outline-text-3" id="text-org70a59b7">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Specify default audio device. You can list devices with: --audio-device=help</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">The option takes the device string (the stuff between the '...').</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-device=alsa/default</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not filter audio to keep pitch when changing playback speed.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-pitch-correction=no</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Output 5.1 audio natively, and upmix/downmix audio with a different format.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-channels=5.1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Disable any automatic remix, _if_ the audio output accepts the audio format.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">of the currently played file. See caveats mentioned in the manpage.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">(The default is "auto-safe", see manpage.)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">audio-channels=auto</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org96502c1" class="outline-3">
<h3 id="org96502c1">Other settings</h3>
<div class="outline-text-3" id="text-org96502c1">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Pretend to be a web browser. Might fix playback with some streaming sites,</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">but also will break with shoutcast streams.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">user-agent="Mozilla/5.0"</span>
<span class="org-variable-name">stop-screensaver</span> = <span class="org-string">"yes"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Automatically load subtitle file with filename same to the video</span>
<span class="org-variable-name">sub-auto</span>=fuzzy <span class="org-variable-name">sub-auto</span>=fuzzy
<span class="org-comment-delimiter"># </span><span class="org-comment">cache settings</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Display French subtitles if available.</span>
<span class="org-comment-delimiter">#</span> <span class="org-variable-name">slang</span>=fr
<span class="org-comment-delimiter"># </span><span class="org-comment">Use 150MB input cache by default. The cache is enabled for network streams only.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache-default=153600</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Use 150MB input cache for everything, even local files.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache=153600</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Disable the behavior that the player will pause if the cache goes below a</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">certain fill size.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache-pause=no</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Read ahead about 5 seconds of audio and video packets.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">demuxer-readahead-secs=5.0</span>
<span class="org-comment-delimiter">#</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Raise readahead from demuxer-readahead-secs to this value if a cache is active.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">cache-secs=50.0</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Display English subtitles if available.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Play English audio if available, fall back to French otherwise.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">slang=en</span> <span class="org-variable-name">alang</span>=en,fr
<span class="org-comment-delimiter"># </span><span class="org-comment">Play Finnish audio if available, fall back to English otherwise.</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Do not close mpv at the end of video</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">alang=fi,en</span> <span class="org-variable-name">keep-open</span>=yes
<span class="org-comment-delimiter"># </span><span class="org-comment">Change subtitle encoding. For Arabic subtitles use 'cp1256'.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">If the file seems to be valid UTF-8, prefer UTF-8.</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">(You can add '+' in front of the codepage to force it.)</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">sub-codepage=cp1256</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
</div>
<div id="outline-container-org9b7ebc9" class="outline-2"> <div id="outline-container-org9b7ebc9" class="outline-2">
<h2 id="org9b7ebc9"><code>input.conf</code> - MPV Key Bindings</h2> <h2 id="org9b7ebc9"><code>input.conf</code> - MPV Key Bindings</h2>
@ -364,7 +267,7 @@ Z add sub-delay +0.1 <span class="org-comment-delimiter"># </s
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-03 dim. 22:25 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Windows Config and Install</title> <title>Windows Config and Install</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -26,10 +26,10 @@
<li><a href="#org0143940">Install Windows10 PRO</a></li> <li><a href="#org0143940">Install Windows10 PRO</a></li>
<li><a href="#org0cc05f7">Install Software using Chocolatey</a></li> <li><a href="#org0cc05f7">Install Software using Chocolatey</a></li>
<li><a href="#org0a94edb">Debloat windows10</a></li> <li><a href="#org0a94edb">Debloat windows10</a></li>
<li><a href="#orgb2e9259">SSHFS</a> <li><a href="#org432cd75">SSHFS</a>
<ul> <ul>
<li><a href="#org46e6091">SSH Setup</a></li> <li><a href="#org46e6091">SSH Setup</a></li>
<li><a href="#org07e3d19">SSHFS</a></li> <li><a href="#orgb2e9259">SSHFS</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgb8446e0">Software Setup</a> <li><a href="#orgb8446e0">Software Setup</a>
@ -50,12 +50,12 @@
<li>Create bootable USB key using the woeusb utility (<a href="https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/">https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/</a>)</li> <li>Create bootable USB key using the woeusb utility (<a href="https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/">https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/</a>)</li>
</ul> </ul>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> yay -S woeusb <pre class="src src-bash">yay -S woeusb
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> <span class="org-type">sudo</span> woeusb --device file.iso /dev/sdb --target-filesystem ntfs <pre class="src src-bash"><span class="org-type">sudo</span> woeusb --device file.iso /dev/sdb --target-filesystem ntfs
</pre> </pre>
</div> </div>
</div> </div>
@ -72,7 +72,7 @@
First install Chocolatey using a PowerShell as administrator: First install Chocolatey using a PowerShell as administrator:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> Set-ExecutionPolicy Bypass -Scope Process -Force; <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol = <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol -bor <span class="org-highlight-numbers-number">3072</span>; iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://chocolatey.org/install.ps1'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span> <pre class="src src-bash">Set-ExecutionPolicy Bypass -Scope Process -Force; <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol = <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol -bor <span class="org-highlight-numbers-number">3072</span>; iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://chocolatey.org/install.ps1'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
</pre> </pre>
</div> </div>
@ -80,7 +80,7 @@ First install Chocolatey using a PowerShell as administrator:
Then, install all required software using one command: Then, install all required software using one command:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> choco install -y firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder cura ccleaner neovim <pre class="src src-bash">choco install -y firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder cura ccleaner neovim
</pre> </pre>
</div> </div>
</div> </div>
@ -97,15 +97,15 @@ Then, install all required software using one command:
Run a PowerShell with administrative rights and run: Run a PowerShell with administrative rights and run:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://git.io/debloat'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span> <pre class="src src-bash"><span class="org-function-name">iex</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://git.io/debloat'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb2e9259" class="outline-2"> <div id="outline-container-org432cd75" class="outline-2">
<h2 id="orgb2e9259">SSHFS</h2> <h2 id="org432cd75">SSHFS</h2>
<div class="outline-text-2" id="text-orgb2e9259"> <div class="outline-text-2" id="text-org432cd75">
</div> </div>
<div id="outline-container-org46e6091" class="outline-3"> <div id="outline-container-org46e6091" class="outline-3">
<h3 id="org46e6091">SSH Setup</h3> <h3 id="org46e6091">SSH Setup</h3>
@ -114,7 +114,7 @@ Run a PowerShell with administrative rights and run:
Install OpenSSH from <code>chocolatey</code> as the one packed with Windows is quite old (<a href="https://blog.frankfu.com.au/2019/03/21/moving-from-windows-1809s-openssh-to-openssh-portable/">link</a>): Install OpenSSH from <code>chocolatey</code> as the one packed with Windows is quite old (<a href="https://blog.frankfu.com.au/2019/03/21/moving-from-windows-1809s-openssh-to-openssh-portable/">link</a>):
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> choco install openssh --package-parameters=<span class="org-string">"/SSHAgentFeature"</span> <pre class="src src-bash">choco install openssh --package-parameters=<span class="org-string">"/SSHAgentFeature"</span>
</pre> </pre>
</div> </div>
@ -122,7 +122,7 @@ Install OpenSSH from <code>chocolatey</code> as the one packed with Windows is q
Then generate the keys: Then generate the keys:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> ssh-keygen <pre class="src src-bash">ssh-keygen
</pre> </pre>
</div> </div>
@ -130,14 +130,14 @@ Then generate the keys:
Start the SSH-Agent to automatically unlock the keys: Start the SSH-Agent to automatically unlock the keys:
</p> </p>
<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">Start the service</span> <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Start the service</span>
Start-Service ssh-agent Start-Service ssh-agent
<span class="org-comment-delimiter"># </span><span class="org-comment">This should return a status of Running</span> <span class="org-comment-delimiter"># </span><span class="org-comment">This should return a status of Running</span>
Get-Service ssh-agent Get-Service ssh-agent
<span class="org-comment-delimiter"># </span><span class="org-comment">Now load your key files into ssh-agent</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Now load your key files into ssh-agent</span>
ssh-add ssh-add
</pre> </pre>
</div> </div>
@ -145,7 +145,7 @@ Start the SSH-Agent to automatically unlock the keys:
Copy the public key with: Copy the public key with:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> Get-Content -Path $<span class="org-variable-name">HOME</span><span class="org-string">\.</span>ssh\id_rsa.pub | Set-Clipboard <pre class="src src-bash">Get-Content -Path $<span class="org-variable-name">HOME</span><span class="org-string">\.</span>ssh\id_rsa.pub | Set-Clipboard
</pre> </pre>
</div> </div>
@ -159,9 +159,9 @@ Finally, it should be possible to ssh to the server.
</div> </div>
</div> </div>
<div id="outline-container-org07e3d19" class="outline-3"> <div id="outline-container-orgb2e9259" class="outline-3">
<h3 id="org07e3d19">SSHFS</h3> <h3 id="orgb2e9259">SSHFS</h3>
<div class="outline-text-3" id="text-org07e3d19"> <div class="outline-text-3" id="text-orgb2e9259">
<p> <p>
Install <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a>. Install <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a>.
</p> </p>
@ -170,7 +170,7 @@ Install <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a>.
Run the <code>Registry Editor</code>, and find <code>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WinFsp\Services\sshfs.kr</code>, then edit <code>CommandLine</code>: Run the <code>Registry Editor</code>, and find <code>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WinFsp\Services\sshfs.kr</code>, then edit <code>CommandLine</code>:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">svc %1 %2 %U -o create_dir_umask</span>=<span class="org-highlight-numbers-number">000</span> -o create_file_umask=<span class="org-highlight-numbers-number">111</span> -o umask=<span class="org-highlight-numbers-number">000</span> <pre class="src src-conf"><span class="org-variable-name">svc %1 %2 %U -o create_dir_umask</span>=<span class="org-highlight-numbers-number">000</span> -o create_file_umask=<span class="org-highlight-numbers-number">111</span> -o umask=<span class="org-highlight-numbers-number">000</span>
</pre> </pre>
</div> </div>
@ -178,7 +178,7 @@ Run the <code>Registry Editor</code>, and find <code>Computer\HKEY_LOCAL_MACHINE
Then, to mount the network drive using <code>sshfs</code>: Then, to mount the network drive using <code>sshfs</code>:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> net use X: <span class="org-string">\\</span>sshfs.kr\thomas@192.168.1.150\srv\storage /persistent:yes <pre class="src src-bash">net use X: <span class="org-string">\\</span>sshfs.kr\thomas@192.168.1.150\srv\storage /persistent:yes
</pre> </pre>
</div> </div>
@ -186,7 +186,7 @@ Then, to mount the network drive using <code>sshfs</code>:
To un-mount it: To un-mount it:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"> net use X: /delete <pre class="src src-bash">net use X: /delete
</pre> </pre>
</div> </div>
</div> </div>
@ -226,7 +226,7 @@ Then, Syncthing can be accessed with: <a href="http://localhost:8384/">http://lo
</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: 2021-01-03 dim. 22:25</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files related to Xorg</title> <title>Configuration Files related to Xorg</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -522,7 +522,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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,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>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Zathura</title> <title>Zathura</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -155,7 +155,7 @@ pdftk $<span class="org-highlight-numbers-number">1</span> <span class="org-type
</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: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-08 ven. 01:43</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -37,4 +37,7 @@ There are Specific configuration files for:
- *GUI Toolkit*: [[file:gtk.org][GTK]] - *GUI Toolkit*: [[file:gtk.org][GTK]]
- [[file:config.org][Other Configurations]] and some [[file:data.org][data]] - [[file:config.org][Other Configurations]] and some [[file:data.org][data]]
I also have a nice Home-Server which configuration files can be found [[file:nas.org][here]]. I also have:
- a nice Home-Server ([[file:nas.org][conf]])
- a Windows PC that I occasionally use ([[file:windows.org][conf]])
- an Android phone ([[file:android.org][conf]])

View File

@ -9,7 +9,6 @@ Installation:
sudo pacman -S yay sudo pacman -S yay
#+end_src #+end_src
#+name: tab:yay_cheatsheet
#+caption: =yay= - Cheatsheet #+caption: =yay= - Cheatsheet
| Command | Usage | | Command | Usage |
|---------------------+-----------------------------| |---------------------+-----------------------------|
@ -59,7 +58,6 @@ It can be installed like so:
Its configuration file is described [[file:termite.org][here]]. Its configuration file is described [[file:termite.org][here]].
#+name: tab:termite_cheatsheet
#+caption: =termite= - Cheatsheet #+caption: =termite= - Cheatsheet
| Command | Usage | | Command | Usage |
|--------------------+-------------------------| |--------------------+-------------------------|
@ -102,7 +100,6 @@ Ressources:
- https://github.com/rothgar/awesome-tmux - https://github.com/rothgar/awesome-tmux
- https://thoughtbot.com/upcase/tmux - https://thoughtbot.com/upcase/tmux
#+name: tab:tmux_cheatsheet
#+caption: =tmux= - Cheatsheet #+caption: =tmux= - Cheatsheet
| Command | Usage | | Command | Usage |
|----------------+-------------------------------| |----------------+-------------------------------|

View File

@ -4,7 +4,6 @@
* Installation * Installation
** Hardware ** Hardware
#+name: tab:home_server_hardware
#+caption: Home Server Hardware #+caption: Home Server Hardware
| *Part* | *Model* | | *Part* | *Model* |
|-------------+-------------------------------------------------| |-------------+-------------------------------------------------|