Publish the rest of the html files

This commit is contained in:
Thomas Dehaeze 2021-01-08 01:43:48 +01:00
parent 583dc1e64b
commit d5e5b6cd57
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">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Desktop file for the applications</title>
<meta name="generator" content="Org mode" />
@ -230,7 +230,7 @@
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-03 dim. 22:19 -->
<!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Bash Configuration</title>
<meta name="generator" content="Org mode" />
@ -90,7 +90,7 @@
<h3 id="orgb8018f7">If not running interactively, don&rsquo;t do anything</h3>
<div class="outline-text-3" id="text-orgb8018f7">
<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>
</div>
</div>
@ -100,7 +100,7 @@
<h3 id="org16d9917">Bash Completion</h3>
<div class="outline-text-3" id="text-org16d9917">
<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>
</div>
</div>
@ -110,7 +110,7 @@
<h3 id="org17408fe">FZF</h3>
<div class="outline-text-3" id="text-org17408fe">
<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>
</div>
</div>
@ -120,8 +120,8 @@
<h3 id="org46238bc">Ignore case for auto-completion</h3>
<div class="outline-text-3" id="text-org46238bc">
<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>
<span class="org-builtin">bind</span> <span class="org-string">"set show-all-if-ambiguous 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>
</pre>
</div>
</div>
@ -131,7 +131,7 @@
<h3 id="org53c6a26">Use Color</h3>
<div class="outline-text-3" id="text-org53c6a26">
<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>
</div>
</div>
@ -141,33 +141,33 @@
<h3 id="org5664e96">Some config</h3>
<div class="outline-text-3" id="text-org5664e96">
<div class="org-src-container">
<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
<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-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>
<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>
<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-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-comment-delimiter"># </span><span class="org-comment">Line wrap on window resize</span>
<span class="org-builtin">shopt</span> -s checkwinsize
<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-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-builtin">bind</span> Space:magic-space
<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-builtin">bind</span> Space:magic-space
<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-comment-delimiter"># </span><span class="org-comment">Expand Aliases</span>
<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-builtin">shopt</span> -s autocd
<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-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-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-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-comment-delimiter"># </span><span class="org-comment">Save multi-line commands as one command</span>
<span class="org-builtin">shopt</span> -s cmdhist
</pre>
</div>
</div>
@ -177,7 +177,7 @@
<h3 id="org26dcd39">Prompt - <code>PS1</code></h3>
<div class="outline-text-3" id="text-org26dcd39">
<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>
</div>
</div>
@ -187,8 +187,8 @@
<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="org-src-container">
<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>
<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>
</pre>
</div>
</div>
@ -202,13 +202,13 @@
<h4 id="orgad8f6ac">Better defaults for some commands</h4>
<div class="outline-text-4" id="text-orgad8f6ac">
<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>
<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-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">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>
<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">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">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">tmux</span>=<span class="org-string">'tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'</span>
</pre>
</div>
</div>
@ -218,13 +218,13 @@
<h4 id="orgd2723b6">One letter aliases</h4>
<div class="outline-text-4" id="text-orgd2723b6">
<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>
<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">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">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>
<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">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">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">o</span>=<span class="org-string">"xdg-open"</span>
</pre>
</div>
</div>
@ -234,7 +234,7 @@
<h4 id="org785c2af">Neovim</h4>
<div class="outline-text-4" id="text-org785c2af">
<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>
</div>
</div>
@ -244,8 +244,8 @@
<h4 id="org61be992">Vim-like</h4>
<div class="outline-text-4" id="text-org61be992">
<div class="org-src-container">
<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
<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
</pre>
</div>
</div>
@ -255,7 +255,7 @@
<h4 id="org6f5c44a">Print each PATH entry on a separate line</h4>
<div class="outline-text-4" id="text-org6f5c44a">
<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>
</div>
</div>
@ -270,32 +270,32 @@
<h4 id="org716962c"><code>colors</code> - Display colors</h4>
<div class="outline-text-4" id="text-org716962c">
<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>
<span class="org-builtin">local</span> fgc bgc vals seq0
<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">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">"Values 30..37 are \e[33mforeground colors\e[m\n"</span>
<span class="org-builtin">printf</span> <span class="org-string">"Values 40..47 are \e[43mbackground colors\e[m\n"</span>
<span class="org-builtin">printf</span> <span class="org-string">"Value 1 gives a \e[1mbold-faced look\e[m\n\n"</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>
<span class="org-builtin">printf</span> <span class="org-string">"Values 30..37 are \e[33mforeground colors\e[m\n"</span>
<span class="org-builtin">printf</span> <span class="org-string">"Values 40..47 are \e[43mbackground colors\e[m\n"</span>
<span class="org-builtin">printf</span> <span class="org-string">"Value 1 gives a \e[1mbold-faced look\e[m\n\n"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">foreground colors</span>
<span class="org-keyword">for</span> fgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>30..37<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">background colors</span>
<span class="org-keyword">for</span> bgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>40..47<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
<span class="org-variable-name">fgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">fgc</span>#37<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">white</span>
<span class="org-variable-name">bgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">bgc</span>#40<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">black</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">foreground colors</span>
<span class="org-keyword">for</span> fgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>30..37<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">background colors</span>
<span class="org-keyword">for</span> bgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>40..47<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
<span class="org-variable-name">fgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">fgc</span>#37<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">white</span>
<span class="org-variable-name">bgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">bgc</span>#40<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">black</span>
<span class="org-variable-name">vals</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">{fgc:+$fgc;}</span></span><span class="org-string">${bgc}"</span>
<span class="org-variable-name">vals</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">vals</span>%%;<span class="org-rainbow-delimiters-depth-2">}</span>
<span class="org-variable-name">vals</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">{fgc:+$fgc;}</span></span><span class="org-string">${bgc}"</span>
<span class="org-variable-name">vals</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">vals</span>%%;<span class="org-rainbow-delimiters-depth-2">}</span>
<span class="org-variable-name">seq0</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">{vals:+\e[${vals}</span></span><span class="org-string">m}"</span>
<span class="org-builtin">printf</span> <span class="org-string">" %-9s"</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">{seq0:-(default)}</span></span><span class="org-string">"</span>
<span class="org-builtin">printf</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">{seq0}</span></span><span class="org-string">TEXT\e[m"</span>
<span class="org-builtin">printf</span> <span class="org-string">" \e[</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+${vals+$vals;}</span></span><span class="org-string">}1mBOLD\e[m"</span>
<span class="org-keyword">done</span>
<span class="org-type">echo</span>; <span class="org-type">echo</span>
<span class="org-keyword">done</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
<span class="org-variable-name">seq0</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">{vals:+\e[${vals}</span></span><span class="org-string">m}"</span>
<span class="org-builtin">printf</span> <span class="org-string">" %-9s"</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">{seq0:-(default)}</span></span><span class="org-string">"</span>
<span class="org-builtin">printf</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">{seq0}</span></span><span class="org-string">TEXT\e[m"</span>
<span class="org-builtin">printf</span> <span class="org-string">" \e[</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+${vals+$vals;}</span></span><span class="org-string">}1mBOLD\e[m"</span>
<span class="org-keyword">done</span>
<span class="org-type">echo</span>; <span class="org-type">echo</span>
<span class="org-keyword">done</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
</pre>
</div>
</div>
@ -312,9 +312,9 @@ small enough for one screen.
</p>
<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>
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>
<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;
<span class="org-rainbow-delimiters-depth-1">}</span>
</pre>
</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>
<div class="outline-text-4" id="text-org7b0ff56">
<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>
<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>
<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-rainbow-delimiters-depth-1">}</span>
</pre>
</div>
</div>
@ -336,18 +336,18 @@ small enough for one screen.
<h4 id="org78520b0"><code>fs</code> - Filesize of directory</h4>
<div class="outline-text-4" id="text-org78520b0">
<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>
<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-keyword">else</span>
<span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sh;
<span class="org-keyword">fi</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-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-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
du $<span class="org-variable-name">arg</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">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>* ./*;
<span class="org-keyword">fi</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-builtin">local</span> <span class="org-variable-name">arg</span>=-sbh;
<span class="org-keyword">else</span>
<span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sh;
<span class="org-keyword">fi</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-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-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
du $<span class="org-variable-name">arg</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">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>* ./*;
<span class="org-keyword">fi</span>;
<span class="org-rainbow-delimiters-depth-1">}</span>
</pre>
</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>
<div class="outline-text-4" id="text-orgfc72283">
<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>
<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>
<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-rainbow-delimiters-depth-1">}</span>
</pre>
</div>
</div>
@ -373,18 +373,18 @@ small enough for one screen.
</p>
<div class="org-src-container">
<pre class="src src-bash"> sms<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-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-builtin">local</span> <span class="org-variable-name">phone_number</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">khard</span> phone --parsable | sort -u | fzf | cut -f1 -d$<span class="org-string">'\t'</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> -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">{phone_number}</span></span><span class="org-string">"</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-type">echo</span> No recipient was chosen &gt;&amp;<span class="org-highlight-numbers-number">2</span>
<span class="org-keyword">return</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
<span class="org-keyword">fi</span>
<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-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-builtin">local</span> <span class="org-variable-name">phone_number</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">khard</span> phone --parsable | sort -u | fzf | cut -f1 -d$<span class="org-string">'\t'</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> -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">{phone_number}</span></span><span class="org-string">"</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-type">echo</span> No recipient was chosen &gt;&amp;<span class="org-highlight-numbers-number">2</span>
<span class="org-keyword">return</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
<span class="org-keyword">fi</span>
<span class="org-rainbow-delimiters-depth-1">}</span>
</pre>
</div>
@ -400,20 +400,20 @@ Undocumented feature which sets the size to &ldquo;unlimited&rdquo;. <a href="ht
</p>
<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>
<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>
<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">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-variable-name">HISTCONTROL</span>=<span class="org-string">"erasedups:ignoreboth"</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-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-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-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">%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-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">%T equivalent to %H:%M:%S (24-hours format)</span>
<span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">'%F %T '</span>
</pre>
</div>
@ -422,7 +422,7 @@ Change the file location because certain bash sessions truncate <code>.bash_hist
</p>
<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>
</div>
@ -431,7 +431,7 @@ Force prompt to write history after every command. <a href="http://superuser.com
</p>
<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>
</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>
<div class="outline-text-2" id="text-bash_profile">
<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
<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 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
</pre>
</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>
<div class="outline-text-3" id="text-org15952b2">
<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>
<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 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>
</pre>
</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>
<div class="outline-text-3" id="text-org6c38c79">
<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>
</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
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">DESKTOP_SESSION</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>;<span class="org-keyword">then</span>
<span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">gnome-keyring-daemon</span> --start<span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-builtin">export</span> SSH_AUTH_SOCK
<span class="org-keyword">fi</span>
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">DESKTOP_SESSION</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>;<span class="org-keyword">then</span>
<span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">gnome-keyring-daemon</span> --start<span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-builtin">export</span> SSH_AUTH_SOCK
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
@ -495,11 +495,11 @@ Enable the keyring for applications run through the terminal
<h3 id="org10b40b3">Export some default applications</h3>
<div class="outline-text-3" id="text-org10b40b3">
<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>
<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">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>
<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">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">FILE</span>=<span class="org-string">"ranger"</span>
</pre>
</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.
</p>
<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>
</div>
</div>
@ -526,7 +526,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org0fa2d26">XDG Default</h4>
<div class="outline-text-4" id="text-org0fa2d26">
<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>
</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>
<div class="outline-text-4" id="text-org51055fb">
<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>
<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 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>
</pre>
</div>
</div>
@ -547,7 +547,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org08d14fc">Goland</h4>
<div class="outline-text-4" id="text-org08d14fc">
<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>
</div>
</div>
@ -557,7 +557,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org18f49cf">Latex Path</h4>
<div class="outline-text-4" id="text-org18f49cf">
<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>
</div>
</div>
@ -567,7 +567,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org992e4cf">Bitwarden Session</h4>
<div class="outline-text-4" id="text-org992e4cf">
<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>
</div>
</div>
@ -577,7 +577,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org6bdbd18">Python Path</h4>
<div class="outline-text-4" id="text-org6bdbd18">
<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>
</div>
</div>
@ -588,11 +588,11 @@ This is important for termite to work when sshing in remote machines.
<h3 id="org8a10d32">Path</h3>
<div class="outline-text-3" id="text-org8a10d32">
<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>
<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>=~/.config/emacs/bin:$<span class="org-variable-name">PATH</span>
<span class="org-builtin">export</span> PATH
<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">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-builtin">export</span> PATH
</pre>
</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>
<div class="outline-text-3" id="text-orgda5e48a">
<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>
<span class="org-keyword">exec</span> startx
<span class="org-keyword">fi</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">fi</span>
</pre>
</div>
</div>
@ -618,11 +618,11 @@ This is important for termite to work when sshing in remote machines.
Completion:
</p>
<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>
set show-all-if-ambiguous on
<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
<span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span>
set completion-ignore-case on
<span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span>
set completion-ignore-case on
</pre>
</div>
@ -630,15 +630,15 @@ Completion:
vi mode:
</p>
<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>
set editing-mode vi
<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
<span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span>
set show-mode-in-prompt on
<span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span>
set show-mode-in-prompt on
<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-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>
<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-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>
</div>
@ -646,19 +646,19 @@ vi mode:
Key-bindings for vi-mode:
</p>
<div class="org-src-container">
<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>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-aisudo \C-e"</span>
<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>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-aisudo \C-e"</span>
set keymap vi-insert
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-asudo \C-e"</span>
set keymap vi-insert
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-asudo \C-e"</span>
</pre>
</div>
@ -666,16 +666,16 @@ Key-bindings for vi-mode:
Colorized completion
</p>
<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>
set colored-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span>
set visible-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span>
set mark-symlinked-directories On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span>
set colored-completion-prefix On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span>
set menu-complete-display-prefix On
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color files by types</span>
set colored-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span>
set visible-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span>
set mark-symlinked-directories On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span>
set colored-completion-prefix On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span>
set menu-complete-display-prefix On
</pre>
</div>
@ -683,7 +683,7 @@ Colorized completion
Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</p>
<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>
</div>
</div>
@ -691,7 +691,7 @@ Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Binaries</title>
<meta name="generator" content="Org mode" />
@ -24,6 +24,7 @@
<ul>
<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="#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="#bukurun"><code>bukurun</code> - Open link from Buku</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 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">
<h2 id="nordvpn-toggle"><code>nordvpn-toggle</code> - Connect to VPN using NordVPN</h2>
<div class="outline-text-2" id="text-nordvpn-toggle">
@ -706,10 +726,10 @@ ffmpeg -v warning -i $<span class="org-highlight-numbers-number">1</span> -i $<s
<div class="outline-text-2" id="text-yt-audio">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
tmux split -v -l <span class="org-highlight-numbers-number">5</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -xic -f bestaudio/best </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
tmux split -v -l <span class="org-highlight-numbers-number">5</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -xic -f bestaudio/best </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
<span class="org-keyword">else</span>
<span class="org-type">cd</span> ~/Downloads/;
setsid nohup youtube-dl --add-metadata -xic -f bestaudio/best $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp;
<span class="org-type">cd</span> ~/Downloads/;
setsid nohup youtube-dl --add-metadata -xic -f bestaudio/best $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp;
<span class="org-keyword">fi</span>
</pre>
</div>
@ -721,10 +741,10 @@ ffmpeg -v warning -i $<span class="org-highlight-numbers-number">1</span> -i $<s
<div class="outline-text-2" id="text-yt-video">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
tmux split -v -l <span class="org-highlight-numbers-number">5</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -ic </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
tmux split -v -l <span class="org-highlight-numbers-number">5</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">cd</span></span><span class="org-string"> ~/Downloads/ &amp;&amp; youtube-dl --add-metadata -ic </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; tmux select-pane -U
<span class="org-keyword">else</span>
<span class="org-type">cd</span> ~/Downloads/;
setsid nohup youtube-dl --add-metadata -ic $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp;
<span class="org-type">cd</span> ~/Downloads/;
setsid nohup youtube-dl --add-metadata -ic $<span class="org-highlight-numbers-number">1</span> &amp;&gt; /dev/null &amp;
<span class="org-keyword">fi</span>
</pre>
</div>
@ -1308,7 +1328,7 @@ Run some simple calculations with <code>rofi</code>.
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>BSPWM</title>
<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 id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Picom (Compositor)</title>
<meta name="generator" content="Org mode" />
@ -109,7 +109,7 @@
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-04 lun. 21:32 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files</title>
<meta name="generator" content="Org mode" />
@ -38,37 +38,37 @@
<h2 id="org3f17b04">SSH</h2>
<div class="outline-text-2" id="text-org3f17b04">
<div class="org-src-container">
<pre class="src src-conf"> AddKeysToAgent yes
<pre class="src src-conf">AddKeysToAgent yes
Host grenoble
hostname ***REMOVED***
Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze
IdentityFile ~/.ssh/id_rsa
Host grenoble
hostname ***REMOVED***
Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze
IdentityFile ~/.ssh/id_rsa
Host wingaudio
hostname 207.154.251.241
Port <span class="org-highlight-numbers-number">22</span>
user tdehaeze
IdentityFile ~/.ssh/id_rsa
Host wingaudio
hostname 207.154.251.241
Port <span class="org-highlight-numbers-number">22</span>
user tdehaeze
IdentityFile ~/.ssh/id_rsa
Host octoprint
hostname 192.168.1.56
Port <span class="org-highlight-numbers-number">22</span>
user pi
IdentityFile ~/.ssh/id_rsa
Host octoprint
hostname 192.168.1.56
Port <span class="org-highlight-numbers-number">22</span>
user pi
IdentityFile ~/.ssh/id_rsa
Host hassio
hostname 192.168.1.101
Port <span class="org-highlight-numbers-number">10022</span>
user root
IdentityFile ~/.ssh/id_rsa
Host hassio
hostname 192.168.1.101
Port <span class="org-highlight-numbers-number">10022</span>
user root
IdentityFile ~/.ssh/id_rsa
Host nas
hostname 192.168.1.50
Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze
IdentityFile ~/.ssh/id_rsa
Host nas
hostname 192.168.1.50
Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze
IdentityFile ~/.ssh/id_rsa
</pre>
</div>
</div>
@ -78,28 +78,28 @@
<h2 id="org10b81df">Font</h2>
<div class="outline-text-2" id="text-org10b81df">
<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;
&lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt;
&lt;fontconfig&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;fontconfig&gt;
&lt;alias&gt;
&lt;family&gt;serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Libertine&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Libertine&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;sans-serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;sans&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;monospace&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Hack Nerd Font Mono&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;family&gt;sans-serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;sans&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;monospace&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Hack Nerd Font Mono&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;/fontconfig&gt;
&lt;/fontconfig&gt;
</pre>
</div>
</div>
@ -109,8 +109,8 @@
<h2 id="orge8ba5b4">GnuPG</h2>
<div class="outline-text-2" id="text-orge8ba5b4">
<div class="org-src-container">
<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>
<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>
</pre>
</div>
</div>
@ -120,22 +120,22 @@
<h2 id="org3a8118a">Redshift</h2>
<div class="outline-text-2" id="text-org3a8118a">
<div class="org-src-container">
<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-night</span>=<span class="org-highlight-numbers-number">3500</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-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-night</span>=<span class="org-highlight-numbers-number">0.4</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">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-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-type">manual</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>
</pre>
</div>
</div>
@ -145,26 +145,26 @@
<h2 id="org91a7258">dmenu</h2>
<div class="outline-text-2" id="text-org91a7258">
<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>
<span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</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-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-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-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-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-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-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-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-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-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-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-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-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>
</pre>
</div>
</div>
@ -174,20 +174,20 @@
<h2 id="orge5eb33f">Locale</h2>
<div class="outline-text-2" id="text-orge5eb33f">
<div class="org-src-container">
<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_NUMERIC</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_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_PAPER</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_TELEPHONE</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_ALL</span>=
<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_NUMERIC</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_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_PAPER</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_TELEPHONE</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_ALL</span>=
</pre>
</div>
</div>
@ -196,6 +196,10 @@
<div id="outline-container-org33bbfc0" class="outline-2">
<h2 id="org33bbfc0">Netrc</h2>
<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">
<pre class="src src-conf">machine traefik.tdehaeze.xyz
login tdehaeze
@ -229,9 +233,9 @@ login tdehaeze
<h2 id="orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</h2>
<div class="outline-text-2" id="text-orgd31ca2a">
<div class="org-src-container">
<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>
}
<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>
}
</pre>
</div>
@ -239,8 +243,8 @@ login tdehaeze
Display settings
</p>
<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>
<span class="org-variable-name">max_str_width</span>=<span class="org-highlight-numbers-number">80</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>
</pre>
</div>
@ -248,11 +252,11 @@ Display settings
Keybindings
</p>
<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>
<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">edit</span>=<span class="org-string">"Alt+e"</span>
<span class="org-variable-name">delete</span>=<span class="org-string">"Alt+d"</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">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">delete</span>=<span class="org-string">"Alt+d"</span>
</pre>
</div>
@ -260,7 +264,7 @@ Keybindings
Colors
</p>
<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>
</div>
</div>
@ -268,7 +272,7 @@ Colors
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Contact Configuration</title>
<meta name="generator" content="Org mode" />
@ -83,7 +83,7 @@
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Doom Emacs Configuration</title>
<meta name="generator" content="Org mode" />
@ -905,7 +905,7 @@ $0
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Git Configuration</title>
<meta name="generator" content="Org mode" />
@ -315,7 +315,7 @@ Session.vim
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>GTK Configuration</title>
<meta name="generator" content="Org mode" />
@ -79,7 +79,7 @@
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>I3 Configuration</title>
<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">"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">"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 [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>
</div>
</div>
@ -288,7 +291,7 @@ exec --no-startup-id polybar top &gt;&gt;/tmp/polybar.log 2&gt;&amp;1 &amp;
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>SXIV Configuration</title>
<meta name="generator" content="Org mode" />
@ -39,7 +39,7 @@ done
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-04 lun. 21:32 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Dotfiles - Manjaro Linux</title>
<meta name="generator" content="Org mode" />
@ -59,8 +59,13 @@ There are Specific configuration files for:
</ul>
<p>
I also have a nice Home-Server which configuration files can be found <a href="nas.html">here</a>.
I also have:
</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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-03 dim. 22:25 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Installation</title>
<meta name="generator" content="Org mode" />
@ -45,28 +45,28 @@
</li>
<li><a href="#org3faed1a"><code>buku</code> - Bookmark Manager</a>
<ul>
<li><a href="#org3456005">Installation</a></li>
<li><a href="#orga60529d">Installation</a></li>
<li><a href="#org66b2873">Integration with Rofi</a>
<ul>
<li><a href="#org907cb1e">Installation</a></li>
<li><a href="#orgf9fc19a">Configuration</a></li>
<li><a href="#org68aae66">Installation</a></li>
<li><a href="#orgc84e212">Configuration</a></li>
</ul>
</li>
<li><a href="#org95386c4">Integration with qutebrowser</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="#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>
</ul>
</li>
<li><a href="#orga55a047"><code>qutebrowser</code> - Browser</a>
<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>
<ul>
<li><a href="#org9022cce">Installation</a></li>
<li><a href="#org1766e12">Usage</a></li>
<li><a href="#org15f7bb0">Installation</a></li>
<li><a href="#org2083266">Usage</a></li>
</ul>
</li>
<li><a href="#org013ba8f">Integration with Pass: the password manager</a></li>
@ -99,17 +99,17 @@
</li>
<li><a href="#org3b6c55a"><code>weechat</code> - Chat Application</a>
<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="#org2e3ae2e">Scripts</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="#orgdabe0b1">Send message using <code>$EDITOR</code></a></li>
<li><a href="#org58be0d2">CheatSheet</a></li>
<li><a href="#org509ffd4">Slack Integration</a>
<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>
</ul>
</li>
@ -123,8 +123,8 @@
<ul>
<li><a href="#org12c74b1"><code>mbsync</code> - Synchronize Mailboxes</a>
<ul>
<li><a href="#orgad8fb08">Installation</a></li>
<li><a href="#org44a1d21">Configuration</a></li>
<li><a href="#org8469f2c">Installation</a></li>
<li><a href="#org1438dad">Configuration</a></li>
<li><a href="#org1ae519a">Automation using systemd</a>
<ul>
<li><a href="#org0635e65">Retreive New mails</a></li>
@ -135,16 +135,16 @@
</li>
<li><a href="#org6772b74"><code>msmtp</code> - Send Mails</a>
<ul>
<li><a href="#orgf507b6e">Installation</a></li>
<li><a href="#orgabdbb6e">Installation</a></li>
</ul>
</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>
<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="#org18d6f5c">Open Url from mail</a></li>
<li><a href="#org2e61d03">Ressources</a></li>
<li><a href="#org8668b7f">Ressources</a></li>
</ul>
</li>
<li><a href="#org9998819">Notification system</a></li>
@ -154,8 +154,8 @@
<ul>
<li><a href="#org79b747c">Ranger</a>
<ul>
<li><a href="#org044fff0">Installation</a></li>
<li><a href="#org9a2ae60">Configuration</a></li>
<li><a href="#orge600ebe">Installation</a></li>
<li><a href="#org4d7cfe9">Configuration</a></li>
<li><a href="#orga7f1329">Display pdf</a></li>
</ul>
</li>
@ -164,35 +164,35 @@
</li>
<li><a href="#org0ceb81d"><code>sxiv</code> - Image viewer</a>
<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="#org8b3168a">Cheatsheet</a></li>
<li><a href="#org3cf7d23">Cheatsheet</a></li>
</ul>
</li>
<li><a href="#orga293c83"><code>sxhkd</code> - HotKey Manager</a></li>
<li><a href="#orgb9ddb93"><code>i3</code> - Windows Manager</a>
<ul>
<li><a href="#org91cce94">Installation</a></li>
<li><a href="#orgc3884fa">Configuration</a></li>
<li><a href="#org37ef10f">Installation</a></li>
<li><a href="#org28433b9">Configuration</a></li>
</ul>
</li>
<li><a href="#org2021f80"><code>polybar</code> - Top Bar</a>
<ul>
<li><a href="#org75e1a8b">Installation</a></li>
<li><a href="#orgcd15094">Installation</a></li>
</ul>
</li>
<li><a href="#orgc4420f9"><code>picom</code> - Compositor</a>
<ul>
<li><a href="#orgfd7dadc">Installation</a></li>
<li><a href="#orgb88dbef">Configuration</a></li>
<li><a href="#org6fa1004">Installation</a></li>
<li><a href="#org0e753bb">Configuration</a></li>
<li><a href="#org3eda8aa">Automatic run as daemon</a></li>
</ul>
</li>
<li><a href="#org2f8f940"><code>dunst</code> - Notification Manager</a>
<ul>
<li><a href="#orgb8aa8f7">Installation</a></li>
<li><a href="#orga4c3ecc">Configuration</a></li>
<li><a href="#org7ffaa1b">Usage</a></li>
<li><a href="#org1b888fa">Installation</a></li>
<li><a href="#org987b1bf">Configuration</a></li>
<li><a href="#orgeb85a3c">Usage</a></li>
</ul>
</li>
<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="#orga841f53"><code>zathura</code> - PDF Reader</a>
<ul>
<li><a href="#org6c293f5">Installation</a></li>
<li><a href="#orgc84e212">Configuration</a></li>
<li><a href="#orgd4263bb">Cheatsheet</a></li>
<li><a href="#org1ee2b54">Installation</a></li>
<li><a href="#orge029c21">Configuration</a></li>
<li><a href="#org70fcfb3">Cheatsheet</a></li>
<li><a href="#orgf6c7dea">Multi-monitor pdf presentation - pdfpc</a>
<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="#org2083266">Usage</a></li>
<li><a href="#orgc8c0e83">Usage</a></li>
</ul>
</li>
</ul>
@ -265,7 +265,7 @@
<li><a href="#org64fd10c"><code>anydesk</code> - Remote Desktop</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="#org35b6f05">Others</a>
<li><a href="#org9bb91c2">Others</a>
<ul>
<li><a href="#orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</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>
</ul>
</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="#orgd465654">Hardware</a></li>
<li><a href="#orgd0eebf3">Network</a></li>
@ -304,7 +304,7 @@
</ul>
</li>
<li><a href="#org73b11c0">Some notes - Systemd</a></li>
<li><a href="#org8668b7f">Ressources</a>
<li><a href="#orgcb95e75">Ressources</a>
<ul>
<li><a href="#org24c5a0a">Dotfiles</a></li>
<li><a href="#orgfe7316a">Linux Softwares</a></li>
@ -339,7 +339,7 @@ Installation:
</pre>
</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>
<colgroup>
@ -457,7 +457,7 @@ It can be installed like so:
Its configuration file is described <a href="termite.html">here</a>.
</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>
<colgroup>
@ -564,7 +564,7 @@ Ressources:
<li><a href="https://thoughtbot.com/upcase/tmux">https://thoughtbot.com/upcase/tmux</a></li>
</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>
<colgroup>
@ -966,9 +966,9 @@ Bitwarden <a href="https://github.com/bitwarden/cli">https://github.com/bitwarde
</p>
</div>
<div id="outline-container-org3456005" class="outline-3">
<h3 id="org3456005">Installation</h3>
<div class="outline-text-3" id="text-org3456005">
<div id="outline-container-orga60529d" class="outline-3">
<h3 id="orga60529d">Installation</h3>
<div class="outline-text-3" id="text-orga60529d">
<div class="org-src-container">
<pre class="src src-bash"> yay -S buku
</pre>
@ -984,9 +984,9 @@ Bitwarden <a href="https://github.com/bitwarden/cli">https://github.com/bitwarde
</p>
</div>
<div id="outline-container-org907cb1e" class="outline-4">
<h4 id="org907cb1e">Installation</h4>
<div class="outline-text-4" id="text-org907cb1e">
<div id="outline-container-org68aae66" class="outline-4">
<h4 id="org68aae66">Installation</h4>
<div class="outline-text-4" id="text-org68aae66">
<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
<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 id="outline-container-orgf9fc19a" class="outline-4">
<h4 id="orgf9fc19a">Configuration</h4>
<div class="outline-text-4" id="text-orgf9fc19a">
<div id="outline-container-orgc84e212" class="outline-4">
<h4 id="orgc84e212">Configuration</h4>
<div class="outline-text-4" id="text-orgc84e212">
<p>
The configuration file is here: <code>~/.config/buku_run/config</code>
</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 id="outline-container-org672ee85" class="outline-3">
<h3 id="org672ee85">Cheatsheet</h3>
<div class="outline-text-3" id="text-org672ee85">
<div id="outline-container-orgd4263bb" class="outline-3">
<h3 id="orgd4263bb">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgd4263bb">
<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>
</div>
<div id="outline-container-orgc4c0b83" class="outline-3">
<h3 id="orgc4c0b83">Installation</h3>
<div class="outline-text-3" id="text-orgc4c0b83">
<div id="outline-container-orgbb25038" class="outline-3">
<h3 id="orgbb25038">Installation</h3>
<div class="outline-text-3" id="text-orgbb25038">
<div class="org-src-container">
<pre class="src src-bash"> yay -S qutebrowser
</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>
<div class="outline-text-3" id="text-org39f7a62">
</div>
<div id="outline-container-org9022cce" class="outline-4">
<h4 id="org9022cce">Installation</h4>
<div class="outline-text-4" id="text-org9022cce">
<div id="outline-container-org15f7bb0" class="outline-4">
<h4 id="org15f7bb0">Installation</h4>
<div class="outline-text-4" id="text-org15f7bb0">
<div class="org-src-container">
<pre class="src src-bash"> yay -S pdfjs
</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 id="outline-container-org1766e12" class="outline-4">
<h4 id="org1766e12">Usage</h4>
<div class="outline-text-4" id="text-org1766e12">
<div id="outline-container-org2083266" class="outline-4">
<h4 id="org2083266">Usage</h4>
<div class="outline-text-4" id="text-org2083266">
<p>
When opening a pdf file on qutebrowser, you&rsquo;ll be ask for options:
</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/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/i-dont-care-about-cookies/">I don&rsquo;t care about cookies</a></li>
</ul>
</div>
</div>
@ -1660,9 +1661,9 @@ This looks for contacts in all indexed emails.
</p>
</div>
<div id="outline-container-org2b698d8" class="outline-3">
<h3 id="org2b698d8">Installation</h3>
<div class="outline-text-3" id="text-org2b698d8">
<div id="outline-container-orgbea33e5" class="outline-3">
<h3 id="orgbea33e5">Installation</h3>
<div class="outline-text-3" id="text-orgbea33e5">
<div class="org-src-container">
<pre class="src src-bash"> yay -S weechat
</pre>
@ -1773,9 +1774,9 @@ Then we install some dependencies
</div>
</div>
<div id="outline-container-orgdeb9ac4" class="outline-3">
<h3 id="orgdeb9ac4">Configuration</h3>
<div class="outline-text-3" id="text-orgdeb9ac4">
<div id="outline-container-org3be6ef2" class="outline-3">
<h3 id="org3be6ef2">Configuration</h3>
<div class="outline-text-3" id="text-org3be6ef2">
<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://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>
</div>
<div id="outline-container-org1b81db0" class="outline-4">
<h4 id="org1b81db0">Installation</h4>
<div class="outline-text-4" id="text-org1b81db0">
<div id="outline-container-org9289017" class="outline-4">
<h4 id="org9289017">Installation</h4>
<div class="outline-text-4" id="text-org9289017">
<div class="org-src-container">
<pre class="src src-bash"> yay -S python2-websocket-client
</pre>
@ -1998,9 +1999,9 @@ It runs weechat inside tmux.
</p>
</div>
<div id="outline-container-orgad8fb08" class="outline-4">
<h4 id="orgad8fb08">Installation</h4>
<div class="outline-text-4" id="text-orgad8fb08">
<div id="outline-container-org8469f2c" class="outline-4">
<h4 id="org8469f2c">Installation</h4>
<div class="outline-text-4" id="text-org8469f2c">
<div class="org-src-container">
<pre class="src src-bash"> yay -S isync
</pre>
@ -2008,9 +2009,9 @@ It runs weechat inside tmux.
</div>
</div>
<div id="outline-container-org44a1d21" class="outline-4">
<h4 id="org44a1d21">Configuration</h4>
<div class="outline-text-4" id="text-org44a1d21">
<div id="outline-container-org1438dad" class="outline-4">
<h4 id="org1438dad">Configuration</h4>
<div class="outline-text-4" id="text-org1438dad">
<p>
<code>~/.mbsyncrc</code>
</p>
@ -2064,9 +2065,9 @@ systemctl --user start syncmail.timer
</p>
</div>
<div id="outline-container-orgf507b6e" class="outline-4">
<h4 id="orgf507b6e">Installation</h4>
<div class="outline-text-4" id="text-orgf507b6e">
<div id="outline-container-orgabdbb6e" class="outline-4">
<h4 id="orgabdbb6e">Installation</h4>
<div class="outline-text-4" id="text-orgabdbb6e">
<div class="org-src-container">
<pre class="src src-bash"> yay -S msmtp
</pre>
@ -2092,9 +2093,9 @@ systemctl --user start syncmail.timer
</p>
</div>
<div id="outline-container-org9c967e2" class="outline-4">
<h4 id="org9c967e2">Installation</h4>
<div class="outline-text-4" id="text-org9c967e2">
<div id="outline-container-org72a4f49" class="outline-4">
<h4 id="org72a4f49">Installation</h4>
<div class="outline-text-4" id="text-org72a4f49">
<div class="org-src-container">
<pre class="src src-bash"> yay -S neomutt
</pre>
@ -2122,9 +2123,9 @@ systemctl --user start syncmail.timer
</div>
</div>
<div id="outline-container-org2e61d03" class="outline-4">
<h4 id="org2e61d03">Ressources</h4>
<div class="outline-text-4" id="text-org2e61d03">
<div id="outline-container-org8668b7f" class="outline-4">
<h4 id="org8668b7f">Ressources</h4>
<div class="outline-text-4" id="text-org8668b7f">
<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="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>
</p>
</div>
<div id="outline-container-org044fff0" class="outline-4">
<h4 id="org044fff0">Installation</h4>
<div class="outline-text-4" id="text-org044fff0">
<div id="outline-container-orge600ebe" class="outline-4">
<h4 id="orge600ebe">Installation</h4>
<div class="outline-text-4" id="text-orge600ebe">
<div class="org-src-container">
<pre class="src src-bash">yay -S ranger
</pre>
@ -2173,9 +2174,9 @@ Configuration files:
</div>
</div>
<div id="outline-container-org9a2ae60" class="outline-4">
<h4 id="org9a2ae60">Configuration</h4>
<div class="outline-text-4" id="text-org9a2ae60">
<div id="outline-container-org4d7cfe9" class="outline-4">
<h4 id="org4d7cfe9">Configuration</h4>
<div class="outline-text-4" id="text-org4d7cfe9">
<p>
The configuration file is <code>~/.config/ranger/rc.conf</code>.
</p>
@ -2219,9 +2220,9 @@ It works better with Urxvt.
</p>
</div>
<div id="outline-container-orgecd8612" class="outline-3">
<h3 id="orgecd8612">Installation</h3>
<div class="outline-text-3" id="text-orgecd8612">
<div id="outline-container-org7c2b09c" class="outline-3">
<h3 id="org7c2b09c">Installation</h3>
<div class="outline-text-3" id="text-org7c2b09c">
<div class="org-src-container">
<pre class="src src-bash"> yay -S sxiv
</pre>
@ -2239,9 +2240,9 @@ It works better with Urxvt.
</div>
</div>
<div id="outline-container-org8b3168a" class="outline-3">
<h3 id="org8b3168a">Cheatsheet</h3>
<div class="outline-text-3" id="text-org8b3168a">
<div id="outline-container-org3cf7d23" class="outline-3">
<h3 id="org3cf7d23">Cheatsheet</h3>
<div class="outline-text-3" id="text-org3cf7d23">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -2314,9 +2315,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p>
</div>
<div id="outline-container-org91cce94" class="outline-3">
<h3 id="org91cce94">Installation</h3>
<div class="outline-text-3" id="text-org91cce94">
<div id="outline-container-org37ef10f" class="outline-3">
<h3 id="org37ef10f">Installation</h3>
<div class="outline-text-3" id="text-org37ef10f">
<div class="org-src-container">
<pre class="src src-bash"> yay -S i3-gaps
</pre>
@ -2324,9 +2325,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</div>
</div>
<div id="outline-container-orgc3884fa" class="outline-3">
<h3 id="orgc3884fa">Configuration</h3>
<div class="outline-text-3" id="text-orgc3884fa">
<div id="outline-container-org28433b9" class="outline-3">
<h3 id="org28433b9">Configuration</h3>
<div class="outline-text-3" id="text-org28433b9">
<p>
<code>~/.i3/config</code>
</p>
@ -2346,9 +2347,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p>
</div>
<div id="outline-container-org75e1a8b" class="outline-3">
<h3 id="org75e1a8b">Installation</h3>
<div class="outline-text-3" id="text-org75e1a8b">
<div id="outline-container-orgcd15094" class="outline-3">
<h3 id="orgcd15094">Installation</h3>
<div class="outline-text-3" id="text-orgcd15094">
<div class="org-src-container">
<pre class="src src-bash"> yay -S polybar
</pre>
@ -2369,9 +2370,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</p>
</div>
<div id="outline-container-orgfd7dadc" class="outline-3">
<h3 id="orgfd7dadc">Installation</h3>
<div class="outline-text-3" id="text-orgfd7dadc">
<div id="outline-container-org6fa1004" class="outline-3">
<h3 id="org6fa1004">Installation</h3>
<div class="outline-text-3" id="text-org6fa1004">
<div class="org-src-container">
<pre class="src src-bash"> yay -S picom
</pre>
@ -2379,9 +2380,9 @@ Configuration file: <a href="sxhkd.html">SXHKD</a>.
</div>
</div>
<div id="outline-container-orgb88dbef" class="outline-3">
<h3 id="orgb88dbef">Configuration</h3>
<div class="outline-text-3" id="text-orgb88dbef">
<div id="outline-container-org0e753bb" class="outline-3">
<h3 id="org0e753bb">Configuration</h3>
<div class="outline-text-3" id="text-org0e753bb">
<p>
<code>~/.config/picom/picom.conf</code>
</p>
@ -2411,9 +2412,9 @@ Compton is run from <code>.xprofile</code> config in the background:
</p>
</div>
<div id="outline-container-orgb8aa8f7" class="outline-3">
<h3 id="orgb8aa8f7">Installation</h3>
<div class="outline-text-3" id="text-orgb8aa8f7">
<div id="outline-container-org1b888fa" class="outline-3">
<h3 id="org1b888fa">Installation</h3>
<div class="outline-text-3" id="text-org1b888fa">
<div class="org-src-container">
<pre class="src src-bash"> yay -S dunst dunstify
</pre>
@ -2421,18 +2422,18 @@ Compton is run from <code>.xprofile</code> config in the background:
</div>
</div>
<div id="outline-container-orga4c3ecc" class="outline-3">
<h3 id="orga4c3ecc">Configuration</h3>
<div class="outline-text-3" id="text-orga4c3ecc">
<div id="outline-container-org987b1bf" class="outline-3">
<h3 id="org987b1bf">Configuration</h3>
<div class="outline-text-3" id="text-org987b1bf">
<p>
<code>~/.config/dunst/dunstrc</code>
</p>
</div>
</div>
<div id="outline-container-org7ffaa1b" class="outline-3">
<h3 id="org7ffaa1b">Usage</h3>
<div class="outline-text-3" id="text-org7ffaa1b">
<div id="outline-container-orgeb85a3c" class="outline-3">
<h3 id="orgeb85a3c">Usage</h3>
<div class="outline-text-3" id="text-orgeb85a3c">
<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>
@ -2879,9 +2880,9 @@ Configuration:
<a href="https://pwmt.org/projects/zathura/">https://pwmt.org/projects/zathura/</a>
</p>
</div>
<div id="outline-container-org6c293f5" class="outline-3">
<h3 id="org6c293f5">Installation</h3>
<div class="outline-text-3" id="text-org6c293f5">
<div id="outline-container-org1ee2b54" class="outline-3">
<h3 id="org1ee2b54">Installation</h3>
<div class="outline-text-3" id="text-org1ee2b54">
<div class="org-src-container">
<pre class="src src-bash"> yay -S zathura
</pre>
@ -2901,18 +2902,18 @@ It seems that mupdf is better that poppler to view pdf.
</div>
</div>
<div id="outline-container-orgc84e212" class="outline-3">
<h3 id="orgc84e212">Configuration</h3>
<div class="outline-text-3" id="text-orgc84e212">
<div id="outline-container-orge029c21" class="outline-3">
<h3 id="orge029c21">Configuration</h3>
<div class="outline-text-3" id="text-orge029c21">
<p>
<code>~/.config/zathura/zathurarc</code>
</p>
</div>
</div>
<div id="outline-container-orgd4263bb" class="outline-3">
<h3 id="orgd4263bb">Cheatsheet</h3>
<div class="outline-text-3" id="text-orgd4263bb">
<div id="outline-container-org70fcfb3" class="outline-3">
<h3 id="org70fcfb3">Cheatsheet</h3>
<div class="outline-text-3" id="text-org70fcfb3">
<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>
</div>
<div id="outline-container-orga60529d" class="outline-4">
<h4 id="orga60529d">Installation</h4>
<div class="outline-text-4" id="text-orga60529d">
<div id="outline-container-org0476127" class="outline-4">
<h4 id="org0476127">Installation</h4>
<div class="outline-text-4" id="text-org0476127">
<div class="org-src-container">
<pre class="src src-bash"> yay -S pdfpc
</pre>
@ -3035,9 +3036,9 @@ pdfpc is a great tool for showing pdf presentations. It support:
</div>
</div>
<div id="outline-container-org2083266" class="outline-4">
<h4 id="org2083266">Usage</h4>
<div class="outline-text-4" id="text-org2083266">
<div id="outline-container-orgc8c0e83" class="outline-4">
<h4 id="orgc8c0e83">Usage</h4>
<div class="outline-text-4" id="text-orgc8c0e83">
<div class="org-src-container">
<pre class="src src-bash"> pdfpc filename.pdf
</pre>
@ -3301,9 +3302,9 @@ Configuration:
</div>
</div>
<div id="outline-container-org35b6f05" class="outline-2">
<h2 id="org35b6f05">Others</h2>
<div class="outline-text-2" id="text-org35b6f05">
<div id="outline-container-org9bb91c2" class="outline-2">
<h2 id="org9bb91c2">Others</h2>
<div class="outline-text-2" id="text-org9bb91c2">
</div>
<div id="outline-container-orgf054688" class="outline-3">
<h3 id="orgf054688"><code>maim=/=flameshot</code> - Take Screenshots</h3>
@ -3775,9 +3776,9 @@ Using command line:
</div>
</div>
<div id="outline-container-org9bb91c2" class="outline-3">
<h3 id="org9bb91c2">Others</h3>
<div class="outline-text-3" id="text-org9bb91c2">
<div id="outline-container-orgb4a3de0" class="outline-3">
<h3 id="orgb4a3de0">Others</h3>
<div class="outline-text-3" id="text-orgb4a3de0">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -4100,9 +4101,9 @@ To see next timers
</div>
</div>
<div id="outline-container-org8668b7f" class="outline-2">
<h2 id="org8668b7f">Ressources</h2>
<div class="outline-text-2" id="text-org8668b7f">
<div id="outline-container-orgcb95e75" class="outline-2">
<h2 id="orgcb95e75">Ressources</h2>
<div class="outline-text-2" id="text-orgcb95e75">
</div>
<div id="outline-container-org24c5a0a" class="outline-3">
<h3 id="org24c5a0a">Dotfiles</h3>
@ -4170,6 +4171,11 @@ To see next timers
<td class="org-left">Synchronize calendars and contacts</td>
</tr>
<tr>
<td class="org-left"><code>abook</code></td>
<td class="org-left">Address book with mutt support</td>
</tr>
<tr>
<td class="org-left"><code>urlview</code></td>
<td class="org-left">URL extractor/launcher</td>
@ -4181,12 +4187,7 @@ To see next timers
</tr>
<tr>
<td class="org-left"><code>abook</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"><code>lynx</code></td>
<td class="org-left">Text mode web browser</td>
</tr>
@ -4474,6 +4475,11 @@ To see next timers
<td class="org-left"><code>pandoc</code></td>
<td class="org-left">Swiss-army knife of markup format conversion</td>
</tr>
<tr>
<td class="org-left"><code>uni</code></td>
<td class="org-left">Query the Unicode database from the commandline</td>
</tr>
</tbody>
</table>
</div>
@ -4482,7 +4488,7 @@ To see next timers
</div>
<div id="postamble" class="status">
<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>
</body>
</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">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Matlab Configuration</title>
<meta name="generator" content="Org mode" />
@ -307,7 +307,7 @@ Import a nice color scheme.
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-03 dim. 22:25 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Music/Sound Configuration</title>
<meta name="generator" content="Org mode" />
@ -40,14 +40,14 @@
<h2 id="pavucontrol"><code>pavucontrol</code> - Volume Control</h2>
<div class="outline-text-2" id="text-pavucontrol">
<div class="org-src-container">
<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">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">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">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>
<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">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">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">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>
</pre>
</div>
</div>
@ -57,47 +57,47 @@
<h2 id="mopidy"><code>mopidy</code> - Music Server</h2>
<div class="outline-text-2" id="text-mopidy">
<div class="org-src-container">
<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">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_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>
<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">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_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-type">mpd</span>]
<span class="org-variable-name">enabled</span> = true
<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">password</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">zeroconf</span> = Mopidy MPD server on $hostname
<span class="org-variable-name">command_blacklist</span> = listall,listallinfo
<span class="org-variable-name">default_playlist_scheme</span> = m3u
[<span class="org-type">mpd</span>]
<span class="org-variable-name">enabled</span> = true
<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">password</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">zeroconf</span> = Mopidy MPD server on $hostname
<span class="org-variable-name">command_blacklist</span> = listall,listallinfo
<span class="org-variable-name">default_playlist_scheme</span> = m3u
[<span class="org-type">jellyfin</span>]
<span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz/
<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">libraries</span> = Music
<span class="org-variable-name">albumartistsort</span> = True
<span class="org-variable-name">album_format</span> = {ProductionYear} - {Name}
[<span class="org-type">jellyfin</span>]
<span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz/
<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">libraries</span> = Music
<span class="org-variable-name">albumartistsort</span> = True
<span class="org-variable-name">album_format</span> = {ProductionYear} - {Name}
[<span class="org-type">file</span>]
<span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> =
.db
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
[<span class="org-type">file</span>]
<span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> =
.db
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
</pre>
</div>
</div>
@ -119,7 +119,7 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
Configuration directory.
</p>
<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>
</div>
@ -127,9 +127,9 @@ Configuration directory.
MPD Configuration.
</p>
<div class="org-src-container">
<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_music_dir</span> = ~/Music
<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_music_dir</span> = ~/Music
</pre>
</div>
@ -137,7 +137,7 @@ MPD Configuration.
Notification of song change.
</p>
<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>
</div>
@ -145,11 +145,11 @@ Notification of song change.
Better user interface
</p>
<div class="org-src-container">
<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">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">playlist_display_mode</span> = <span class="org-string">"columns"</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">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">playlist_display_mode</span> = <span class="org-string">"columns"</span>
</pre>
</div>
@ -157,13 +157,13 @@ Better user interface
Sorting by tracking number and then title
</p>
<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>
<span class="org-variable-name">browser_sort_format</span> = <span class="org-string">'{%n - %t}|{%t}'</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>
</pre>
</div>
<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>
</div>
</div>
@ -173,42 +173,42 @@ Sorting by tracking number and then title
<h3 id="orga43b7ae">Bindings</h3>
<div class="outline-text-3" id="text-orga43b7ae">
<div class="org-src-container">
<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>
def_key <span class="org-string">"Q"</span>
quit
def_key <span class="org-string">"g"</span>
move_home
def_key <span class="org-string">"G"</span>
move_end
def_key <span class="org-string">"j"</span>
scroll_down
def_key <span class="org-string">"k"</span>
scroll_up
def_key <span class="org-string">"ctrl-u"</span>
page_up
def_key <span class="org-string">"ctrl-d"</span>
page_down
def_key <span class="org-string">"l"</span>
enter_directory
def_key <span class="org-string">"h"</span>
jump_to_parent_directory
def_key <span class="org-string">"."</span>
show_lyrics
def_key <span class="org-string">"n"</span>
next_found_item
def_key <span class="org-string">"N"</span>
previous_found_item
def_key <span class="org-string">"J"</span>
move_sort_order_down
def_key <span class="org-string">"K"</span>
move_sort_order_up
def_key <span class="org-string">"d"</span>
delete_playlist_items
def_key <span class="org-string">"+"</span>
volume_up
def_key <span class="org-string">"-"</span>
volume_down
<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>
def_key <span class="org-string">"Q"</span>
quit
def_key <span class="org-string">"g"</span>
move_home
def_key <span class="org-string">"G"</span>
move_end
def_key <span class="org-string">"j"</span>
scroll_down
def_key <span class="org-string">"k"</span>
scroll_up
def_key <span class="org-string">"ctrl-u"</span>
page_up
def_key <span class="org-string">"ctrl-d"</span>
page_down
def_key <span class="org-string">"l"</span>
enter_directory
def_key <span class="org-string">"h"</span>
jump_to_parent_directory
def_key <span class="org-string">"."</span>
show_lyrics
def_key <span class="org-string">"n"</span>
next_found_item
def_key <span class="org-string">"N"</span>
previous_found_item
def_key <span class="org-string">"J"</span>
move_sort_order_down
def_key <span class="org-string">"K"</span>
move_sort_order_up
def_key <span class="org-string">"d"</span>
delete_playlist_items
def_key <span class="org-string">"+"</span>
volume_up
def_key <span class="org-string">"-"</span>
volume_down
</pre>
</div>
@ -224,14 +224,14 @@ Sorting by tracking number and then title
</p>
<div class="org-src-container">
<pre class="src src-conf"> directory: ~/Music
library: ~/Music/musiclibrary.db
art_filename: cover
<pre class="src src-conf">directory: ~/Music
library: ~/Music/musiclibrary.db
art_filename: cover
import:
move: yes
import:
move: yes
plugins: fromfilename discogs
plugins: fromfilename discogs
</pre>
</div>
</div>
@ -241,26 +241,26 @@ Sorting by tracking number and then title
<h2 id="curseradio"><code>curseradio</code> - Radio with curseradio</h2>
<div class="outline-text-2" id="text-curseradio">
<div class="org-src-container">
<pre class="src src-conf"> [<span class="org-type">opml</span>]
<span class="org-variable-name">root</span> = http://opml.radiotime.com/
<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-type">playback</span>]
<span class="org-variable-name">command</span> = /usr/bin/mpv
[<span class="org-type">playback</span>]
<span class="org-variable-name">command</span> = /usr/bin/mpv
[<span class="org-type">interface</span>]
<span class="org-variable-name">keymap</span> = vi
[<span class="org-type">interface</span>]
<span class="org-variable-name">keymap</span> = vi
[<span class="org-type">keymap.vi</span>]
<span class="org-variable-name">up</span> = k
<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">end</span> = $
<span class="org-variable-name">pageup</span> = u
<span class="org-variable-name">pagedown</span> = d
<span class="org-variable-name">enter</span> = l
<span class="org-variable-name">stop</span> = p
<span class="org-variable-name">exit</span> = q
<span class="org-variable-name">favourite</span> = f
[<span class="org-type">keymap.vi</span>]
<span class="org-variable-name">up</span> = k
<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">end</span> = $
<span class="org-variable-name">pageup</span> = u
<span class="org-variable-name">pagedown</span> = d
<span class="org-variable-name">enter</span> = l
<span class="org-variable-name">stop</span> = p
<span class="org-variable-name">exit</span> = q
<span class="org-variable-name">favourite</span> = f
</pre>
</div>
</div>
@ -268,7 +268,7 @@ Sorting by tracking number and then title
</div>
<div id="postamble" class="status">
<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>
</body>
</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">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Polybar Configuration</title>
<meta name="generator" content="Org mode" />
@ -61,12 +61,6 @@
<li><a href="#org42979cb">Toggle Redshift</a></li>
</ul>
</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>
<ul>
<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>
</ul>
</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>
<ul>
<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>
<div class="outline-text-3" id="text-orgab7b816">
<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-type">echo</span> <span class="org-string">"&#61930;"</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-keyword">fi</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-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-keyword">fi</span>
</pre>
</div>
</div>
@ -739,48 +739,6 @@ checkmail -q &amp;&amp; <span class="org-sh-escaped-newline">\</span>
</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">
<h2 id="orgaca766b">Packages</h2>
<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>
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>
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>
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>
</pre>
</div>
@ -1095,6 +1054,48 @@ yay -Sy &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&a
</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">
<h2 id="orgb2ea4f9">Wireguard</h2>
<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 id="postamble" class="status">
<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>
</body>
</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">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-03 dim. 22:25 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Rofi Configuration</title>
<meta name="generator" content="Org mode" />
@ -32,52 +32,52 @@
<h2 id="orgcda15fb">Rofi</h2>
<div class="outline-text-2" id="text-orgcda15fb">
<div class="org-src-container">
<pre class="src src-conf"> <span class="org-type">configuration</span> {
modi: <span class="org-string">"window,run,ssh"</span>;
width: <span class="org-highlight-numbers-number">50</span>;
lines: <span class="org-highlight-numbers-number">15</span>;
columns: <span class="org-highlight-numbers-number">1</span>;
font: <span class="org-string">"Hack Nerd Font 12"</span>;
fixed-num-lines: true;
show-icons: false;
terminal: <span class="org-string">"rofi-sensible-terminal"</span>;
sort: false;
case-sensitive: false;
cycle: true;
sidebar-mode: false;
auto-select: false;
combi-modi: <span class="org-string">"window,run"</span>;
matching: <span class="org-string">"normal"</span>;
line-margin: <span class="org-highlight-numbers-number">2</span>;
line-padding: <span class="org-highlight-numbers-number">1</span>;
separator-style: <span class="org-string">"dash"</span>;
hide-scrollbar: true;
fullscreen: false;
dpi: -1;
show-match: true;
theme: <span class="org-string">"gruvbox-dark-soft"</span>;
kb-move-front: <span class="org-string">"Control+a"</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-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-forward: <span class="org-string">"Right,Control+f"</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-to-eol: <span class="org-string">"Control+k"</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-custom: <span class="org-string">"Control+Return"</span>;
kb-accept-alt: <span class="org-string">"Shift+Return"</span>;
kb-delete-entry: <span class="org-string">"Shift+Delete"</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-tab: <span class="org-string">"Tab"</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-select: <span class="org-string">"Control+space"</span>;
kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
}
<pre class="src src-conf"><span class="org-type">configuration</span> {
modi: <span class="org-string">"window,run,ssh"</span>;
width: <span class="org-highlight-numbers-number">50</span>;
lines: <span class="org-highlight-numbers-number">15</span>;
columns: <span class="org-highlight-numbers-number">1</span>;
font: <span class="org-string">"Hack Nerd Font 12"</span>;
fixed-num-lines: true;
show-icons: false;
terminal: <span class="org-string">"rofi-sensible-terminal"</span>;
sort: false;
case-sensitive: false;
cycle: true;
sidebar-mode: false;
auto-select: false;
combi-modi: <span class="org-string">"window,run"</span>;
matching: <span class="org-string">"normal"</span>;
line-margin: <span class="org-highlight-numbers-number">2</span>;
line-padding: <span class="org-highlight-numbers-number">1</span>;
separator-style: <span class="org-string">"dash"</span>;
hide-scrollbar: true;
fullscreen: false;
dpi: -1;
show-match: true;
theme: <span class="org-string">"gruvbox-dark-soft"</span>;
kb-move-front: <span class="org-string">"Control+a"</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-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-forward: <span class="org-string">"Right,Control+f"</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-to-eol: <span class="org-string">"Control+k"</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-custom: <span class="org-string">"Control+Return"</span>;
kb-accept-alt: <span class="org-string">"Shift+Return"</span>;
kb-delete-entry: <span class="org-string">"Shift+Delete"</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-tab: <span class="org-string">"Tab"</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-select: <span class="org-string">"Control+space"</span>;
kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
}
</pre>
</div>
</div>
@ -87,185 +87,185 @@
<h2 id="orged85414">Theme</h2>
<div class="outline-text-2" id="text-orged85414">
<div class="org-src-container">
<pre class="src src-conf"> <span class="org-type">configuration</span> {
me-select-entry: <span class="org-string">"MouseSecondary"</span>;
me-accept-entry: <span class="org-string">"MousePrimary"</span>;
scroll-method: <span class="org-highlight-numbers-number">1</span>;
show-icons: true;
sidebar-mode: true;
kb-custom-1: <span class="org-string">""</span>;
kb-custom-2: <span class="org-string">""</span>;
kb-custom-3: <span class="org-string">""</span>;
kb-custom-4: <span class="org-string">""</span>;
kb-custom-5: <span class="org-string">""</span>;
kb-custom-6: <span class="org-string">""</span>;
kb-custom-7: <span class="org-string">""</span>;
kb-custom-8: <span class="org-string">""</span>;
kb-custom-9: <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-2: <span class="org-string">"Alt+2"</span>;
kb-select-3: <span class="org-string">"Alt+3"</span>;
kb-select-4: <span class="org-string">"Alt+4"</span>;
kb-select-5: <span class="org-string">"Alt+5"</span>;
kb-select-6: <span class="org-string">"Alt+6"</span>;
kb-select-7: <span class="org-string">"Alt+7"</span>;
kb-select-8: <span class="org-string">"Alt+8"</span>;
kb-select-9: <span class="org-string">"Alt+9"</span>;
kb-select-10: <span class="org-string">"Alt+0"</span>;
}
<pre class="src src-conf"><span class="org-type">configuration</span> {
me-select-entry: <span class="org-string">"MouseSecondary"</span>;
me-accept-entry: <span class="org-string">"MousePrimary"</span>;
scroll-method: <span class="org-highlight-numbers-number">1</span>;
show-icons: true;
sidebar-mode: true;
kb-custom-1: <span class="org-string">""</span>;
kb-custom-2: <span class="org-string">""</span>;
kb-custom-3: <span class="org-string">""</span>;
kb-custom-4: <span class="org-string">""</span>;
kb-custom-5: <span class="org-string">""</span>;
kb-custom-6: <span class="org-string">""</span>;
kb-custom-7: <span class="org-string">""</span>;
kb-custom-8: <span class="org-string">""</span>;
kb-custom-9: <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-2: <span class="org-string">"Alt+2"</span>;
kb-select-3: <span class="org-string">"Alt+3"</span>;
kb-select-4: <span class="org-string">"Alt+4"</span>;
kb-select-5: <span class="org-string">"Alt+5"</span>;
kb-select-6: <span class="org-string">"Alt+6"</span>;
kb-select-7: <span class="org-string">"Alt+7"</span>;
kb-select-8: <span class="org-string">"Alt+8"</span>;
kb-select-9: <span class="org-string">"Alt+9"</span>;
kb-select-10: <span class="org-string">"Alt+0"</span>;
}
<span class="org-type">*</span> {
//// COLORS ////
<span class="org-type">*</span> {
//// COLORS ////
//// uncomment to match bspwm edition theme
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>
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-foreground: @foreground;
//// uncomment to match bspwm edition theme
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>
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-foreground: @foreground;
//// uncomment to match Adapta Nokto theme
// 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>
// 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-foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">FFFFFFFF;</span>
//// uncomment to match Adapta Nokto theme
// 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>
// 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-foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">FFFFFFFF;</span>
//// common - active and urgent
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-foreground: @foreground;
selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background;
//// common - active and urgent
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-foreground: @foreground;
selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background;
//// TEXT ////
//// TEXT ////
font: <span class="org-string">"xos4 Terminus 18px"</span>;
text-color: @foreground;
font: <span class="org-string">"xos4 Terminus 18px"</span>;
text-color: @foreground;
//// PADDING ETC ////
//// PADDING ETC ////
margin: 0px;
border: 0px;
padding: 0px;
spacing: 0px;
elementpadding: 2px 0px;
elementmargin: 0px 2px;
listmargin: 0px 2px 0px 0px;
margin: 0px;
border: 0px;
padding: 0px;
spacing: 0px;
elementpadding: 2px 0px;
elementmargin: 0px 2px;
listmargin: 0px 2px 0px 0px;
//// SIZE ////
//// SIZE ////
windowwidth: 40ch;
buttonwidth: 18ch;
lines: <span class="org-highlight-numbers-number">12</span>;
fixed-height: false;
windowwidth: 40ch;
buttonwidth: 18ch;
lines: <span class="org-highlight-numbers-number">12</span>;
fixed-height: false;
//// POSITION ////
//// POSITION ////
location: northwest;
anchor: northwest;
x-offset: 0px;
y-offset: 24px;
location: northwest;
anchor: northwest;
x-offset: 0px;
y-offset: 24px;
//// LAYOUT ////
//// LAYOUT ////
scrollbar: true;
scrollbar: true;
//// uncomment to get submenu-like style
menustyle: [ sb-mainbox ];
buttonpadding: 2px 1ch;
button-bg: @background;
dynamic: true;
//// uncomment to get submenu-like style
menustyle: [ sb-mainbox ];
buttonpadding: 2px 1ch;
button-bg: @background;
dynamic: true;
//// uncomment to get tabs-like style
// menustyle: [ tb-mainbox ];
// buttonpadding: 14px 1ch;
// dynamic: false;
}
//////////////////////////////////////////
<span class="org-type">window</span> {
width: @windowwidth;
children: @menustyle;
}
//submenu-style
<span class="org-type">sb-mainbox</span> {
orientation: horizontal;
children: [ sidebar, vertibox ];
}
//tabs-style
<span class="org-type">tb-mainbox</span> {
orientation: vertical;
children: [ inputbar, horibox ];
background-color: @background;
}
//desktop-submenu
<span class="org-type">dt-mainbox</span> {
orientation: vertical;
children: [ boxdummy, sb-mainbox ];
}
<span class="org-type">horibox</span> {
orientation: horizontal;
children: [ listview, sidebar ];
}
<span class="org-type">sidebar</span> {
orientation: vertical;
}
<span class="org-type">button</span> {
horizontal-align: <span class="org-highlight-numbers-number">0</span>;
padding: @buttonpadding;
width: @buttonwidth;
background-color: @button-bg;
expand: false;
}
<span class="org-type">vertibox</span> {
orientation: vertical;
children: [ inputbar, listview ];
background-color: @background;
}
<span class="org-type">prompt</span> {
enabled: false;
}
<span class="org-type">listview</span> {
margin: @listmargin;
}
<span class="org-type">scrollbar</span> {
handle-width: 0.5ch;
handle-color: @selected;
}
<span class="org-type">boxdummy</span> {
enabled: false;
orientation: vertical;
expand: false;
children: [ textboxdummy ];
}
<span class="org-type">textboxdummy</span> {
str: <span class="org-string">" "</span>;
}
<span class="org-type">element, inputbar, textboxdummy</span> {
padding: @elementpadding;
margin: @elementmargin;
width: @elementwidth;
}
element.normal.active,
<span class="org-type">element.alternate.active</span> {
background-color: @active-background;
text-color: @selected-foreground;
}
element.selected,
<span class="org-type">button.selected</span> {
background-color: @selected;
text-color: @selected-foreground;
}
element.normal.urgent,
<span class="org-type">element.alternate.urgent</span> {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
<span class="org-type">element.selected.urgent</span> {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
//// uncomment to get tabs-like style
// menustyle: [ tb-mainbox ];
// buttonpadding: 14px 1ch;
// dynamic: false;
}
//////////////////////////////////////////
<span class="org-type">window</span> {
width: @windowwidth;
children: @menustyle;
}
//submenu-style
<span class="org-type">sb-mainbox</span> {
orientation: horizontal;
children: [ sidebar, vertibox ];
}
//tabs-style
<span class="org-type">tb-mainbox</span> {
orientation: vertical;
children: [ inputbar, horibox ];
background-color: @background;
}
//desktop-submenu
<span class="org-type">dt-mainbox</span> {
orientation: vertical;
children: [ boxdummy, sb-mainbox ];
}
<span class="org-type">horibox</span> {
orientation: horizontal;
children: [ listview, sidebar ];
}
<span class="org-type">sidebar</span> {
orientation: vertical;
}
<span class="org-type">button</span> {
horizontal-align: <span class="org-highlight-numbers-number">0</span>;
padding: @buttonpadding;
width: @buttonwidth;
background-color: @button-bg;
expand: false;
}
<span class="org-type">vertibox</span> {
orientation: vertical;
children: [ inputbar, listview ];
background-color: @background;
}
<span class="org-type">prompt</span> {
enabled: false;
}
<span class="org-type">listview</span> {
margin: @listmargin;
}
<span class="org-type">scrollbar</span> {
handle-width: 0.5ch;
handle-color: @selected;
}
<span class="org-type">boxdummy</span> {
enabled: false;
orientation: vertical;
expand: false;
children: [ textboxdummy ];
}
<span class="org-type">textboxdummy</span> {
str: <span class="org-string">" "</span>;
}
<span class="org-type">element, inputbar, textboxdummy</span> {
padding: @elementpadding;
margin: @elementmargin;
width: @elementwidth;
}
element.normal.active,
<span class="org-type">element.alternate.active</span> {
background-color: @active-background;
text-color: @selected-foreground;
}
element.selected,
<span class="org-type">button.selected</span> {
background-color: @selected;
text-color: @selected-foreground;
}
element.normal.urgent,
<span class="org-type">element.alternate.urgent</span> {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
<span class="org-type">element.selected.urgent</span> {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
</pre>
</div>
</div>
@ -273,7 +273,7 @@
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title><code>systemd</code> services and timers</title>
<meta name="generator" content="Org mode" />
@ -24,45 +24,50 @@
<ul>
<li><a href="#org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</a>
<ul>
<li><a href="#org66d0b8b">Service</a></li>
<li><a href="#org6446e63">Timer</a></li>
<li><a href="#orge7172ba">Script</a></li>
<li><a href="#org782b2ab">Service</a></li>
<li><a href="#org0f85a10">Timer</a></li>
<li><a href="#orga2cf44a">Script</a></li>
</ul>
</li>
<li><a href="#orga6ac362"><code>braingit</code> - Automatic commit and push new brain pages</a>
<ul>
<li><a href="#orgaae4848">Service</a></li>
<li><a href="#org6a6fc4a">Timer</a></li>
<li><a href="#orgd894d23">Script</a></li>
<li><a href="#orgf49f7f3">Service</a></li>
<li><a href="#org541a815">Timer</a></li>
<li><a href="#orgdeee651">Script</a></li>
</ul>
</li>
<li><a href="#orgcd55ae1"><code>checkmail</code> - Check new mails</a>
<ul>
<li><a href="#orgc063793">Service</a></li>
<li><a href="#org81f3f11">Timer</a></li>
<li><a href="#orga2cf44a">Script</a></li>
<li><a href="#org2b2ce61">Service</a></li>
<li><a href="#org3b13896">Timer</a></li>
<li><a href="#orgd21f3b8">Script</a></li>
</ul>
</li>
<li><a href="#orgb4148ce"><code>syncmail</code> - Synchronize all mails</a>
<ul>
<li><a href="#orgab0dd46">Service</a></li>
<li><a href="#org7b96d65">Timer</a></li>
<li><a href="#orgd646b63">Service</a></li>
<li><a href="#orga7b9728">Timer</a></li>
</ul>
</li>
<li><a href="#org64a5ff5"><code>vdirsyncer</code> - Synchronize calendar and contacts</a>
<ul>
<li><a href="#orgf2c8322">Service</a></li>
<li><a href="#org0f85a10">Timer</a></li>
<li><a href="#org527e986">Service</a></li>
<li><a href="#org057bbfb">Timer</a></li>
</ul>
</li>
<li><a href="#orgea6990c"><code>ssh-agent</code> - SSH Agent</a>
<ul>
<li><a href="#org4390641">Service</a></li>
<li><a href="#orgd52a406">Service</a></li>
</ul>
</li>
<li><a href="#org6c316cc"><code>powertop</code> - Powertop</a>
<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>
</li>
</ul>
@ -76,9 +81,9 @@
<h2 id="org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</h2>
<div class="outline-text-2" id="text-org9efc12d">
</div>
<div id="outline-container-org66d0b8b" class="outline-3">
<h3 id="org66d0b8b">Service</h3>
<div class="outline-text-3" id="text-org66d0b8b">
<div id="outline-container-org782b2ab" class="outline-3">
<h3 id="org782b2ab">Service</h3>
<div class="outline-text-3" id="text-org782b2ab">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Bookmarks every day
@ -93,9 +98,9 @@
</div>
</div>
<div id="outline-container-org6446e63" class="outline-3">
<h3 id="org6446e63">Timer</h3>
<div class="outline-text-3" id="text-org6446e63">
<div id="outline-container-org0f85a10" class="outline-3">
<h3 id="org0f85a10">Timer</h3>
<div class="outline-text-3" id="text-org0f85a10">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync All Mails every x hours
@ -116,9 +121,9 @@
</div>
</div>
<div id="outline-container-orge7172ba" class="outline-3">
<h3 id="orge7172ba">Script</h3>
<div class="outline-text-3" id="text-orge7172ba">
<div id="outline-container-orga2cf44a" class="outline-3">
<h3 id="orga2cf44a">Script</h3>
<div class="outline-text-3" id="text-orga2cf44a">
<div class="org-src-container">
<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>
<div class="outline-text-2" id="text-orga6ac362">
</div>
<div id="outline-container-orgaae4848" class="outline-3">
<h3 id="orgaae4848">Service</h3>
<div class="outline-text-3" id="text-orgaae4848">
<div id="outline-container-orgf49f7f3" class="outline-3">
<h3 id="orgf49f7f3">Service</h3>
<div class="outline-text-3" id="text-orgf49f7f3">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Brain Website everyday
@ -162,9 +167,9 @@
</div>
</div>
<div id="outline-container-org6a6fc4a" class="outline-3">
<h3 id="org6a6fc4a">Timer</h3>
<div class="outline-text-3" id="text-org6a6fc4a">
<div id="outline-container-org541a815" class="outline-3">
<h3 id="org541a815">Timer</h3>
<div class="outline-text-3" id="text-org541a815">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Brain Website everyday
@ -185,9 +190,9 @@
</div>
</div>
<div id="outline-container-orgd894d23" class="outline-3">
<h3 id="orgd894d23">Script</h3>
<div class="outline-text-3" id="text-orgd894d23">
<div id="outline-container-orgdeee651" class="outline-3">
<h3 id="orgdeee651">Script</h3>
<div class="outline-text-3" id="text-orgdeee651">
<div class="org-src-container">
<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>
<div class="outline-text-2" id="text-orgcd55ae1">
</div>
<div id="outline-container-orgc063793" class="outline-3">
<h3 id="orgc063793">Service</h3>
<div class="outline-text-3" id="text-orgc063793">
<div id="outline-container-org2b2ce61" class="outline-3">
<h3 id="org2b2ce61">Service</h3>
<div class="outline-text-3" id="text-org2b2ce61">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Check new mails
@ -224,9 +229,9 @@
</div>
</div>
<div id="outline-container-org81f3f11" class="outline-3">
<h3 id="org81f3f11">Timer</h3>
<div class="outline-text-3" id="text-org81f3f11">
<div id="outline-container-org3b13896" class="outline-3">
<h3 id="org3b13896">Timer</h3>
<div class="outline-text-3" id="text-org3b13896">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Check Mail every x minutes
@ -250,9 +255,9 @@
</div>
</div>
<div id="outline-container-orga2cf44a" class="outline-3">
<h3 id="orga2cf44a">Script</h3>
<div class="outline-text-3" id="text-orga2cf44a">
<div id="outline-container-orgd21f3b8" class="outline-3">
<h3 id="orgd21f3b8">Script</h3>
<div class="outline-text-3" id="text-orgd21f3b8">
<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>
<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>
<div class="outline-text-2" id="text-orgb4148ce">
</div>
<div id="outline-container-orgab0dd46" class="outline-3">
<h3 id="orgab0dd46">Service</h3>
<div class="outline-text-3" id="text-orgab0dd46">
<div id="outline-container-orgd646b63" class="outline-3">
<h3 id="orgd646b63">Service</h3>
<div class="outline-text-3" id="text-orgd646b63">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<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 id="outline-container-org7b96d65" class="outline-3">
<h3 id="org7b96d65">Timer</h3>
<div class="outline-text-3" id="text-org7b96d65">
<div id="outline-container-orga7b9728" class="outline-3">
<h3 id="orga7b9728">Timer</h3>
<div class="outline-text-3" id="text-orga7b9728">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<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>
<div class="outline-text-2" id="text-org64a5ff5">
</div>
<div id="outline-container-orgf2c8322" class="outline-3">
<h3 id="orgf2c8322">Service</h3>
<div class="outline-text-3" id="text-orgf2c8322">
<div id="outline-container-org527e986" class="outline-3">
<h3 id="org527e986">Service</h3>
<div class="outline-text-3" id="text-org527e986">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<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 id="outline-container-org0f85a10" class="outline-3">
<h3 id="org0f85a10">Timer</h3>
<div class="outline-text-3" id="text-org0f85a10">
<div id="outline-container-org057bbfb" class="outline-3">
<h3 id="org057bbfb">Timer</h3>
<div class="outline-text-3" id="text-org057bbfb">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<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>
<div class="outline-text-2" id="text-orgea6990c">
</div>
<div id="outline-container-org4390641" class="outline-3">
<h3 id="org4390641">Service</h3>
<div class="outline-text-3" id="text-org4390641">
<div id="outline-container-orgd52a406" class="outline-3">
<h3 id="orgd52a406">Service</h3>
<div class="outline-text-3" id="text-orgd52a406">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<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>
<div class="outline-text-2" id="text-org6c316cc">
</div>
<div id="outline-container-org782b2ab" class="outline-3">
<h3 id="org782b2ab">Service</h3>
<div class="outline-text-3" id="text-org782b2ab">
<div id="outline-container-org8b3fdc8" class="outline-3">
<h3 id="org8b3fdc8">Service</h3>
<div class="outline-text-3" id="text-org8b3fdc8">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Powertop tunings
@ -449,10 +454,38 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
</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 id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Termite Configuration</title>
<meta name="generator" content="Org mode" />
@ -159,7 +159,7 @@
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Torrent Configuration</title>
<meta name="generator" content="Org mode" />
@ -146,7 +146,7 @@
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>MPV Configuration</title>
<meta name="generator" content="Org mode" />
@ -22,13 +22,7 @@
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org06a0ee3"><code>mpv.conf</code> - MPV Configuration</a>
<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="#org06a0ee3"><code>mpv.conf</code> - MPV Configuration</a></li>
<li><a href="#org9b7ebc9"><code>input.conf</code> - MPV Key Bindings</a></li>
</ul>
</div>
@ -37,122 +31,31 @@
<div id="outline-container-org06a0ee3" class="outline-2">
<h2 id="org06a0ee3"><code>mpv.conf</code> - MPV Configuration</h2>
<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">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Start in fullscreen mode by default.</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">fs=yes</span>
<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>
<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-variable-name">geometry</span>=99%:98%
<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">keep-open=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">Do not run the screensaver when playing videos</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-comment-delimiter"># </span><span class="org-comment">cache settings</span>
<span class="org-comment-delimiter">#</span>
<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 French subtitles if available.</span>
<span class="org-variable-name">slang</span>=fr
<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">slang=en</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-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">alang=fi,en</span>
<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>
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not close mpv at the end of video</span>
<span class="org-variable-name">keep-open</span>=yes
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org9b7ebc9" class="outline-2">
<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 id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-03 dim. 22:25 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Windows Config and Install</title>
<meta name="generator" content="Org mode" />
@ -26,10 +26,10 @@
<li><a href="#org0143940">Install Windows10 PRO</a></li>
<li><a href="#org0cc05f7">Install Software using Chocolatey</a></li>
<li><a href="#org0a94edb">Debloat windows10</a></li>
<li><a href="#orgb2e9259">SSHFS</a>
<li><a href="#org432cd75">SSHFS</a>
<ul>
<li><a href="#org46e6091">SSH Setup</a></li>
<li><a href="#org07e3d19">SSHFS</a></li>
<li><a href="#orgb2e9259">SSHFS</a></li>
</ul>
</li>
<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>
</ul>
<div class="org-src-container">
<pre class="src src-bash"> yay -S woeusb
<pre class="src src-bash">yay -S woeusb
</pre>
</div>
<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>
</div>
</div>
@ -72,7 +72,7 @@
First install Chocolatey using a PowerShell as administrator:
</p>
<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>
</div>
@ -80,7 +80,7 @@ First install Chocolatey using a PowerShell as administrator:
Then, install all required software using one command:
</p>
<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>
</div>
</div>
@ -97,15 +97,15 @@ Then, install all required software using one command:
Run a PowerShell with administrative rights and run:
</p>
<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>
</div>
</div>
</div>
<div id="outline-container-orgb2e9259" class="outline-2">
<h2 id="orgb2e9259">SSHFS</h2>
<div class="outline-text-2" id="text-orgb2e9259">
<div id="outline-container-org432cd75" class="outline-2">
<h2 id="org432cd75">SSHFS</h2>
<div class="outline-text-2" id="text-org432cd75">
</div>
<div id="outline-container-org46e6091" class="outline-3">
<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>):
</p>
<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>
</div>
@ -122,7 +122,7 @@ Install OpenSSH from <code>chocolatey</code> as the one packed with Windows is q
Then generate the keys:
</p>
<div class="org-src-container">
<pre class="src src-bash"> ssh-keygen
<pre class="src src-bash">ssh-keygen
</pre>
</div>
@ -130,14 +130,14 @@ Then generate the keys:
Start the SSH-Agent to automatically unlock the keys:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-comment-delimiter"># </span><span class="org-comment">Start the service</span>
Start-Service ssh-agent
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Start the service</span>
Start-Service ssh-agent
<span class="org-comment-delimiter"># </span><span class="org-comment">This should return a status of Running</span>
Get-Service ssh-agent
<span class="org-comment-delimiter"># </span><span class="org-comment">This should return a status of Running</span>
Get-Service ssh-agent
<span class="org-comment-delimiter"># </span><span class="org-comment">Now load your key files into ssh-agent</span>
ssh-add
<span class="org-comment-delimiter"># </span><span class="org-comment">Now load your key files into ssh-agent</span>
ssh-add
</pre>
</div>
@ -145,7 +145,7 @@ Start the SSH-Agent to automatically unlock the keys:
Copy the public key with:
</p>
<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>
</div>
@ -159,9 +159,9 @@ Finally, it should be possible to ssh to the server.
</div>
</div>
<div id="outline-container-org07e3d19" class="outline-3">
<h3 id="org07e3d19">SSHFS</h3>
<div class="outline-text-3" id="text-org07e3d19">
<div id="outline-container-orgb2e9259" class="outline-3">
<h3 id="orgb2e9259">SSHFS</h3>
<div class="outline-text-3" id="text-orgb2e9259">
<p>
Install <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a>.
</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>:
</p>
<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>
</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>:
</p>
<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>
</div>
@ -186,7 +186,7 @@ Then, to mount the network drive using <code>sshfs</code>:
To un-mount it:
</p>
<div class="org-src-container">
<pre class="src src-bash"> net use X: /delete
<pre class="src src-bash">net use X: /delete
</pre>
</div>
</div>
@ -226,7 +226,7 @@ Then, Syncthing can be accessed with: <a href="http://localhost:8384/">http://lo
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files related to Xorg</title>
<meta name="generator" content="Org mode" />
@ -522,7 +522,7 @@ Finally, run SXHKD for the key bindings:
</div>
<div id="postamble" class="status">
<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>
</body>
</html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<!-- 2021-01-08 ven. 01:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Zathura</title>
<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 id="postamble" class="status">
<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>
</body>
</html>

View File

@ -37,4 +37,7 @@ There are Specific configuration files for:
- *GUI Toolkit*: [[file:gtk.org][GTK]]
- [[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
#+end_src
#+name: tab:yay_cheatsheet
#+caption: =yay= - Cheatsheet
| Command | Usage |
|---------------------+-----------------------------|
@ -59,7 +58,6 @@ It can be installed like so:
Its configuration file is described [[file:termite.org][here]].
#+name: tab:termite_cheatsheet
#+caption: =termite= - Cheatsheet
| Command | Usage |
|--------------------+-------------------------|
@ -102,7 +100,6 @@ Ressources:
- https://github.com/rothgar/awesome-tmux
- https://thoughtbot.com/upcase/tmux
#+name: tab:tmux_cheatsheet
#+caption: =tmux= - Cheatsheet
| Command | Usage |
|----------------+-------------------------------|

View File

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