literate-dotfiles/docs/config.html

279 lines
11 KiB
HTML

<?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:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files</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">Configuration Files</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org3f17b04">SSH</a></li>
<li><a href="#org10b81df">Font</a></li>
<li><a href="#orge8ba5b4">GnuPG</a></li>
<li><a href="#org3a8118a">Redshift</a></li>
<li><a href="#org91a7258">dmenu</a></li>
<li><a href="#orge5eb33f">Locale</a></li>
<li><a href="#org33bbfc0">Netrc</a></li>
<li><a href="#orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</a></li>
</ul>
</div>
</div>
<div id="outline-container-org3f17b04" class="outline-2">
<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
Host grenoble
hostname 82.64.103.2
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 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 nas
hostname 192.168.1.50
Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze
IdentityFile ~/.ssh/id_rsa
</pre>
</div>
</div>
</div>
<div id="outline-container-org10b81df" class="outline-2">
<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;
&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;/fontconfig&gt;
</pre>
</div>
</div>
</div>
<div id="outline-container-orge8ba5b4" class="outline-2">
<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>
</div>
</div>
</div>
<div id="outline-container-org3a8118a" class="outline-2">
<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>
<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">location-provider</span>=manual
<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>
</pre>
</div>
</div>
</div>
<div id="outline-container-org91a7258" class="outline-2">
<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>
<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">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">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>
</pre>
</div>
</div>
</div>
<div id="outline-container-orge5eb33f" class="outline-2">
<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>
</div>
</div>
</div>
<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
<span class="org-variable-name">password &lt;&lt;get-password(passname</span>=<span class="org-string">"traefik.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
machine portainer.tdehaeze.xyz
login tdehaeze
<span class="org-variable-name">password &lt;&lt;get-password(passname</span>=<span class="org-string">"portainer.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
machine cloud.tdehaeze.xyz
login tdehaeze
<span class="org-variable-name">password &lt;&lt;get-password(passname</span>=<span class="org-string">"cloud.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
machine syncthing.tdehaeze.xyz
login tdehaeze
<span class="org-variable-name">password &lt;&lt;get-password(passname</span>=<span class="org-string">"syncthing.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
machine torrent.tdehaeze.xyz
login tdehaeze
<span class="org-variable-name">password &lt;&lt;get-password(passname</span>=<span class="org-string">"torrent.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
machine deemix.tdehaeze.xyz
login tdehaeze
<span class="org-variable-name">password &lt;&lt;get-password(passname</span>=<span class="org-string">"deemix.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd31ca2a" class="outline-2">
<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>
</div>
<p>
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>
</div>
<p>
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>
</div>
<p>
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>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-08 ven. 01:43</p>
</div>
</body>
</html>