dotfiles/org/config/index.html

805 lines
32 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<!-- 2020-05-05 mar. 23:17 -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Phundraks dotfiles</title>
<meta name="generator" content="Org mode">
<meta name="author" content="Lucien Cartier-Tilet">
<meta name="keywords" content="dotfiles linux emacs configuration phundrak drakpa">
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@phundrak" />
<meta name="twitter:creator" content="@phundrak" />
<link rel="stylesheet" href="/style/style.css"/>
<link rel="shortcut icon" href="https://cdn.phundrak.com/img/mahakala-128x128.png" type="img/png" media="screen" />
<link rel="shortcut icon" href="https://cdn.phundrak.com/img/favicon.ico" type="image/x-icon" media="screen" />
<script defer src="/dart/main.dart.js"></script>
<script defer src="https://kit.fontawesome.com/4d42d0c8c5.js" crossorigin="anonymous"></script>
<meta name="description" content="Phundrak's dotfiles" />
<meta property="og:title" content="Phundrak's dotfiles" />
<meta property="og:description" content="Description of the dotfiles of Phundrak" />
<script type="text/javascript">
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-v3-or-Later
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
// @license-end
</script>
</head>
<body>
<div id="content">
<h1 class="title">Phundraks dotfiles</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee">1. Presentation</a></li>
<li><a href="#h-ee37502b-09a4-4668-88e2-1d4406252bd2">2. Screenshots</a></li>
<li><a href="#h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4">3. Features</a>
<ul>
<li><a href="#h-b70d9b3b-4259-4311-aa23-4792656220bb">3.1. Tiling Window Managers</a>
<ul>
<li><a href="#h-dbfc71a0-9d96-4f53-a064-f8d6f9567813">3.1.1. AwesomeWM</a></li>
<li><a href="#h-c918e370-d867-412c-8b0e-078e4e3772e0">3.1.2. i3 configuration</a></li>
</ul>
</li>
<li><a href="#h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8">3.2. Graphical tweaks</a>
<ul>
<li><a href="#h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82">3.2.1. GTK Settings</a>
<ul>
<li><a href="#h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6">3.2.1.1. GTK2</a></li>
<li><a href="#h-0de8173e-2c28-4ac2-811e-e6c1a437ef51">3.2.1.2. GTK3</a></li>
</ul>
</li>
<li><a href="#h-c539fde3-3f1a-4855-8d63-28729ed806a5">3.2.2. Picom</a></li>
<li><a href="#h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869">3.2.3. Xresources</a></li>
</ul>
</li>
<li><a href="#h-2730f882-e775-41a3-b169-5049c142cc54">3.3. Text and source code editing</a>
<ul>
<li><a href="#h-f6d2561f-5c02-4540-8287-4acf3037b3d5">3.3.1. Emacs configuration</a></li>
<li><a href="#h-1724166b-55b7-4a64-9ff1-47c2a9e76f46">3.3.2. Nano</a></li>
<li><a href="#h-0ae9005c-76a6-49f6-947c-0c8464616e10">3.3.3. Rustfmt</a></li>
</ul>
</li>
<li><a href="#h-d582e107-fa66-4f79-869e-2b49116ed1ec">3.4. Custom scripts in <code>PATH</code></a></li>
<li><a href="#h-f35ed9a3-c9fc-458c-8a62-693f679f6992">3.5. Fish configuration with useful abbreviations</a></li>
<li><a href="#h-1a819f94-ab79-41e6-9509-a2781ab10b79">3.6. And some minor configuration files</a>
<ul>
<li><a href="#h-f6c48286-a320-493f-b330-ee0a697e6d79">3.6.1. Email signature</a></li>
<li><a href="#h-4f92eb29-7cfa-48ec-b39d-39037ace3682">3.6.2. Global gitignore</a></li>
</ul>
</li>
<li><a href="#h-4f48b912-b67b-4549-a671-802e76221f46">3.7. Tmux configuration</a></li>
</ul>
</li>
<li><a href="#h-5849dbcf-a650-4323-9a90-bec549a7b982">4. Dependencies</a></li>
<li><a href="#h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09">5. Installation</a></li>
<li><a href="#h-a3438126-ee60-4f11-a2f6-f52e49dade59">6. Licence</a></li>
</ul>
</div>
</div>
<div id="outline-container-h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee" class="outline-2">
<h2 id="h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee"><span class="section-number-2">1</span> Presentation</h2>
<div class="outline-text-2" id="text-h-536e69f5-c012-4b7d-8a45-3a340d3bc7ee">
<div class="figure">
<p><a href="http://spacemacs.org"><object type="image/svg+xml" data="https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg" class="org-svg">
Sorry, your browser does not support SVG.</object></a>
</p>
</div>
<p>
This is my collection of dotfiles for my daily GNU/Linux environment, tweaked
to my liking. If you wish to get the same setup as mine, follow the
instructions below.
</p>
<p>
As you can see, I personally use <a href="https://fishshell.com/">fish</a> as my shell of choice, and <a href="https://www.gnu.org/software/emacs/">Emacs</a> 27.0.90
(custom build) using <a href="http://spacemacs.org">Spacemacs</a> (still with Emacs keybinding in Insert mode but
with Evil in Normal mode) as my main text editor.
</p>
<p>
When it comes to my graphical UI, I do not have any desktop environment.
Instead, I have two tiling window managers. The historical first on my
configuration is <a href="https://github.com/Airblader/i3">i3-gaps</a>, an <a href="https://i3wm.org/">i3</a> fork by <a href="https://github.com/Airblader/i3">Airblader</a> with which I use two bars
generated by <a href="https://polybar.github.io/">Polybar</a>. My other TWM, and the one I use most often, is
<a href="https://awesomewm.org/">AwesomeWM</a>. Both TWMs use <a href="https://github.com/dylanaraps/pywal">pywal</a> to define their color scheme, as well as <a href="https://github.com/davatorium/rofi">rofi</a>s
color scheme.
</p>
<p>
Finally, you can find my configuration for my Ergodox keyboard <a href="https://configure.ergodox-ez.com/ergodox-ez/layouts/5WrVw/latest/0">here</a>. It is
optimized for usage with the Bépo layout set as a software layout, and for
shortcuts from i3.
</p>
</div>
</div>
<div id="outline-container-h-ee37502b-09a4-4668-88e2-1d4406252bd2" class="outline-2">
<h2 id="h-ee37502b-09a4-4668-88e2-1d4406252bd2"><span class="section-number-2">2</span> Screenshots</h2>
<div class="outline-text-2" id="text-h-ee37502b-09a4-4668-88e2-1d4406252bd2">
<div class="figure">
<p><img src="./img/neofetch.png.webp" alt="neofetch.png.webp" width="100%">
</p>
<p><span class="figure-number">Figure 2: </span>Desktop with Neofetch in the terminal</p>
</div>
<div class="figure">
<p><img src="./img/emacs.png.webp" alt="emacs.png.webp" width="100%">
</p>
<p><span class="figure-number">Figure 3: </span>Desktop with Emacs opened</p>
</div>
<div class="figure">
<p><img src="./img/rofi.png.webp" alt="rofi.png.webp" width="100%">
</p>
<p><span class="figure-number">Figure 4: </span>Desktop with Rofi</p>
</div>
</div>
</div>
<div id="outline-container-h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4" class="outline-2">
<h2 id="h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4"><span class="section-number-2">3</span> Features</h2>
<div class="outline-text-2" id="text-h-8539dd6f-4fcb-4dc7-a3ef-b8ad198c91d4">
<ul class="org-ul">
<li>Emacs configuration perfectly tailored for my own use</li>
<li>Beautiful and comfy i3 and polybar configuration</li>
<li>And enough information below to get basically the same distro install as I
have on my main computer and my travel laptop.</li>
</ul>
<p>
Most of the org files you will find in this repos are the actual source code
of much of my config files. For instance, the bootstrap found in
<a href="installation.html">installation.org</a> exports almost all of its code snippets to
<a href=".config/yadm/bootstrap">.config/yadm/bootstrap</a> thanks to <code>M-x org-babel-tangle</code> from within Emacs.
Below I will also present and comment some of my short config files which do
not deserve to have a full org file dedicated to them.
</p>
</div>
<div id="outline-container-h-b70d9b3b-4259-4311-aa23-4792656220bb" class="outline-3">
<h3 id="h-b70d9b3b-4259-4311-aa23-4792656220bb"><span class="section-number-3">3.1</span> Tiling Window Managers</h3>
<div class="outline-text-3" id="text-h-b70d9b3b-4259-4311-aa23-4792656220bb">
</div>
<div id="outline-container-h-dbfc71a0-9d96-4f53-a064-f8d6f9567813" class="outline-4">
<h4 id="h-dbfc71a0-9d96-4f53-a064-f8d6f9567813"><span class="section-number-4">3.1.1</span> AwesomeWM</h4>
<div class="outline-text-4" id="text-h-dbfc71a0-9d96-4f53-a064-f8d6f9567813">
<p>
AwesomeWM is the TWM I use the most on my computer between itself and i3. My
configuration for it is documented in detail in its corresponding document,
which you can find <a href="awesome.html">here</a>.
</p>
</div>
</div>
<div id="outline-container-h-c918e370-d867-412c-8b0e-078e4e3772e0" class="outline-4">
<h4 id="h-c918e370-d867-412c-8b0e-078e4e3772e0"><span class="section-number-4">3.1.2</span> i3 configuration</h4>
<div class="outline-text-4" id="text-h-c918e370-d867-412c-8b0e-078e4e3772e0">
<p>
The i3 configuration is detailed in its corresponding README which you can
find <a href="i3.html">here</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8" class="outline-3">
<h3 id="h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8"><span class="section-number-3">3.2</span> Graphical tweaks</h3>
<div class="outline-text-3" id="text-h-08018a9b-f0c8-4bff-b18d-834ec0dc11a8">
</div>
<div id="outline-container-h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82" class="outline-4">
<h4 id="h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82"><span class="section-number-4">3.2.1</span> GTK Settings</h4>
<div class="outline-text-4" id="text-h-1e9b2c5f-9ce4-4706-af5b-fb3b423cdb82">
</div>
<div id="outline-container-h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6" class="outline-5">
<h5 id="h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6"><span class="section-number-5">3.2.1.1</span> GTK2</h5>
<div class="outline-text-5" id="text-h-6b46d7ef-3015-46e6-b9f4-58be449ff9b6">
<p>
Regarding GTK2, I have only one configuration file: the filechoosers
configuration file.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix">[<span style="color: #FCCE7B;">Filechooser Settings</span>]
</pre>
</div>
<p>
The first option alows me to open the file chooser in the current working
directory:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">StartupMode</span>=cwd
</pre>
</div>
<p>
Next, setting the location mode to <code>path-bar</code> will show the path as buttons
that can be clicked rather than the full path.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">LocationMode</span>=path-bar
</pre>
</div>
<p>
With this configuration, by default we wont see hidden files.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">ShowHidden</span>=true
</pre>
</div>
<p>
And we'll also see the size of the visible files.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">ShowSizeColumn</span>=true
</pre>
</div>
<p>
Now, lets choose the geometry of our file picker. These two first lines
set where the file picker appears:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">GeometryX</span>=566
<span style="color: #DFDFDF;">GeometryY</span>=202
</pre>
</div>
<p>
And these two describe the size of the window:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">GeometryWidth</span>=800
<span style="color: #DFDFDF;">GeometryHeight</span>=400
</pre>
</div>
<p>
With these two lines, we set how our files are sorted: by name, and in the
ascending order.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">SortColumn</span>=name
<span style="color: #DFDFDF;">SortOrder</span>=ascending
</pre>
</div>
<p>
Our default view mode is a list of files:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">ViewMode</span>=list-view
</pre>
</div>
<p>
And finally, setting our icon view scale to <code>-1</code> sets the icon view to the
max size.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">IconViewScale</span>=-1
</pre>
</div>
</div>
</div>
<div id="outline-container-h-0de8173e-2c28-4ac2-811e-e6c1a437ef51" class="outline-5">
<h5 id="h-0de8173e-2c28-4ac2-811e-e6c1a437ef51"><span class="section-number-5">3.2.1.2</span> GTK3</h5>
<div class="outline-text-5" id="text-h-0de8173e-2c28-4ac2-811e-e6c1a437ef51">
<p>
The following file helps me choosing the aspect of various GTK+ 3 software,
including their theme and icons. First, lets declare the header:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix">[<span style="color: #FCCE7B;">Settings</span>]
</pre>
</div>
<p>
Now, lets hint to GTK that I prefer dark themes. This can have an
influence also on some websites that can detect this preference and
therefore set their own theme to dark by themselves.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-application-prefer-dark-theme</span> = true
</pre>
</div>
<p>
Next, the icon theme is the Flat Remix Dark icon theme:
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-icon-theme-name</span> = Flat-Remix-Dark
</pre>
</div>
<p>
Now, the general theme for GTK3 is Arc Dark.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-theme-name</span> = Arc-Dark
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-can-change-accels</span> = 1
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-xft-antialias</span>=1
<span style="color: #DFDFDF;">gtk-xft-hinting</span>=1
<span style="color: #DFDFDF;">gtk-xft-hintstyle</span>=hintslight
<span style="color: #62686E;"># </span><span style="color: #62686E;">gtk-xft-rgba=rgb</span>
</pre>
</div>
<p>
Since window decorations are handled by my WMs, I will leave this variable
empty.
</p>
<div class="org-src-container">
<pre class="src src-conf-unix"><span style="color: #DFDFDF;">gtk-decoration-layout</span>=
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-h-c539fde3-3f1a-4855-8d63-28729ed806a5" class="outline-4">
<h4 id="h-c539fde3-3f1a-4855-8d63-28729ed806a5"><span class="section-number-4">3.2.2</span> Picom</h4>
<div class="outline-text-4" id="text-h-c539fde3-3f1a-4855-8d63-28729ed806a5">
<p>
Picom is a standalone compositor for Xorg, and the successor to Compton,
itself successor to xcompmgr-dana, itself a fork of xcompmgr. You can find
my Picom configuration <a href="picom.html">here</a>.
</p>
</div>
</div>
<div id="outline-container-h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869" class="outline-4">
<h4 id="h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869"><span class="section-number-4">3.2.3</span> Xresources</h4>
<div class="outline-text-4" id="text-h-e6f48975-3b86-4a75-a7e5-5cc9edbd9869">
<p>
My Xresources file is very short. Indeed, it only contains two lines which
are dedicated to my <code>st</code> terminal to set its font and shell. The font is set
as follows.
</p>
<div class="org-src-container">
<pre class="src src-conf"><span style="color: #DFDFDF;">st.font: Source Code Pro for Powerline:style</span>=book
</pre>
</div>
<p>
And I will set my shell like this:
</p>
<div class="org-src-container">
<pre class="src src-conf">st.shell: /usr/bin/fish
</pre>
</div>
<p>
I can also set the transparency of st (my terminal emulator) like so:
</p>
<div class="org-src-container">
<pre class="src src-conf">st.alpha: 0.9
</pre>
</div>
<p>
I used to have lines dedicated to UXTerm and URxvt, but I cast them out of
my system.
</p>
</div>
</div>
</div>
<div id="outline-container-h-2730f882-e775-41a3-b169-5049c142cc54" class="outline-3">
<h3 id="h-2730f882-e775-41a3-b169-5049c142cc54"><span class="section-number-3">3.3</span> Text and source code editing</h3>
<div class="outline-text-3" id="text-h-2730f882-e775-41a3-b169-5049c142cc54">
</div>
<div id="outline-container-h-f6d2561f-5c02-4540-8287-4acf3037b3d5" class="outline-4">
<h4 id="h-f6d2561f-5c02-4540-8287-4acf3037b3d5"><span class="section-number-4">3.3.1</span> Emacs configuration</h4>
<div class="outline-text-4" id="text-h-f6d2561f-5c02-4540-8287-4acf3037b3d5">
<p>
Emacs is my main text editor, which I use for almost everything. Because,
you know…
</p>
<blockquote>
<p>
Emacs is a great operating system, it just lacks a good text editor.
</p>
</blockquote>
<p>
You can find my Emacs config, based on Spacemacs, in my <a href="https://labs.phundrak.com/phundrak/dotfiles/src/branch/master/.spacemacs">.spacemacs</a> file, and
my user configuration in my <a href="spacemacs.html">spacemacs.org</a> file.
</p>
</div>
</div>
<div id="outline-container-h-1724166b-55b7-4a64-9ff1-47c2a9e76f46" class="outline-4">
<h4 id="h-1724166b-55b7-4a64-9ff1-47c2a9e76f46"><span class="section-number-4">3.3.2</span> Nano</h4>
<div class="outline-text-4" id="text-h-1724166b-55b7-4a64-9ff1-47c2a9e76f46">
<p>
Although it is a very simple piece of software, nano does offer some
customization. Mine can be found in my <a href="file:///home/phundrak/org/config-website/nano.html">nano.org</a> file.
</p>
</div>
</div>
<div id="outline-container-h-0ae9005c-76a6-49f6-947c-0c8464616e10" class="outline-4">
<h4 id="h-0ae9005c-76a6-49f6-947c-0c8464616e10"><span class="section-number-4">3.3.3</span> Rustfmt</h4>
<div class="outline-text-4" id="text-h-0ae9005c-76a6-49f6-947c-0c8464616e10">
<p>
You can find my Rustfmt configuration <a href="rustfmt.html">here</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-h-d582e107-fa66-4f79-869e-2b49116ed1ec" class="outline-3">
<h3 id="h-d582e107-fa66-4f79-869e-2b49116ed1ec"><span class="section-number-3">3.4</span> Custom scripts in <code>PATH</code></h3>
<div class="outline-text-3" id="text-h-d582e107-fa66-4f79-869e-2b49116ed1ec">
<p>
I have written some scripts that help me daily accomplish some simple tasks,
like mounting and unmounting a drive or Android device, an emoji picker, a
utility to set up my Wacom tablet, and so on. You can find them stored in
<a href=".local/bin/README.html">.local/bin</a> along with their detailed explanation in the README placed in the
same folder —which is actually their source code once the org-mode file gets
tangled.
</p>
</div>
</div>
<div id="outline-container-h-f35ed9a3-c9fc-458c-8a62-693f679f6992" class="outline-3">
<h3 id="h-f35ed9a3-c9fc-458c-8a62-693f679f6992"><span class="section-number-3">3.5</span> Fish configuration with useful abbreviations</h3>
<div class="outline-text-3" id="text-h-f35ed9a3-c9fc-458c-8a62-693f679f6992">
<p>
You can also find in my Fish shell configuration in my <a href="file:///home/phundrak/org/config-website/fish.html">fish.org</a> file, which
contains my usual abbreviations.
</p>
</div>
</div>
<div id="outline-container-h-1a819f94-ab79-41e6-9509-a2781ab10b79" class="outline-3">
<h3 id="h-1a819f94-ab79-41e6-9509-a2781ab10b79"><span class="section-number-3">3.6</span> And some minor configuration files</h3>
<div class="outline-text-3" id="text-h-1a819f94-ab79-41e6-9509-a2781ab10b79">
</div>
<div id="outline-container-h-f6c48286-a320-493f-b330-ee0a697e6d79" class="outline-4">
<h4 id="h-f6c48286-a320-493f-b330-ee0a697e6d79"><span class="section-number-4">3.6.1</span> Email signature</h4>
<div class="outline-text-4" id="text-h-f6c48286-a320-493f-b330-ee0a697e6d79">
<p>
This file gets inserted automatically at the end of my emails.
</p>
<div class="org-src-container">
<pre class="src src-text">Lucien &#8220;Phundrak&#8221; Cartier-Tilet
https://phundrak.com (Fran&#231;ais)
https://en.phundrak.com (English)
Sent from a Free and Open-Source Linux operating system with GNU/Emacs
</pre>
</div>
</div>
</div>
<div id="outline-container-h-4f92eb29-7cfa-48ec-b39d-39037ace3682" class="outline-4">
<h4 id="h-4f92eb29-7cfa-48ec-b39d-39037ace3682"><span class="section-number-4">3.6.2</span> Global gitignore</h4>
<div class="outline-text-4" id="text-h-4f92eb29-7cfa-48ec-b39d-39037ace3682">
<p>
Sometimes, there are some lines that always reappear in gitignores. So,
instead of always adding them, let git now that some elements are to be
ignored by default, hence the <a href=".gitignore_global">~/.gitignore_global</a> file. First, we dont want
nanos backup files.
</p>
<div class="org-src-container">
<pre class="src src-text">~*
</pre>
</div>
<p>
And object files and output binaries generated by <code>gcc</code> and the likes arent
welcome either.
</p>
<div class="org-src-container">
<pre class="src src-text">*.out
*.o
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-h-4f48b912-b67b-4549-a671-802e76221f46" class="outline-3">
<h3 id="h-4f48b912-b67b-4549-a671-802e76221f46"><span class="section-number-3">3.7</span> Tmux configuration</h3>
<div class="outline-text-3" id="text-h-4f48b912-b67b-4549-a671-802e76221f46">
<p>
You can find my tmux configuration in <a href="tmux.html">tmux.org</a>. It depends on the submodule
<a href="https://github.com/gpakosz/.tmux.git">.tmux</a> by <a href="https://pempek.net/">Gregory Pakosz</a>.
</p>
</div>
</div>
</div>
<div id="outline-container-h-5849dbcf-a650-4323-9a90-bec549a7b982" class="outline-2">
<h2 id="h-5849dbcf-a650-4323-9a90-bec549a7b982"><span class="section-number-2">4</span> Dependencies</h2>
<div class="outline-text-2" id="text-h-5849dbcf-a650-4323-9a90-bec549a7b982">
<p>
Of course, some dependencies are needed for my dotfiles to work well. Here is
a non-exhaustive list of software needed by these configuration files:
</p>
<ul class="org-ul">
<li><a href="https://www.gnu.org/software/emacs/">GNU/Emacs</a> &gt;= 26.2
<ul class="org-ul">
<li><a href="http://spacemacs.org">Spacemacs</a> (develop branch)</li>
<li>My <a href="https://labs.phundrak.com/phundrak/conlang-layer">conlanging layer</a></li>
<li><a href="https://github.com/venmos/w3m-layer">Venmos</a> <a href="https://github.com/venmos/w3m-layer">w3m layer</a></li>
</ul></li>
<li>The <a href="https://fishshell.com/">Fish shell</a>, using <a href="https://github.com/jorgebucaran/fisher">fisher</a></li>
<li><a href="https://lukesmith.xyz/">Luke Smith</a>s <a href="https://github.com/LukeSmithxyz/st">fork</a> of <a href="https://st.suckless.org/">st</a></li>
<li><a href="https://resloved.info/">Resloved</a>s <a href="https://github.com/resloved/i3">i3-gaps-rounded</a> fork of <a href="https://github.com/Airblader/i3">Airblader</a>s <a href="https://github.com/Airblader/i3">i3-gaps</a>, itself a fork of <a href="https://i3wm.org/">i3</a></li>
<li><a href="https://github.com/yshui/compton">Compton</a>, more specificaly <a href="https://github.com/tryone144/compton">Tryone</a>s <a href="https://github.com/tryone144/compton">fork</a></li>
<li><a href="https://github.com/dylanaraps/pywal/">pywal</a></li>
<li><a href="https://tools.suckless.org/dmenu/">dmenu</a></li>
<li><a href="https://github.com/enkore/j4-dmenu-desktop">j4-dmenu-desktop</a></li>
<li><a href="https://github.com/davatorium/rofi">Rofi</a></li>
<li><a href="https://github.com/gpoore/minted">minted</a></li>
<li><a href="https://www.rust-lang.org/">Rust</a> (stable and nightly)</li>
<li><a href="https://www.latex-project.org/">LaTeX</a> and <a href="http://xetex.sourceforge.net/">XeTeX</a> (<code>texlive</code> packages on Arch Linux)</li>
<li><a href="https://github.com/tmux/tmux">tmux</a>, based on <a href="https://github.com/gpakosz/.tmux">this repo</a>s configuration by <a href="https://pempek.net/">Grégory Pakosz</a>.</li>
<li>And a bunch of other stuff, see below</li>
</ul>
<p>
And some other stuff scattered around in my dotfiles.
</p>
<p>
BTW, I use Arch.
</p>
</div>
</div>
<div id="outline-container-h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09" class="outline-2">
<h2 id="h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09"><span class="section-number-2">5</span> Installation</h2>
<div class="outline-text-2" id="text-h-bfb2e09b-d5d7-4d6f-8b29-763c49b3fd09">
<p>
For an installation walkthrough of my Arch Linux installation, check out my
<a href="installation.html">installation.org</a> file where I walk you through the first manual steps and
through the bootstrap you can execute to automatically take care of a lot of
elements.
</p>
</div>
</div>
<div id="outline-container-h-a3438126-ee60-4f11-a2f6-f52e49dade59" class="outline-2">
<h2 id="h-a3438126-ee60-4f11-a2f6-f52e49dade59"><span class="section-number-2">6</span> Licence</h2>
<div class="outline-text-2" id="text-h-a3438126-ee60-4f11-a2f6-f52e49dade59">
<p>
All of my dotfiles (and my dotfiles only) are available under the GNU GPLv3
Licence. Please consult <a href="LICENCE.md">LICENCE.md</a> for more information. In short: you
are free to access, edit and redistribute all of my dotfiles under the same
licence and as allowed by the licence, and if you fuck up something, its your
own responsibility.
</p>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Lucien Cartier-Tilet</p>
<p class="email">Email: <a href="mailto:lucien@phundrak.com">lucien@phundrak.com</a></p>
<p class="date">Created: 2020-05-05 mar. 23:17</p>
</div>
</body>
</html>