Update html files
This commit is contained in:
parent
63ddff6795
commit
0e79a53dd3
@ -4,7 +4,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>
|
||||
<!-- 2020-01-11 sam. 22:19 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Binaries</title>
|
||||
@ -773,7 +773,7 @@ $<span class="org-variable-name">HOME</span>/.config/polybar/scripts/launch.sh <
|
||||
<h2 id="org66b3195">readbib</h2>
|
||||
<div class="outline-text-2" id="text-org66b3195">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/thesis/ressources/pdfs/ && <span class="org-type">ls</span> | dmenu -l <span class="org-highlight-numbers-number">20</span> | xargs -I <span class="org-rainbow-delimiters-depth-1">{}</span> zathura <span class="org-rainbow-delimiters-depth-1">{}</span>
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/thesis/ressources/pdfs/ && <span class="org-type">ls</span> | rofi -dmenu -lines <span class="org-highlight-numbers-number">20</span> | xargs -I <span class="org-rainbow-delimiters-depth-1">{}</span> zathura <span class="org-rainbow-delimiters-depth-1">{}</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -783,7 +783,7 @@ $<span class="org-variable-name">HOME</span>/.config/polybar/scripts/launch.sh <
|
||||
<h2 id="org8d458ec">readnotes</h2>
|
||||
<div class="outline-text-2" id="text-org8d458ec">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/thesis/ressources/notes/ && <span class="org-type">ls</span> *.pdf | dmenu -l <span class="org-highlight-numbers-number">20</span> | xargs -I <span class="org-rainbow-delimiters-depth-1">{}</span> zathura <span class="org-rainbow-delimiters-depth-1">{}</span>
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/thesis/ressources/notes/ && <span class="org-type">ls</span> *.pdf | rofi -dmenu -lines <span class="org-highlight-numbers-number">20</span> | xargs -I <span class="org-rainbow-delimiters-depth-1">{}</span> zathura <span class="org-rainbow-delimiters-depth-1">{}</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -921,7 +921,7 @@ The sed piece just removes the colon from the provided prompt: <code>rofi -p</co
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-11 sam. 22:19</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,7 +4,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>
|
||||
<!-- 2020-01-11 sam. 22:19 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Configuration Files</title>
|
||||
@ -265,7 +265,6 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org2836d2e">dmenu</a></li>
|
||||
<li><a href="#org4f16229">Locale</a></li>
|
||||
<li><a href="#org3de708f">Pass Git Helper</a></li>
|
||||
<li><a href="#org35bf98c">Clipit (Clipboard Manager)</a></li>
|
||||
<li><a href="#org64dab5c">Nitrogen (Wallpaper manager)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -438,40 +437,6 @@ default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org35bf98c" class="outline-2">
|
||||
<h2 id="org35bf98c">Clipit (Clipboard Manager)</h2>
|
||||
<div class="outline-text-2" id="text-org35bf98c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">rc</span>]
|
||||
<span class="org-variable-name">use_copy</span>=true
|
||||
<span class="org-variable-name">use_primary</span>=false
|
||||
<span class="org-variable-name">synchronize</span>=false
|
||||
<span class="org-variable-name">automatic_paste</span>=false
|
||||
<span class="org-variable-name">show_indexes</span>=false
|
||||
<span class="org-variable-name">save_uris</span>=false
|
||||
<span class="org-variable-name">use_rmb_menu</span>=false
|
||||
<span class="org-variable-name">save_history</span>=false
|
||||
<span class="org-variable-name">history_limit</span>=<span class="org-highlight-numbers-number">50</span>
|
||||
<span class="org-variable-name">items_menu</span>=<span class="org-highlight-numbers-number">20</span>
|
||||
<span class="org-variable-name">statics_show</span>=false
|
||||
<span class="org-variable-name">statics_items</span>=<span class="org-highlight-numbers-number">10</span>
|
||||
<span class="org-variable-name">hyperlinks_only</span>=false
|
||||
<span class="org-variable-name">confirm_clear</span>=false
|
||||
<span class="org-variable-name">single_line</span>=false
|
||||
<span class="org-variable-name">reverse_history</span>=false
|
||||
<span class="org-variable-name">item_length</span>=<span class="org-highlight-numbers-number">50</span>
|
||||
<span class="org-variable-name">ellipsize</span>=<span class="org-highlight-numbers-number">2</span>
|
||||
<span class="org-variable-name">history_key</span>=
|
||||
<span class="org-variable-name">actions_key</span>=
|
||||
<span class="org-variable-name">menu_key</span>=
|
||||
<span class="org-variable-name">search_key</span>=
|
||||
<span class="org-variable-name">offline_key</span>=
|
||||
<span class="org-variable-name">offline_mode</span>=false
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64dab5c" class="outline-2">
|
||||
<h2 id="org64dab5c">Nitrogen (Wallpaper manager)</h2>
|
||||
<div class="outline-text-2" id="text-org64dab5c">
|
||||
@ -495,7 +460,7 @@ default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-11 sam. 22:19</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
314
docs/doom.html
314
docs/doom.html
@ -1,11 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?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>
|
||||
<!-- 2020-01-12 dim. 00:18 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Doom Emacs Configuration</title>
|
||||
@ -263,15 +262,16 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#orgd49c2db">Personal Information</a></li>
|
||||
<li><a href="#orgcf3b44c">Doom Config</a></li>
|
||||
<li><a href="#orga2ab779">Evil</a></li>
|
||||
<li><a href="#orgb339871">Basic</a>
|
||||
<li><a href="#org34ec6e9">Basic</a>
|
||||
<ul>
|
||||
<li><a href="#org0272904">Visual</a></li>
|
||||
<li><a href="#orgfa0f4d4">Change default alert backend</a></li>
|
||||
<li><a href="#orgab0c401">Lockfiles</a></li>
|
||||
<li><a href="#org343ab5d">Disable highlight of current line</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc047155">Magit</a></li>
|
||||
<li><a href="#org13468c6">Org Mode</a>
|
||||
<li><a href="#org3ffdc27">Org Mode</a>
|
||||
<ul>
|
||||
<li><a href="#org8eadfc6">Make sure to load Org</a></li>
|
||||
<li><a href="#orge682476">Org General Config</a></li>
|
||||
@ -296,7 +296,7 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org9713b96">Org Capture</a></li>
|
||||
<li><a href="#org839d7a9">Org Export</a>
|
||||
<ul>
|
||||
<li><a href="#orgedb7fc4">Basic</a></li>
|
||||
<li><a href="#orga8ba4e1">Basic</a></li>
|
||||
<li><a href="#org3480957">Ox Latex Subfigure package</a></li>
|
||||
<li><a href="#org44cf309">Clear page before heading</a></li>
|
||||
<li><a href="#org253b1f3"><span class="todo TODO">TODO</span> HTML Export</a>
|
||||
@ -312,7 +312,7 @@ for the JavaScript code in this tag.
|
||||
<ul>
|
||||
<li><a href="#orgac3afe0">Org CdLatex</a></li>
|
||||
<li><a href="#orgaa26736">LaTeX Classes</a></li>
|
||||
<li><a href="#org34ec6e9">Basic</a></li>
|
||||
<li><a href="#org8e35b31">Basic</a></li>
|
||||
<li><a href="#orgce10c33">Beamer</a></li>
|
||||
<li><a href="#org41a7583"><span class="todo TODO">TODO</span> Latex Fragments</a></li>
|
||||
<li><a href="#org7d55947"><span class="todo TODO">TODO</span> Custom Export - Add Page and Label for LaTeX export</a></li>
|
||||
@ -356,14 +356,14 @@ for the JavaScript code in this tag.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgba4e015">LaTeX</a>
|
||||
<li><a href="#org5528118">LaTeX</a>
|
||||
<ul>
|
||||
<li><a href="#org40b5f06">Basic LaTeX configuration</a></li>
|
||||
<li><a href="#org0822b20">Master file</a></li>
|
||||
<li><a href="#orga5f09b3">Pdf Viewer</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgfa81b45">Helm-Bibtex</a>
|
||||
<li><a href="#org76cc82e">Helm-Bibtex</a>
|
||||
<ul>
|
||||
<li><a href="#org1f30ffc">General Config</a></li>
|
||||
<li><a href="#org736240d">Open pdf externally</a></li>
|
||||
@ -371,7 +371,7 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org29f4b2d">List all element of the bibliography without pdf associated</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org254cc52"><span class="todo TODO">TODO</span> Matlab</a>
|
||||
<li><a href="#orgf1443b6"><span class="todo TODO">TODO</span> Matlab</a>
|
||||
<ul>
|
||||
<li><a href="#orgb915baf">Setup Matlab Mode</a></li>
|
||||
<li><a href="#orgb8a016c">Setup Flycheck</a></li>
|
||||
@ -410,13 +410,12 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org9828815">Custom command and leader keys</a>
|
||||
<ul>
|
||||
<li><a href="#orgb4f71cc">Watch LaTeX file using latexmk</a></li>
|
||||
<li><a href="#org76cc82e">Helm-Bibtex</a></li>
|
||||
<li><a href="#org7ac3ea1">Helm-Bibtex</a></li>
|
||||
<li><a href="#org2d6c0fe">Open terminal in current directory</a></li>
|
||||
<li><a href="#orgbefa4d1">Open ranger in current directory</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3ef34ce">Yassnippets</a></li>
|
||||
<li><a href="#org59bb8b7">Path for Shell</a></li>
|
||||
<li><a href="#org6fc5eda">Proxy</a></li>
|
||||
<li><a href="#org2788625"><span class="todo TODO">TODO</span> Slack</a></li>
|
||||
<li><a href="#org12d5691"><span class="todo TODO">TODO</span> Neomutt connection</a></li>
|
||||
@ -426,7 +425,7 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org973006b">Doom <code>packages.el</code></a></li>
|
||||
<li><a href="#org2825322">Snippets</a>
|
||||
<ul>
|
||||
<li><a href="#org5528118">LaTeX</a>
|
||||
<li><a href="#org6c379fb">LaTeX</a>
|
||||
<ul>
|
||||
<li><a href="#org4373943">Coordinate</a></li>
|
||||
<li><a href="#orgd34961c">Draw</a></li>
|
||||
@ -434,13 +433,13 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org9f72371">Path</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf1443b6">Matlab</a>
|
||||
<li><a href="#orgfacfeff">Matlab</a>
|
||||
<ul>
|
||||
<li><a href="#orge9ad144">Clear</a></li>
|
||||
<li><a href="#org92008ce">Function</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3ffdc27">Org Mode</a>
|
||||
<li><a href="#orgd07a8b6">Org Mode</a>
|
||||
<ul>
|
||||
<li><a href="#orgb14fbd1">Begin</a></li>
|
||||
<li><a href="#org259484c">Block</a></li>
|
||||
@ -834,9 +833,9 @@ Documentation:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb339871" class="outline-2">
|
||||
<h2 id="orgb339871">Basic</h2>
|
||||
<div class="outline-text-2" id="text-orgb339871">
|
||||
<div id="outline-container-org34ec6e9" class="outline-2">
|
||||
<h2 id="org34ec6e9">Basic</h2>
|
||||
<div class="outline-text-2" id="text-org34ec6e9">
|
||||
</div>
|
||||
<div id="outline-container-org0272904" class="outline-3">
|
||||
<h3 id="org0272904">Visual</h3>
|
||||
@ -845,7 +844,7 @@ Documentation:
|
||||
Automatic line wrap.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">global-visual-line-mode</span> t<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">global-visual-line-mode</span> nil<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -854,6 +853,11 @@ Turn off auto-fill mode that add line breaks.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">auto-fill-mode</span> <span class="org-highlight-numbers-number">-1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">remove-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">text-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">turn-on-auto-fill</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">turn on auto-fill for text-mode</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">text-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">turn-on-auto-fill</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">turn off auto-fill for org-mode</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">org-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">turn-off-auto-fill</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -878,6 +882,22 @@ Turn off auto-fill mode that add line breaks.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org343ab5d" class="outline-3">
|
||||
<h3 id="org343ab5d">Disable highlight of current line</h3>
|
||||
<div class="outline-text-3" id="text-org343ab5d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">global-hl-line-mode</span> <span class="org-highlight-numbers-number">-1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">org-mode-hook</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">lambda</span><span class="org-rainbow-delimiters-depth-3">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-variable-name">hl-line-mode</span> <span class="org-highlight-numbers-number">-1</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-variable-name">global-hl-line-mode</span> <span class="org-highlight-numbers-number">-1</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">t</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc047155" class="outline-2">
|
||||
@ -892,9 +912,9 @@ Turn off auto-fill mode that add line breaks.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org13468c6" class="outline-2">
|
||||
<h2 id="org13468c6">Org Mode</h2>
|
||||
<div class="outline-text-2" id="text-org13468c6">
|
||||
<div id="outline-container-org3ffdc27" class="outline-2">
|
||||
<h2 id="org3ffdc27">Org Mode</h2>
|
||||
<div class="outline-text-2" id="text-org3ffdc27">
|
||||
<ul class="org-ul">
|
||||
<li><a href="http://cachestocaches.com/2016/9/my-workflow-org-agenda/">http://cachestocaches.com/2016/9/my-workflow-org-agenda/</a></li>
|
||||
<li><a href="http://doc.norang.ca/org-mode.html#TodoKeywords">http://doc.norang.ca/org-mode.html#TodoKeywords</a></li>
|
||||
@ -948,24 +968,28 @@ TAB was changed to toggle only the visibility state of the current subtree, rath
|
||||
<div id="outline-container-org51f6b69" class="outline-3">
|
||||
<h3 id="org51f6b69">Org latex fragment</h3>
|
||||
<div class="outline-text-3" id="text-org51f6b69">
|
||||
<p>
|
||||
Don’t change the font size for subscripts and superscripts in latex fragments.
|
||||
This cause the orgmode tables not to be well aligned.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-highlight-latex-and-related</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span>native<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">font-latex-fontify-script</span> nil<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defvar</span> <span class="org-variable-name">tdh/org-latex-fragment-last</span> nil
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defvar</span> <span class="org-variable-name">tdh/org-latex-fragment-last</span> nil
|
||||
<span class="org-doc">"Holds last fragment/environment you were on."</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/org-in-latex-fragment-p</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/org-in-latex-fragment-p</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-doc">"Return the point where the latex fragment begins, if inside</span>
|
||||
<span class="org-doc"> a latex fragment. Else return false"</span>
|
||||
<span class="org-doc">a latex fragment. Else return false"</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">let*</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-rainbow-delimiters-depth-1">(</span>el <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-element-context</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span>el-type <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">car</span> el<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">and</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">or</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">eq</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">latex-fragment</span> el-type<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">eq</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">latex-environment</span> el-type<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-element-property</span> <span class="org-builtin">:begin</span> el<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/org-latex-fragment-toggle</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/org-latex-fragment-toggle</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-doc">"Toggle a latex fragment image "</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">and</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">eq</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">org-mode</span> <span class="org-variable-name">major-mode</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">let</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>begin <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">tdh/org-in-latex-fragment-p</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -993,7 +1017,7 @@ TAB was changed to toggle only the visibility state of the current subtree, rath
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">let</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-rainbow-delimiters-depth-3">(</span>ov <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">loop</span> for ov in <span class="org-rainbow-delimiters-depth-2">(</span>org--list-latex-overlays<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
if
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">and</span>
|
||||
r <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant"><=</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">overlay-start</span> ov<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">point</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant"><=</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">overlay-start</span> ov<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">point</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">>=</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">overlay-end</span> ov<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">point</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
return ov<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">when</span> ov
|
||||
@ -1053,7 +1077,7 @@ r <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-co
|
||||
<div class="outline-text-3" id="text-orgcd26239">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Align Tags and flush right</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-tags-column</span> <span class="org-highlight-numbers-number">-80</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-tags-column</span> <span class="org-highlight-numbers-number">-78</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Tags with fast selection keys</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-tag-alist</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">quote</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"@home"</span> . ?h<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"@work"</span> . ?w<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -1400,9 +1424,9 @@ Documentation:
|
||||
<h3 id="org839d7a9">Org Export</h3>
|
||||
<div class="outline-text-3" id="text-org839d7a9">
|
||||
</div>
|
||||
<div id="outline-container-orgedb7fc4" class="outline-4">
|
||||
<h4 id="orgedb7fc4">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orgedb7fc4">
|
||||
<div id="outline-container-orga8ba4e1" class="outline-4">
|
||||
<h4 id="orga8ba4e1">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orga8ba4e1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">How many levels of headline to export</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-export-headline-levels</span> <span class="org-highlight-numbers-number">4</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -1601,9 +1625,9 @@ Documentation:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org34ec6e9" class="outline-4">
|
||||
<h4 id="org34ec6e9">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org34ec6e9">
|
||||
<div id="outline-container-org8e35b31" class="outline-4">
|
||||
<h4 id="org8e35b31">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org8e35b31">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Add packages by default</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-to-list</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">org-latex-packages-alist</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">""</span> <span class="org-string">"siunitx"</span> t<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -1700,37 +1724,36 @@ Special Environments
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Define backends to preview LaTeX fragments</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-preview-latex-process-alist</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-rainbow-delimiters-depth-3">(</span>imagemagick
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"latex"</span> <span class="org-string">"convert"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"pdflatex"</span> <span class="org-string">"convert"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:description</span> <span class="org-string">"pdf > png"</span>
|
||||
<span class="org-builtin">:message</span> <span class="org-string">"you need to install the programs: latex and imagemagick."</span>
|
||||
<span class="org-builtin">:message</span> <span class="org-string">"you need to install the programs: pdflatex and imagemagick."</span>
|
||||
<span class="org-builtin">:image-input-type</span> <span class="org-string">"pdf"</span>
|
||||
<span class="org-builtin">:image-output-type</span> <span class="org-string">"png"</span>
|
||||
<span class="org-builtin">:image-size-adjust</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">0.6</span> . <span class="org-highlight-numbers-number">0.6</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:latex-compiler</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"pdflatex -interaction nonstopmode -output-directory %o %f"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:image-converter</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"convert -density %D -trim -antialias %f -quality 100 %O"</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span>pdf2svg
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"latex"</span> <span class="org-string">"pdf2svg"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:description</span> <span class="org-string">"pdf > svg"</span>
|
||||
<span class="org-builtin">:message</span> <span class="org-string">"you need to install the programs: pdflatex and pdf2svg."</span>
|
||||
<span class="org-builtin">:image-input-type</span> <span class="org-string">"pdf"</span>
|
||||
<span class="org-builtin">:image-output-type</span> <span class="org-string">"svg"</span>
|
||||
<span class="org-builtin">:image-size-adjust</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">1.0</span> . <span class="org-highlight-numbers-number">1.0</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:latex-compiler</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"pdflatex -interaction nonstopmode -output-directory %o %f"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:image-converter</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"pdfcrop %f %f && pdftocairo -svg %f %O"</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">:image-converter ("pdf2svg %f %O"))</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span>dvipng
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"latex"</span> <span class="org-string">"dvipng"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:description</span> <span class="org-string">"dvi > png"</span>
|
||||
<span class="org-builtin">:message</span> <span class="org-string">"you need to install the programs: latex and dvipng."</span>
|
||||
<span class="org-builtin">:image-input-type</span> <span class="org-string">"dvi"</span>
|
||||
<span class="org-builtin">:image-output-type</span> <span class="org-string">"png"</span>
|
||||
<span class="org-builtin">:image-size-adjust</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">0.5</span> . <span class="org-highlight-numbers-number">0.5</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:latex-compiler</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"latex -interaction nonstopmode -output-directory %o %f"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:image-converter</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"dvipng -D %D -T tight -o %O %f"</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span>dvisvgm
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"latex"</span> <span class="org-string">"dvisvgm"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"pdflatex"</span> <span class="org-string">"dvisvgm"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:description</span> <span class="org-string">"dvi > svg"</span>
|
||||
<span class="org-builtin">:message</span> <span class="org-string">"you need to install the programs: latex and dvisvgm."</span>
|
||||
<span class="org-builtin">:image-input-type</span> <span class="org-string">"dvi"</span>
|
||||
<span class="org-builtin">:image-output-type</span> <span class="org-string">"svg"</span>
|
||||
<span class="org-builtin">:image-size-adjust</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">0.8</span> . <span class="org-highlight-numbers-number">0.8</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:image-size-adjust</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">0.7</span> . <span class="org-highlight-numbers-number">0.7</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:latex-compiler</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"latex -interaction nonstopmode -output-directory %o %f"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-builtin">:image-converter</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"dvisvgm %f -n -b min -c %S -o %O"</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Use imagemagick/dvisvgm to generate png from pdf</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-preview-latex-default-process</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">dvisvgm</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-preview-latex-default-process</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">dvipng</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -1744,9 +1767,9 @@ Special Environments
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defcustom</span> <span class="org-variable-name">tdehaeze/org-property-mapping</span>
|
||||
<span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-rainbow-delimiters-depth-3">(</span>latex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"CUSTOM_PAGE"</span> . tdehaeze/insert-org-page-latex<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"CUSTOM_LABEL"</span> . tdehaeze/insert-org-label-latex<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defcustom</span> <span class="org-variable-name">tdh/org-property-mapping</span>
|
||||
<span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-rainbow-delimiters-depth-3">(</span>latex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"CUSTOM_PAGE"</span> . tdh/insert-org-page-latex<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"CUSTOM_LABEL"</span> . tdh/insert-org-label-latex<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-doc">"List of mappings from org property to arbitrary strings.</span>
|
||||
<span class="org-doc">Each element is a list:</span>
|
||||
<span class="org-doc"> (BACKEND (PROPERTY1 . FUNCTION1) (PROPERTY2 . FUNCTION2) ...)</span>
|
||||
@ -1758,13 +1781,13 @@ Special Environments
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdehaeze/replace-org-property</span> <span class="org-rainbow-delimiters-depth-2">(</span>backend<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-doc">"Convert org properties using `</span><span class="org-doc"><span class="org-constant">tdehaeze/org-property-mapping</span></span><span class="org-doc">'.</span>
|
||||
<span class="org-doc">Lookup BACKEND in `</span><span class="org-doc"><span class="org-constant">tdehaeze/org-property-mapping</span></span><span class="org-doc">' for a list of</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/replace-org-property</span> <span class="org-rainbow-delimiters-depth-2">(</span>backend<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-doc">"Convert org properties using `</span><span class="org-doc"><span class="org-constant">tdh/org-property-mapping</span></span><span class="org-doc">'.</span>
|
||||
<span class="org-doc">Lookup BACKEND in `</span><span class="org-doc"><span class="org-constant">tdh/org-property-mapping</span></span><span class="org-doc">' for a list of</span>
|
||||
<span class="org-doc">(PROPERTY REPLACEMENT). For each healine being exported, if it has a</span>
|
||||
<span class="org-doc">PROPERTY listed insert a string immediately after the healine given by</span>
|
||||
<span class="org-doc"> (format REPLACEMENT PROPERTY-VALUE)"</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">let</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">map</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">cdr</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">assoc</span> backend tdehaeze/org-property-mapping<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">let</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">map</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">cdr</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">assoc</span> backend tdh/org-property-mapping<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
value replacement<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">when</span> map
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-map-entries</span>
|
||||
@ -1774,17 +1797,17 @@ Special Environments
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">when</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">setq</span> value <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-entry-get</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">point</span><span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">car</span> it<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">funcall</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">cdr</span> it<span class="org-rainbow-delimiters-depth-1">)</span> value<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">org-export-before-processing-hook</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">tdehaeze/replace-org-property</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">org-export-before-processing-hook</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">tdh/replace-org-property</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdehaeze/insert-org-label-latex</span> <span class="org-rainbow-delimiters-depth-2">(</span>label<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/insert-org-label-latex</span> <span class="org-rainbow-delimiters-depth-2">(</span>label<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-doc">"Insert \"\\\\label{LABEL}\\n\" after the :PROPERTY: drawer."</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">search-forward-regexp</span> <span class="org-variable-name">org-property-end-re</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">forward-char</span> <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">insert</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">format</span> <span class="org-string">"\\label{%s}\n"</span> label<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdehaeze/insert-org-page-latex</span> <span class="org-rainbow-delimiters-depth-2">(</span>page<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/insert-org-page-latex</span> <span class="org-rainbow-delimiters-depth-2">(</span>page<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-doc">"Insert \"\\\\page{PAGE}\\n\" after the :PROPERTY: drawer."</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">search-forward-regexp</span> <span class="org-variable-name">org-property-end-re</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">forward-char</span> <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
@ -2052,28 +2075,33 @@ Ressources:
|
||||
</ul>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Folder where the notes files are located (or file if just one Note file)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> org-ref-notes-directory <span class="org-string">"~/Cloud/thesis/ressources/notes"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> org-ref-bibliography-notes <span class="org-string">"~/Cloud/thesis/ressources/notes"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">use-package!</span> org-ref
|
||||
<span class="org-builtin">:after</span> org
|
||||
<span class="org-builtin">:config</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Folder where the notes files are located (or file if just one Note file)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-ref-notes-directory</span> <span class="org-string">"~/Cloud/thesis/ressources/notes"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-ref-bibliography-notes</span> <span class="org-string">"~/Cloud/thesis/ressources/notes"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Bibliography File</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">reftex-default-bibliography</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"~/Cloud/thesis/ressources/references.bib"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> org-ref-default-bibliography <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"~/Cloud/thesis/ressources/references.bib"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Bibliography File</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">reftex-default-bibliography</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-string">"~/Cloud/thesis/ressources/references.bib"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-ref-default-bibliography</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-string">"~/Cloud/thesis/ressources/references.bib"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Folder where all the pdf are located</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> org-ref-pdf-directory <span class="org-string">"~/Cloud/thesis/ressources/pdfs"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Folder where all the pdf are located</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-ref-pdf-directory</span> <span class="org-string">"~/Cloud/thesis/ressources/pdfs"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Tell org-ref to let helm-bibtex find notes for it</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> org-ref-notes-function
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">lambda</span> <span class="org-rainbow-delimiters-depth-3">(</span>thekey<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">let</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>bibtex-completion-bibliography <span class="org-rainbow-delimiters-depth-3">(</span>org-ref-find-bibliography<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span>bibtex-completion-edit-notes
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">list</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">car</span> <span class="org-rainbow-delimiters-depth-1">(</span>org-ref-get-bibtex-key-and-file thekey<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Tell org-ref to let helm-bibtex find notes for it</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-ref-notes-function</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">lambda</span> <span class="org-rainbow-delimiters-depth-1">(</span>thekey<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">let</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-variable-name">bibtex-completion-bibliography</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-ref-find-bibliography</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">bibtex-completion-edit-notes</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">list</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">car</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-ref-get-bibtex-key-and-file</span> thekey<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Problem with speed: don't display broken links</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> org-ref-show-broken-links nil<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Display information on the citation</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> org-ref-show-citation-on-enter t<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Problem with speed: don't display broken links</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-ref-show-broken-links</span> t<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Display information on the citation</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-ref-show-citation-on-enter</span> t<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">bibtex-set-dialect</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">BibTeX</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -2403,6 +2431,22 @@ when inside a source block. Otherwise, keep the normal behavior for ctrl-ent.
|
||||
Remap <code>C-c C-c</code>:
|
||||
<a href="https://emacs.stackexchange.com/questions/22430/rebind-org-babel-execute-src-block-maybe-to-c-c-c-c/22530#22530">https://emacs.stackexchange.com/questions/22430/rebind-org-babel-execute-src-block-maybe-to-c-c-c-c/22530#22530</a>
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/ctrl-shit-ret</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">defun</span> <span class="org-function-name">in-src-block-p</span> <span class="org-rainbow-delimiters-depth-3">()</span>
|
||||
<span class="org-doc">"Returns t when the point is inside a source code block"</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">string=</span> <span class="org-string">"src"</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-in-block-p</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"src"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span>in-src-block-p<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">tdh/org-babel-execute-goto-next</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">+org/insert-item-above</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">evil-org-mode-map</span>
|
||||
<span class="org-builtin">:n</span> <span class="org-string">"<C-S-return>"</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">tdh/ctrl-shit-ret</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2414,7 +2458,9 @@ Add all named source blocks to <code>org-babel-library-of-babel</code>.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-babel-lob-ingest</span> <span class="org-string">"~/Cloud/thesis/org-mode/org-babel-tutorial/org-babel-library.org"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> org-babel
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-babel-lob-ingest</span> <span class="org-string">"~/Cloud/thesis/org-mode/org-babel-tutorial/org-babel-library.org"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -2732,9 +2778,9 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgba4e015" class="outline-2">
|
||||
<h2 id="orgba4e015">LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-orgba4e015">
|
||||
<div id="outline-container-org5528118" class="outline-2">
|
||||
<h2 id="org5528118">LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-org5528118">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://tex.stackexchange.com/questions/52179/what-is-your-favorite-emacs-and-or-auctex-command-trick">https://tex.stackexchange.com/questions/52179/what-is-your-favorite-emacs-and-or-auctex-command-trick</a></li>
|
||||
<li><a href="https://tex.stackexchange.com/questions/20843/useful-shortcuts-or-key-bindings-or-predefined-commands-for-emacsauctex">https://tex.stackexchange.com/questions/20843/useful-shortcuts-or-key-bindings-or-predefined-commands-for-emacsauctex</a></li>
|
||||
@ -2789,36 +2835,36 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfa81b45" class="outline-2">
|
||||
<h2 id="orgfa81b45">Helm-Bibtex</h2>
|
||||
<div class="outline-text-2" id="text-orgfa81b45">
|
||||
<div id="outline-container-org76cc82e" class="outline-2">
|
||||
<h2 id="org76cc82e">Helm-Bibtex</h2>
|
||||
<div class="outline-text-2" id="text-org76cc82e">
|
||||
</div>
|
||||
<div id="outline-container-org1f30ffc" class="outline-3">
|
||||
<h3 id="org1f30ffc">General Config</h3>
|
||||
<div class="outline-text-3" id="text-org1f30ffc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Use "tags" field when looking for bib entries</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> helm-bibtex-additional-search-fields <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span>keywords<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">helm-bibtex-additional-search-fields</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span>tags<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Display of bibtex entries with helm</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> bibtex-completion-display-formats
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-display-formats</span>
|
||||
<span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-rainbow-delimiters-depth-3">(</span>t . <span class="org-string">"${author:36} ${title:*} ${year:4} ${=type=:7} ${=has-note=:1}"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Special symbols for notes and pdf</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> bibtex-completion-pdf-symbol <span class="org-string">"⌘"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> bibtex-completion-notes-symbol <span class="org-string">"✎"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-pdf-symbol</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-keyword">setq</span> <span class="org-variable-name">bibtex-completion-notes-symbol</span> <span class="org-string">"✎"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Bibliography file</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> bibtex-completion-bibliography <span class="org-string">"~/Cloud/thesis/ressources/references.bib"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-bibliography</span> <span class="org-string">"~/Cloud/thesis/ressources/references.bib"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Directory with all the pdfs</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> bibtex-completion-library-path <span class="org-string">"~/Cloud/thesis/ressources/pdfs"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-library-path</span> <span class="org-string">"~/Cloud/thesis/ressources/pdfs"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Directory with notes files</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> bibtex-completion-notes-path <span class="org-string">"~/Cloud/thesis/ressources/notes"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-notes-path</span> <span class="org-string">"~/Cloud/thesis/ressources/notes"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Template used when creating new Note file</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> bibtex-completion-notes-template-multiple-files <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">concat</span> <span class="org-string">"#+TITLE: ${title}\n"</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-notes-template-multiple-files</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">concat</span> <span class="org-string">"#+TITLE: ${title}\n"</span>
|
||||
<span class="org-string">":DRAWER:\n"</span>
|
||||
<span class="org-string">"#+LATEX_CLASS: biblioreport\n"</span>
|
||||
<span class="org-string">"\n"</span>
|
||||
@ -2833,7 +2879,7 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
<span class="org-string">"#+LATEX_HEADER: \\newcommand{\\refYear}{${year}}\n"</span>
|
||||
<span class="org-string">"#+LATEX_HEADER: \\newcommand{\\refDoi}{${DOI}}\n"</span>
|
||||
<span class="org-string">"#+LATEX_HEADER: \\newcommand{\\refUrl}{${url}}\n"</span>
|
||||
<span class="org-string">"#+LATEX_HEADER: \\newcommand{\\refKeywords}{${keywords}}\n"</span>
|
||||
<span class="org-string">"#+LATEX_HEADER: \\newcommand{\\refKeywords}{${tags}}\n"</span>
|
||||
<span class="org-string">"#+LATEX_HEADER: \\input{config.tex}\n"</span>
|
||||
<span class="org-string">"#+LATEX_HEADER: \\graphicspath{{./figs/${=key=}/}}\n"</span>
|
||||
<span class="org-string">"# #+TOC: headlines 2\n"</span>
|
||||
@ -2860,9 +2906,8 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Make "Edit notes" the default action</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> helm-bibtex
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-delete-action-from-source</span> <span class="org-string">"Edit notes"</span> helm-source-bibtex<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-add-action-to-source</span> <span class="org-string">"Edit notes"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">helm-bibtex-edit-notes</span> helm-source-bibtex <span class="org-highlight-numbers-number">0</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-delete-action-from-source</span> <span class="org-string">"Edit notes"</span> <span class="org-variable-name">helm-source-bibtex</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-add-action-to-source</span> <span class="org-string">"Edit notes"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">helm-bibtex-edit-notes</span> <span class="org-variable-name">helm-source-bibtex</span> <span class="org-highlight-numbers-number">0</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -2873,13 +2918,12 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
<div class="outline-text-3" id="text-org736240d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdehaeze/open-pdf-externally</span> <span class="org-rainbow-delimiters-depth-2">(</span>key<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">call-process</span> <span class="org-string">"zathura"</span> nil <span class="org-highlight-numbers-number">0</span> nil <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">nth</span> <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">-cons-to-list</span> <span class="org-rainbow-delimiters-depth-2">(</span>bibtex-completion-find-pdf key<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">call-process</span> <span class="org-string">"zathura"</span> nil <span class="org-highlight-numbers-number">0</span> nil <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">nth</span> <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">-cons-to-list</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">bibtex-completion-find-pdf</span> key<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Action to open the pdf with Zathura</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> helm-bibtex
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-delete-action-from-source</span> <span class="org-string">"Open PDF Externally"</span> helm-source-bibtex<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-add-action-to-source</span> <span class="org-string">"Open PDF Externally"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">tdehaeze/open-pdf-externally</span> helm-source-bibtex <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-delete-action-from-source</span> <span class="org-string">"Open PDF Externally"</span> <span class="org-variable-name">helm-source-bibtex</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">helm-add-action-to-source</span> <span class="org-string">"Open PDF Externally"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">tdehaeze/open-pdf-externally</span> <span class="org-variable-name">helm-source-bibtex</span> <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -2904,11 +2948,11 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">list-bib-without-pdf-associated</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>bibtex-completion-init<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> candidates <span class="org-rainbow-delimiters-depth-3">(</span>bibtex-completion-candidates<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">bibtex-completion-init</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> candidates <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">bibtex-completion-candidates</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">defun</span> <span class="org-function-name">canditate-is-pdf-present</span> <span class="org-rainbow-delimiters-depth-3">(</span>candidate<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span>bibtex-completion-find-pdf-in-library <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">cdr</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">assoc</span> <span class="org-string">"=key="</span> candidate<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">bibtex-completion-find-pdf-in-library</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">cdr</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">assoc</span> <span class="org-string">"=key="</span> candidate<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> candidates-without-pdf <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">remove-if</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">canditate-is-pdf-present</span> candidates<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
@ -2926,9 +2970,9 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org254cc52" class="outline-2">
|
||||
<h2 id="org254cc52"><span class="todo TODO">TODO</span> Matlab</h2>
|
||||
<div class="outline-text-2" id="text-org254cc52">
|
||||
<div id="outline-container-orgf1443b6" class="outline-2">
|
||||
<h2 id="orgf1443b6"><span class="todo TODO">TODO</span> Matlab</h2>
|
||||
<div class="outline-text-2" id="text-orgf1443b6">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://github.com/yuhonglin/matlab-mode">https://github.com/yuhonglin/matlab-mode</a></li>
|
||||
<li><a href="https://github.com/pronobis/matlab-mode">https://github.com/pronobis/matlab-mode</a></li>
|
||||
@ -2963,7 +3007,7 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-to-list</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">flycheck-checkers</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">matlab-mlint</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Automatic startup of flycheck for matlab</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">matlab-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">flycheck-mode</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">matlab-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">flycheck-mode</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -3025,7 +3069,7 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">matlab-mode-map</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> matlab-mode-map
|
||||
<span class="org-builtin">:n</span> <span class="org-string">",g"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">matlab-go-to-file-directory</span>
|
||||
<span class="org-builtin">:n</span> <span class="org-string">",da"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">matlab-add-breakpoint</span>
|
||||
<span class="org-builtin">:n</span> <span class="org-string">",dr"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">matlab-remove-breakpoint</span>
|
||||
@ -3044,7 +3088,7 @@ Actually this tangle the file and then go to the file. Maybe I would like to ign
|
||||
<h3 id="orgc7b5f09">Wrong highlight of comments</h3>
|
||||
<div class="outline-text-3" id="text-orgc7b5f09">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">matlab-mode-hook</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">matlab-mode-hook</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">`</span><span class="org-comment"><span class="org-constant">highlight-numbers-mode</span></span><span class="org-comment">' breaks MATLAB comment coloring --</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">`</span><span class="org-comment"><span class="org-constant">highlight-numbers-mode</span></span><span class="org-comment">' is mostly redundant with</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">`</span><span class="org-comment"><span class="org-constant">rainbow-identifiers-mode</span></span><span class="org-comment">' anyway</span>
|
||||
@ -3453,9 +3497,9 @@ Check <a href="https://github.com/djcb/mu/issues/179">here</a>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org76cc82e" class="outline-3">
|
||||
<h3 id="org76cc82e">Helm-Bibtex</h3>
|
||||
<div class="outline-text-3" id="text-org76cc82e">
|
||||
<div id="outline-container-org7ac3ea1" class="outline-3">
|
||||
<h3 id="org7ac3ea1">Helm-Bibtex</h3>
|
||||
<div class="outline-text-3" id="text-org7ac3ea1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">org-mode-map</span>
|
||||
<span class="org-builtin">:n</span> <span class="org-string">",ob"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">helm-bibtex</span>
|
||||
@ -3485,12 +3529,12 @@ Check <a href="https://github.com/djcb/mu/issues/179">here</a>.
|
||||
<h3 id="orgbefa4d1">Open ranger in current directory</h3>
|
||||
<div class="outline-text-3" id="text-orgbefa4d1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">open-ranger-in-workdir</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh/open-ranger-in-workdir</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">call-process-shell-command</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"termite --directory="</span> <span class="org-variable-name">default-directory</span> <span class="org-string">" --exec=ranger"</span><span class="org-rainbow-delimiters-depth-3">)</span> nil <span class="org-highlight-numbers-number">0</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">org-mode-map</span> <span class="org-builtin">:n</span> <span class="org-string">",oo"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">open-ranger-in-workdir</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">org-mode-map</span> <span class="org-builtin">:n</span> <span class="org-string">",oo"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">tdh/open-ranger-in-workdir</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -3508,17 +3552,6 @@ Check <a href="https://github.com/djcb/mu/issues/179">here</a>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org59bb8b7" class="outline-2">
|
||||
<h2 id="org59bb8b7">Path for Shell</h2>
|
||||
<div class="outline-text-2" id="text-org59bb8b7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">(when (memq window-system '(mac ns x))</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">(exec-path-from-shell-initialize))</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6fc5eda" class="outline-2">
|
||||
<h2 id="org6fc5eda">Proxy</h2>
|
||||
<div class="outline-text-2" id="text-org6fc5eda">
|
||||
@ -3658,7 +3691,6 @@ they are implemented.
|
||||
|
||||
<span class="org-builtin">:ui</span>
|
||||
doom <span class="org-comment-delimiter">; </span><span class="org-comment">what makes DOOM look the way it does</span>
|
||||
doom-dashboard <span class="org-comment-delimiter">; </span><span class="org-comment">a nifty splash screen for Emacs</span>
|
||||
hl-todo <span class="org-comment-delimiter">; </span><span class="org-comment">highlight </span><span class="org-bold"><span class="org-warning">TODO</span></span><span class="org-comment">/</span><span class="org-bold"><span class="org-error">FIXME</span></span><span class="org-comment">/</span><span class="org-bold"><span class="org-success">NOTE</span></span><span class="org-comment">/</span><span class="org-bold"><span class="org-doc">DEPRECATED</span></span><span class="org-comment">/</span><span class="org-bold"><span class="org-constant">HACK</span></span><span class="org-comment">/</span><span class="org-bold"><span class="org-keyword">REVIEW</span></span>
|
||||
hydra
|
||||
modeline <span class="org-comment-delimiter">; </span><span class="org-comment">snazzy, Atom-inspired modeline, plus API</span>
|
||||
@ -3691,17 +3723,13 @@ they are implemented.
|
||||
|
||||
<span class="org-builtin">:tools</span>
|
||||
<span class="org-variable-name">debugger</span> <span class="org-comment-delimiter">; </span><span class="org-bold"><span class="org-error">FIXME</span></span><span class="org-comment"> stepping through code, to help you add bugs</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">ein ; tame Jupyter notebooks with emacs</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">eval</span> +overlay<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-comment-delimiter">; </span><span class="org-comment">run code, run (also, repls)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>lookup <span class="org-comment-delimiter">; </span><span class="org-comment">helps you navigate your code and documentation</span>
|
||||
+docsets<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-comment-delimiter">; </span><span class="org-comment">...or in Dash docsets locally</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">lsp</span>
|
||||
magit <span class="org-comment-delimiter">; </span><span class="org-comment">a git porcelain for Emacs</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">make ; run make tasks from Emacs</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">pass ; password manager for nerds</span>
|
||||
pdf <span class="org-comment-delimiter">; </span><span class="org-comment">pdf enhancements</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">rgb ; creating color strings</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">upload ; map local to remote projects via ssh/ftp</span>
|
||||
|
||||
<span class="org-builtin">:checkers</span>
|
||||
syntax <span class="org-comment-delimiter">; </span><span class="org-comment">tasing you for every semicolon you forget</span>
|
||||
@ -3710,21 +3738,15 @@ they are implemented.
|
||||
<span class="org-builtin">:lang</span>
|
||||
data <span class="org-comment-delimiter">; </span><span class="org-comment">config/data formats</span>
|
||||
emacs-lisp <span class="org-comment-delimiter">; </span><span class="org-comment">drown in parentheses</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">ess ; emacs speaks statistics</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">go ; the hipster dialect</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">(haskell +dante) ; a language that's lazier than I am</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">javascript ; all(hope(abandon(ye(who(enter(here))))))</span>
|
||||
latex <span class="org-comment-delimiter">; </span><span class="org-comment">writing papers in Emacs has never been so fun</span>
|
||||
markdown <span class="org-comment-delimiter">; </span><span class="org-comment">writing docs for people to ignore</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>org <span class="org-comment-delimiter">; </span><span class="org-comment">organize your plain life in plain text</span>
|
||||
+dragndrop <span class="org-comment-delimiter">; </span><span class="org-comment">drag & drop files/images into org buffers</span>
|
||||
+hugo <span class="org-comment-delimiter">; </span><span class="org-comment">use Emacs for hugo blogging</span>
|
||||
+journal <span class="org-comment-delimiter">;</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">+pomodoro ; be fruitful with the tomato technique</span>
|
||||
+present<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-comment-delimiter">; </span><span class="org-comment">using org-mode for presentations</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">python ; beautiful is better than ugly</span>
|
||||
sh <span class="org-comment-delimiter">; </span><span class="org-comment">she sells {ba,z,fi}sh shells on the C xor</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">web ; the tubes</span>
|
||||
|
||||
<span class="org-builtin">:email</span>
|
||||
<span class="org-comment-delimiter">;;</span><span class="org-comment">(mu4e +gmail)</span>
|
||||
@ -3764,9 +3786,9 @@ they are implemented.
|
||||
<h2 id="org2825322">Snippets</h2>
|
||||
<div class="outline-text-2" id="text-org2825322">
|
||||
</div>
|
||||
<div id="outline-container-org5528118" class="outline-3">
|
||||
<h3 id="org5528118">LaTeX</h3>
|
||||
<div class="outline-text-3" id="text-org5528118">
|
||||
<div id="outline-container-org6c379fb" class="outline-3">
|
||||
<h3 id="org6c379fb">LaTeX</h3>
|
||||
<div class="outline-text-3" id="text-org6c379fb">
|
||||
</div>
|
||||
<div id="outline-container-org4373943" class="outline-4">
|
||||
<h4 id="org4373943">Coordinate</h4>
|
||||
@ -3825,9 +3847,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf1443b6" class="outline-3">
|
||||
<h3 id="orgf1443b6">Matlab</h3>
|
||||
<div class="outline-text-3" id="text-orgf1443b6">
|
||||
<div id="outline-container-orgfacfeff" class="outline-3">
|
||||
<h3 id="orgfacfeff">Matlab</h3>
|
||||
<div class="outline-text-3" id="text-orgfacfeff">
|
||||
</div>
|
||||
<div id="outline-container-orge9ad144" class="outline-4">
|
||||
<h4 id="orge9ad144">Clear</h4>
|
||||
@ -3885,9 +3907,9 @@ if exist(<span class="org-string">'opts_param'</span>,<span class="org-string">'
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ffdc27" class="outline-3">
|
||||
<h3 id="org3ffdc27">Org Mode</h3>
|
||||
<div class="outline-text-3" id="text-org3ffdc27">
|
||||
<div id="outline-container-orgd07a8b6" class="outline-3">
|
||||
<h3 id="orgd07a8b6">Org Mode</h3>
|
||||
<div class="outline-text-3" id="text-orgd07a8b6">
|
||||
</div>
|
||||
<div id="outline-container-orgb14fbd1" class="outline-4">
|
||||
<h4 id="orgb14fbd1">Begin</h4>
|
||||
@ -4488,7 +4510,7 @@ $0
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-12 dim. 00:18</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
824
docs/index.html
824
docs/index.html
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,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>
|
||||
<!-- 2020-01-12 dim. 17:39 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Installation</title>
|
||||
@ -402,7 +402,7 @@ arduino-mk - Makefile for Arduino sketches
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="org-left"><code>atool</code></td>
|
||||
<td class="org-left"><code>atool</code> <code>zip</code></td>
|
||||
<td class="org-left">script for managing file archives of various types</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -571,7 +571,7 @@ moreutils - Collection of tools that nobody wrote when UNIX was young
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-12 dim. 17:39</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
308
docs/mail.html
308
docs/mail.html
@ -4,7 +4,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>
|
||||
<!-- 2020-01-12 dim. 17:28 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Mail Configuration</title>
|
||||
@ -261,17 +261,19 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org2ca5a33">Synchronize Mailboxes - Mbsync</a>
|
||||
<ul>
|
||||
<li><a href="#org3afb8bb">Global Defaults</a></li>
|
||||
<li><a href="#orgf8f1e8f">Gmail Account</a></li>
|
||||
<li><a href="#org4a7077c">ESRF Account</a></li>
|
||||
<li><a href="#orgf73b3a8">ULG Account</a></li>
|
||||
<li><a href="#org35f28e8">Gmail Account</a></li>
|
||||
<li><a href="#org9005d20">ESRF Account</a></li>
|
||||
<li><a href="#org759800a">ULG Student Account</a></li>
|
||||
<li><a href="#orgb0ed5cf">ULG Personal Account</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org672ae70">Send Mails - Msmtp</a>
|
||||
<ul>
|
||||
<li><a href="#org9620340">Defaults</a></li>
|
||||
<li><a href="#org35f28e8">Gmail Account</a></li>
|
||||
<li><a href="#org9005d20">ESRF Account</a></li>
|
||||
<li><a href="#orgdbef2d9">Gmail Account</a></li>
|
||||
<li><a href="#org53c9391">ESRF Account</a></li>
|
||||
<li><a href="#org0bb0cef">ULG Account</a></li>
|
||||
<li><a href="#org06e99f4">ULIEGE Account</a></li>
|
||||
<li><a href="#org7b20d0c">Default Account</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -286,11 +288,11 @@ for the JavaScript code in this tag.
|
||||
<ul>
|
||||
<li><a href="#org12a205c">Unding all the key bindings</a></li>
|
||||
<li><a href="#org33de0ba">Quit Neomutt</a></li>
|
||||
<li><a href="#org2290e53">Generic</a></li>
|
||||
<li><a href="#org6e9e17d">Generic</a></li>
|
||||
<li><a href="#org39630e2">Index and Pager</a></li>
|
||||
<li><a href="#orgc73598b">Limit</a></li>
|
||||
<li><a href="#orge5e6fdf">Search</a></li>
|
||||
<li><a href="#org5e2a005">Attachments</a></li>
|
||||
<li><a href="#org9a984f4">Attachments</a></li>
|
||||
<li><a href="#org6b5b778">Compose</a>
|
||||
<ul>
|
||||
<li><a href="#org7848e3c">Attach with Ranger Script</a></li>
|
||||
@ -298,9 +300,9 @@ for the JavaScript code in this tag.
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga459fea">Browser</a></li>
|
||||
<li><a href="#org6e9e17d">Generic</a></li>
|
||||
<li><a href="#org2244236">Generic</a></li>
|
||||
<li><a href="#org81e57df">Copy and move mails</a></li>
|
||||
<li><a href="#org147ea95">Sidebar</a></li>
|
||||
<li><a href="#org06b4d72">Sidebar</a></li>
|
||||
<li><a href="#orgcbcfabe">Reload Configuration</a></li>
|
||||
<li><a href="#org62625e7">urlview - Open URL in emails</a></li>
|
||||
<li><a href="#org2c7bcf7">Searching using Mu</a></li>
|
||||
@ -315,9 +317,9 @@ for the JavaScript code in this tag.
|
||||
<ul>
|
||||
<li><a href="#org4a8185b">Basic colors</a></li>
|
||||
<li><a href="#org376f35d">Index</a></li>
|
||||
<li><a href="#orgf0eba49">Sidebar</a></li>
|
||||
<li><a href="#org7636afa">Sidebar</a></li>
|
||||
<li><a href="#orge423775">Message headers</a></li>
|
||||
<li><a href="#org605ea3c">Attachments</a></li>
|
||||
<li><a href="#org96f9dc1">Attachments</a></li>
|
||||
<li><a href="#orgb4d93d5">Body</a></li>
|
||||
<li><a href="#org07b1c9d">PGP</a></li>
|
||||
<li><a href="#org4f061d9">Urls</a></li>
|
||||
@ -331,20 +333,26 @@ for the JavaScript code in this tag.
|
||||
<ul>
|
||||
<li><a href="#orgbd57e22">Gmail</a>
|
||||
<ul>
|
||||
<li><a href="#org5c3af91">Configuration</a></li>
|
||||
<li><a href="#org8257a6e">Signature</a></li>
|
||||
<li><a href="#org17e24f8">Configuration</a></li>
|
||||
<li><a href="#org1b06b9a">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc13752f">ESRF</a>
|
||||
<ul>
|
||||
<li><a href="#org82ac5a3">Configuration</a></li>
|
||||
<li><a href="#org34b3c5b">Signature</a></li>
|
||||
<li><a href="#org45a81d4">Configuration</a></li>
|
||||
<li><a href="#org5a6170a">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd5fd652">ULG</a>
|
||||
<ul>
|
||||
<li><a href="#org17e24f8">Configuration</a></li>
|
||||
<li><a href="#org1b06b9a">Signature</a></li>
|
||||
<li><a href="#org5f2e2dd">Configuration</a></li>
|
||||
<li><a href="#org94d9d18">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc6c55ac">ULIEGE</a>
|
||||
<ul>
|
||||
<li><a href="#orgca3b3c7">Configuration</a></li>
|
||||
<li><a href="#org60ac01e">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -359,13 +367,13 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#orge1d1147">Headers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org06b4d72">Sidebar</a>
|
||||
<li><a href="#org1d71622">Sidebar</a>
|
||||
<ul>
|
||||
<li><a href="#org953ed4c">General Config</a></li>
|
||||
<li><a href="#org61e4389">Mailboxes to show in the sidebar.</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9a984f4">Attachments</a>
|
||||
<li><a href="#org43ea4f8">Attachments</a>
|
||||
<ul>
|
||||
<li><a href="#org39c5999">Attachment View Options</a></li>
|
||||
<li><a href="#org7a51e1d">Open Attachment</a></li>
|
||||
@ -410,9 +418,9 @@ Expunge Both
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf8f1e8f" class="outline-3">
|
||||
<h3 id="orgf8f1e8f">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-orgf8f1e8f">
|
||||
<div id="outline-container-org35f28e8" class="outline-3">
|
||||
<h3 id="org35f28e8">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-org35f28e8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount gmail
|
||||
Host imap.gmail.com
|
||||
@ -487,9 +495,9 @@ Sync Pull
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a7077c" class="outline-3">
|
||||
<h3 id="org4a7077c">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org4a7077c">
|
||||
<div id="outline-container-org9005d20" class="outline-3">
|
||||
<h3 id="org9005d20">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org9005d20">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount esrf
|
||||
Host imaps.esrf.fr
|
||||
@ -552,9 +560,9 @@ Sync Pull
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf73b3a8" class="outline-3">
|
||||
<h3 id="orgf73b3a8">ULG Account</h3>
|
||||
<div class="outline-text-3" id="text-orgf73b3a8">
|
||||
<div id="outline-container-org759800a" class="outline-3">
|
||||
<h3 id="org759800a">ULG Student Account</h3>
|
||||
<div class="outline-text-3" id="text-org759800a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount ulg
|
||||
Host mail.ulg.ac.be
|
||||
@ -616,6 +624,71 @@ Sync Pull
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb0ed5cf" class="outline-3">
|
||||
<h3 id="orgb0ed5cf">ULG Personal Account</h3>
|
||||
<div class="outline-text-3" id="text-orgb0ed5cf">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount uliege
|
||||
Host mail.ulg.ac.be
|
||||
User tdehaeze@uliege.be
|
||||
PassCmd <span class="org-string">"pass email/tdehaeze@uliege.be"</span>
|
||||
SSLType IMAPS
|
||||
AuthMechs LOGIN
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPStore uliege-remote
|
||||
Account uliege
|
||||
|
||||
MaildirStore uliege-local
|
||||
Path ~/.mail/uliege/
|
||||
Inbox ~/.mail/uliege/Inbox
|
||||
|
||||
Channel uliege-Home
|
||||
Master :uliege-remote:<span class="org-string">"Inbox"</span>
|
||||
Slave :uliege-local:Inbox
|
||||
|
||||
Channel uliege-Drafts
|
||||
Master :uliege-remote:<span class="org-string">"Drafts"</span>
|
||||
Slave :uliege-local:Drafts
|
||||
|
||||
Channel uliege-Archive
|
||||
Master :uliege-remote:<span class="org-string">"Archive"</span>
|
||||
Slave :uliege-local:Archive
|
||||
|
||||
Channel uliege-Sent
|
||||
Master :uliege-remote:<span class="org-string">"Sent"</span>
|
||||
Slave :uliege-local:Sent
|
||||
|
||||
Channel uliege-Trash
|
||||
Master :uliege-remote:<span class="org-string">"Trash"</span>
|
||||
Slave :uliege-local:Trash
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Channel uliege
|
||||
Master :uliege-remote:
|
||||
Slave :uliege-local:
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
For doing a quick sync of just the INBOX with `mbsync uliege-download`.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Channel uliege-download
|
||||
Master :uliege-remote:<span class="org-string">"Inbox"</span>
|
||||
Slave :uliege-local:Inbox
|
||||
Create Slave
|
||||
Expunge Slave
|
||||
Sync Pull
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org672ae70" class="outline-2">
|
||||
@ -639,9 +712,9 @@ tls_certcheck off
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org35f28e8" class="outline-3">
|
||||
<h3 id="org35f28e8">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-org35f28e8">
|
||||
<div id="outline-container-orgdbef2d9" class="outline-3">
|
||||
<h3 id="orgdbef2d9">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-orgdbef2d9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">account gmail
|
||||
host smtp.gmail.com
|
||||
@ -655,9 +728,9 @@ passwordeval <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</spa
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9005d20" class="outline-3">
|
||||
<h3 id="org9005d20">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org9005d20">
|
||||
<div id="outline-container-org53c9391" class="outline-3">
|
||||
<h3 id="org53c9391">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org53c9391">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">account esrf
|
||||
host smtps.esrf.fr
|
||||
@ -689,6 +762,23 @@ passwordeval <span class="org-string">"pass email/thomas.dehaeze@doct.uliege.b
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06e99f4" class="outline-3">
|
||||
<h3 id="org06e99f4">ULIEGE Account</h3>
|
||||
<div class="outline-text-3" id="text-org06e99f4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">account uliege
|
||||
host smtp.ulg.ac.be
|
||||
port <span class="org-highlight-numbers-number">587</span>
|
||||
protocol smtp
|
||||
from tdehaeze@uliege.be
|
||||
user u231244
|
||||
tls_starttls on
|
||||
passwordeval <span class="org-string">"pass email/tdehaeze@uliege.be"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7b20d0c" class="outline-3">
|
||||
<h3 id="org7b20d0c">Default Account</h3>
|
||||
<div class="outline-text-3" id="text-org7b20d0c">
|
||||
@ -1023,9 +1113,9 @@ macro index q <span class="org-string">"<shell-escape>if [ $TMUX ]; then t
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2290e53" class="outline-4">
|
||||
<h4 id="org2290e53">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org2290e53">
|
||||
<div id="outline-container-org6e9e17d" class="outline-4">
|
||||
<h4 id="org6e9e17d">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org6e9e17d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind generic Q exit
|
||||
|
||||
@ -1189,9 +1279,9 @@ bind index,pager N search-opposite
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5e2a005" class="outline-4">
|
||||
<h4 id="org5e2a005">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org5e2a005">
|
||||
<div id="outline-container-org9a984f4" class="outline-4">
|
||||
<h4 id="org9a984f4">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org9a984f4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind attach l view-attach
|
||||
|
||||
@ -1284,9 +1374,9 @@ bind browser q exit
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6e9e17d" class="outline-4">
|
||||
<h4 id="org6e9e17d">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org6e9e17d">
|
||||
<div id="outline-container-org2244236" class="outline-4">
|
||||
<h4 id="org2244236">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org2244236">
|
||||
<p>
|
||||
Enter Command
|
||||
</p>
|
||||
@ -1308,9 +1398,9 @@ macro index M <span class="org-string">"<save-message>?<toggle-mailboxe
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org147ea95" class="outline-4">
|
||||
<h4 id="org147ea95">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org147ea95">
|
||||
<div id="outline-container-org06b4d72" class="outline-4">
|
||||
<h4 id="org06b4d72">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org06b4d72">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind index,pager \Ck sidebar-prev
|
||||
bind index,pager \Cj sidebar-next
|
||||
@ -1473,9 +1563,9 @@ color index brightcolor000 color001 <span class="org-string">"~v~(~D)"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf0eba49" class="outline-4">
|
||||
<h4 id="orgf0eba49">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-orgf0eba49">
|
||||
<div id="outline-container-org7636afa" class="outline-4">
|
||||
<h4 id="org7636afa">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org7636afa">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">color sidebar_indicator color000 color021 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is open</span>
|
||||
color sidebar_highlight color000 color003 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is highlighted</span>
|
||||
@ -1498,9 +1588,9 @@ color header brightcolor004 color000 <span class="org-string">"^(Subject)"</
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org605ea3c" class="outline-4">
|
||||
<h4 id="org605ea3c">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org605ea3c">
|
||||
<div id="outline-container-org96f9dc1" class="outline-4">
|
||||
<h4 id="org96f9dc1">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org96f9dc1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color if the attachment is autoviewed</span>
|
||||
color attach_headers brightgreen default <span class="org-string">"Autoview"</span>
|
||||
@ -1632,7 +1722,9 @@ bind editor <Tab> complete-query
|
||||
folder-hook gmail/* source ~/.config/neomutt/accounts/gmail
|
||||
folder-hook esrf/* source ~/.config/neomutt/accounts/esrf
|
||||
folder-hook ulg/* source ~/.config/neomutt/accounts/ulg
|
||||
folder-hook uliege/* source ~/.config/neomutt/accounts/uliege
|
||||
|
||||
macro index,pager gl <span class="org-string">"<change-folder>+uliege/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
||||
macro index,pager gu <span class="org-string">"<change-folder>+ulg/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
||||
macro index,pager ge <span class="org-string">"<change-folder>+esrf/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
||||
macro index,pager gm <span class="org-string">"<change-folder>+gmail/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
||||
@ -1644,9 +1736,9 @@ macro index,pager gm <span class="org-string">"<change-folder>+gmail/Inbox
|
||||
<h4 id="orgbd57e22">Gmail</h4>
|
||||
<div class="outline-text-4" id="text-orgbd57e22">
|
||||
</div>
|
||||
<div id="outline-container-org5c3af91" class="outline-5">
|
||||
<h5 id="org5c3af91">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org5c3af91">
|
||||
<div id="outline-container-org17e24f8" class="outline-5">
|
||||
<h5 id="org17e24f8">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org17e24f8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"dehaeze.thomas@gmail.com"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a gmail"</span>
|
||||
@ -1670,15 +1762,15 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8257a6e" class="outline-5">
|
||||
<h5 id="org8257a6e">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org8257a6e">
|
||||
<div id="outline-container-org1b06b9a" class="outline-5">
|
||||
<h5 id="org1b06b9a">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org1b06b9a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
This empty code block is used to add a new line after signatude
|
||||
This empty code block is used to add a new line after signature
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">
|
||||
@ -1692,9 +1784,9 @@ This empty code block is used to add a new line after signatude
|
||||
<h4 id="orgc13752f">ESRF</h4>
|
||||
<div class="outline-text-4" id="text-orgc13752f">
|
||||
</div>
|
||||
<div id="outline-container-org82ac5a3" class="outline-5">
|
||||
<h5 id="org82ac5a3">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org82ac5a3">
|
||||
<div id="outline-container-org45a81d4" class="outline-5">
|
||||
<h5 id="org45a81d4">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org45a81d4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@esrf.fr"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a esrf"</span>
|
||||
@ -1718,15 +1810,15 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org34b3c5b" class="outline-5">
|
||||
<h5 id="org34b3c5b">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org34b3c5b">
|
||||
<div id="outline-container-org5a6170a" class="outline-5">
|
||||
<h5 id="org5a6170a">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org5a6170a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
This empty code block is used to add a new line after signatude
|
||||
This empty code block is used to add a new line after signature
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">
|
||||
@ -1740,9 +1832,9 @@ This empty code block is used to add a new line after signatude
|
||||
<h4 id="orgd5fd652">ULG</h4>
|
||||
<div class="outline-text-4" id="text-orgd5fd652">
|
||||
</div>
|
||||
<div id="outline-container-org17e24f8" class="outline-5">
|
||||
<h5 id="org17e24f8">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org17e24f8">
|
||||
<div id="outline-container-org5f2e2dd" class="outline-5">
|
||||
<h5 id="org5f2e2dd">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org5f2e2dd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@doct.uliege.be"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a ulg"</span>
|
||||
@ -1766,15 +1858,63 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1b06b9a" class="outline-5">
|
||||
<h5 id="org1b06b9a">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org1b06b9a">
|
||||
<div id="outline-container-org94d9d18" class="outline-5">
|
||||
<h5 id="org94d9d18">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org94d9d18">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
This empty code block is used to add a new line after signatude
|
||||
This empty code block is used to add a new line after signature
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc6c55ac" class="outline-4">
|
||||
<h4 id="orgc6c55ac">ULIEGE</h4>
|
||||
<div class="outline-text-4" id="text-orgc6c55ac">
|
||||
</div>
|
||||
<div id="outline-container-orgca3b3c7" class="outline-5">
|
||||
<h5 id="orgca3b3c7">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-orgca3b3c7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"tdehaeze@uliege.be"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a uliege"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Other special folders.</span>
|
||||
<span class="org-variable-name">set mbox</span> = <span class="org-string">"+uliege/Archive"</span>
|
||||
<span class="org-variable-name">set record</span> = <span class="org-string">"+uliege/Sent"</span>
|
||||
<span class="org-variable-name">set postponed</span> = <span class="org-string">"+uliege/Drafts"</span>
|
||||
|
||||
<span class="org-variable-name">set signature</span> = <span class="org-string">"~/.config/neomutt/accounts/uliege.signature"</span>
|
||||
|
||||
macro index,pager d \
|
||||
<span class="org-string">"<save-message>+uliege/Archive<enter>"</span> \
|
||||
<span class="org-string">"Move message to the Archive"</span>
|
||||
|
||||
macro index,pager D \
|
||||
<span class="org-string">"<save-message>+uliege/Trash<enter>"</span> \
|
||||
<span class="org-string">"Move message to the Trash"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org60ac01e" class="outline-5">
|
||||
<h5 id="org60ac01e">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org60ac01e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
This empty code block is used to add a new line after signature
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">
|
||||
@ -1903,9 +2043,9 @@ hdr_order from: to: cc: date: subject: <span class="org-comment-delimiter"># </
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06b4d72" class="outline-3">
|
||||
<h3 id="org06b4d72">Sidebar</h3>
|
||||
<div class="outline-text-3" id="text-org06b4d72">
|
||||
<div id="outline-container-org1d71622" class="outline-3">
|
||||
<h3 id="org1d71622">Sidebar</h3>
|
||||
<div class="outline-text-3" id="text-org1d71622">
|
||||
</div>
|
||||
<div id="outline-container-org953ed4c" class="outline-4">
|
||||
<h4 id="org953ed4c">General Config</h4>
|
||||
@ -2014,6 +2154,12 @@ named-mailboxes <span class="org-string">"  Sent"</span> =ulg/Sent
|
||||
named-mailboxes <span class="org-string">"  Drafts"</span> =ulg/Drafts
|
||||
named-mailboxes <span class="org-string">" ﮊ Archive"</span> =ulg/Archive
|
||||
named-mailboxes <span class="org-string">"  Trash"</span> =ulg/Trash
|
||||
named-mailboxes <span class="org-string">" ULIEGE"</span> =empty/uliege
|
||||
named-mailboxes <span class="org-string">"  Inbox"</span> =uliege/Inbox
|
||||
named-mailboxes <span class="org-string">"  Sent"</span> =uliege/Sent
|
||||
named-mailboxes <span class="org-string">"  Drafts"</span> =uliege/Drafts
|
||||
named-mailboxes <span class="org-string">" ﮊ Archive"</span> =uliege/Archive
|
||||
named-mailboxes <span class="org-string">"  Trash"</span> =uliege/Trash
|
||||
|
||||
<span class="org-variable-name">set sendmail_wait</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-comment-delimiter"># </span><span class="org-comment">no please don't silently fail, email is important</span>
|
||||
unset move
|
||||
@ -2023,9 +2169,9 @@ unset move
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9a984f4" class="outline-3">
|
||||
<h3 id="org9a984f4">Attachments</h3>
|
||||
<div class="outline-text-3" id="text-org9a984f4">
|
||||
<div id="outline-container-org43ea4f8" class="outline-3">
|
||||
<h3 id="org43ea4f8">Attachments</h3>
|
||||
<div class="outline-text-3" id="text-org43ea4f8">
|
||||
</div>
|
||||
<div id="outline-container-org39c5999" class="outline-4">
|
||||
<h4 id="org39c5999">Attachment View Options</h4>
|
||||
@ -2224,7 +2370,7 @@ text/rtf; libreoffice --nologo --writer <span class="org-string">'%s'</span>; co
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-12 dim. 17:28</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,11 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?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>
|
||||
<!-- 2020-01-12 dim. 17:39 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Matlab Configuration</title>
|
||||
@ -486,7 +485,7 @@ addpath([toolboxes_path <span class="org-string">'Add-Ons/CVX'</span>])
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-12 dim. 17:39</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
607
docs/music.html
607
docs/music.html
@ -4,7 +4,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>
|
||||
<!-- 2020-01-11 sam. 23:20 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Music/Sound Configuration</title>
|
||||
@ -265,7 +265,7 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#orgef62173">Bindings</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org62153d2">MPD</a>
|
||||
<li><a href="#org29ff9bd">MPD (not used anymore)</a>
|
||||
<ul>
|
||||
<li><a href="#org29acd51">Files and directories</a></li>
|
||||
<li><a href="#org56ab0a3">General music daemon options</a></li>
|
||||
@ -316,551 +316,23 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
|
||||
<h3 id="orgc496501">Config</h3>
|
||||
<div class="outline-text-3" id="text-orgc496501">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">##############################################################################</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">This is the example configuration file. Copy it to $HOME/.ncmpcpp/config ##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">or $XDG_CONFIG_HOME/ncmpcpp/config and set up your preferences. ##</span>
|
||||
<span class="org-comment-delimiter">##############################################################################</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">directories ######</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Directory for storing ncmpcpp related files. Changing it is useful if you</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">want to store everything somewhere else and provide command line setting for</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">alternative location to config file which defines that while launching</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">ncmpcpp.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">MPD clients (eg. ncmpc) also use that location.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">lyrics_directory = ~/.lyrics</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">connection settings #####</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-variable-name">mpd_host</span> = localhost
|
||||
<pre class="src src-conf"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">mpd_connection_timeout = 5</span>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">mpd_music_dir</span> = ~/Music
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Needed for tag editor and file operations to work.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-variable-name">mpd_music_dir</span> = ~/Music
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">mpd_crossfade_time = 5</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">music visualizer #####</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: In order to make music visualizer work you'll need to use mpd fifo</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">output, whose format parameter has to be set to 44100:16:1 for mono</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">visualization or 44100:16:2 for stereo visualization. Example configuration</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">(it has to be put into mpd.conf):</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter"><span class="org-type">## </span></span><span class="org-comment"><span class="org-type">audio_output</span></span><span class="org-comment"> {</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">type "fifo"</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">name "Visualizer feed"</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">path "/tmp/mpd.fifo"</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">format "44100:16:2"</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">}</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_fifo_path = /tmp/mpd.fifo</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Below parameter is needed for ncmpcpp to determine which output</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">provides data for visualizer and thus allow syncing between visualization and</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">sound as currently there are some problems with it.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_output_name = Visualizer feed</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">If you set format to 44100:16:2, make it 'yes'.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_in_stereo = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Below parameter defines how often ncmpcpp has to "synchronize"</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">visualizer and audio outputs. 30 seconds is optimal value, but if you</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">experience synchronization problems, set it to lower value. Keep in mind</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">that sane values start with >=10.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_sync_interval = 30</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: To enable spectrum frequency visualization you need to compile ncmpcpp</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">with fftw3 support.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Available values: spectrum, wave, wave_filled, ellipse.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_type = wave</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_look = ●▮</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_color = blue, cyan, green, yellow, magenta, red</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Alternative subset of 256 colors for terminals that support it.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">visualizer_color = 41, 83, 119, 155, 185, 215, 209, 203, 197, 161</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">system encoding #####</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">ncmpcpp should detect your charset encoding but if it failed to do so, you</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">can specify charset encoding you are using here.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: You can see whether your ncmpcpp build supports charset detection by</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">checking output of `ncmpcpp --version`.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Since MPD uses UTF-8 by default, setting this option makes sense only</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">if your encoding is different.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">system_encoding = ""</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">delays #####</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Time of inactivity (in seconds) after playlist highlighting will be disabled</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">(0 = always on).</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">playlist_disable_highlight_delay = 5</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Defines how long messages are supposed to be visible.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">message_delay_time = 5</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">song format #####</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">For a song format you can use:</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%l - length</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%f - filename</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%D - directory</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%a - artist</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%A - album artist</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%t - title</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%b - album</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%y - date</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%n - track number (01/12 -> 01)</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%N - full track info (01/12 -> 01/12)</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%g - genre</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%c - composer</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%p - performer</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%d - disc</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%C - comment</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">%P - priority</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">$R - begin right alignment</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">If you want to make sure that a part of the format is displayed only when</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">certain tags are present, you can archieve it by grouping them with brackets,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">e.g. '{%a - %t}' will be evaluated to 'ARTIST - TITLE' if both tags are</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">present or '' otherwise. It is also possible to define a list of</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">alternatives by providing several groups and separating them with '|',</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">e.g. '{%t}|{%f}' will be evaluated to 'TITLE' or 'FILENAME' if the former is</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">not present.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: If you want to set limit on maximal length of a tag, just put the</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">appropriate number between % and character that defines tag type, e.g. to</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">make album take max. 20 terminal cells, use '%20b'.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">In addition, formats support markers used for text attributes. They are</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">followed by character '$'. After that you can put:</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 0 - default window color (discards all other colors)</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 1 - black</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 2 - red</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 3 - green</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 4 - yellow</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 5 - blue</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 6 - magenta</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 7 - cyan</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 8 - white</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 9 - end of current color</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- b - bold text</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- u - underline text</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- r - reverse colors</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- a - use alternative character set</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">If you don't want to use a non-color attribute anymore, just put it again,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">but this time insert character '/' between '$' and attribute character,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename with</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">reversed colors.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">If you want to use 256 colors and/or background colors in formats (the naming</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">scheme is described below in section about color definitions), it can be done</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">with the syntax $(COLOR), e.g. to set the artist tag to one of the</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">non-standard colors and make it have yellow background, you need to write</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">$(197_yellow)%a$(end). Note that for standard colors this is interchangable</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">with attributes listed above.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: colors can be nested.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9}</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">song_library_format = {%n - }{%t}|{%f}</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">current_item_prefix = $(yellow)$r</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">current_item_suffix = $/r$(end)</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">current_item_inactive_column_prefix = $(white)$r</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">current_item_inactive_column_suffix = $/r$(end)</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">now_playing_prefix = $b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">now_playing_suffix = $/b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">browser_playlist_prefix = "$2playlist$9 "</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">selected_item_prefix = $6</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">selected_item_suffix = $9</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">modified_item_prefix = $3> $9</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: attributes are not supported for the following variables.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">song_window_title_format = {%a - }{%t}|{%f}</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Below variables are used for sorting songs in browser. The sort mode</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">determines how songs are sorted, and can be used in combination with a sort</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">format to specify a custom sorting format. Available values for</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">browser_sort_mode are "name", "mtime", "format" and "noop".</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">browser_sort_mode = name</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">browser_sort_format = {%a - }{%t}|{%f} {(%l)}</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">columns settings #####</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">syntax of song columns list format is "column column etc."</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- syntax for each column is:</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">(width of the column)[color of the column]{displayed tag}</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Width is by default in %, if you want a column to have fixed size, add</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">'f' after the value, e.g. (10)[white]{a} will be the column that take 10% of</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">screen (so the real width will depend on actual screen size), whereas</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">(10f)[white]{a} will take 10 terminal cells, no matter how wide the screen</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">is.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- color is optional (if you want the default one, leave the field empty).</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: You can give a column additional attributes by putting appropriate</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">character after displayed tag character. Available attributes are:</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- r - column will be right aligned</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- E - if tag is empty, empty tag marker won't be displayed</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">You can also:</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- give a column custom name by putting it after attributes, separated with</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">character ':', e.g. {lr:Length} gives you right aligned column of lengths</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">named "Length".</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- define sequence of tags, that have to be displayed in case predecessor is</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">empty in a way similar to the one in classic song format, i.e. using '|'</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">character, e.g. {a|c|p:Owner} creates column named "Owner" that tries to</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">display artist tag and then composer and performer if previous ones are not</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">available.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">various settings #####</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Custom command that will be executed each time song changes. Useful for</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">notifications etc.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<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 ♫"</span> <span class="org-string">"$(mpc current)"</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Custom command that will be executed each time player state</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">changes. The environment variable MPD_PLAYER_STATE is set to the current</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">state (either unknown, play, pause, or stop) for its duration.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">execute_on_player_state_change = ""</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">playlist_show_mpd_host = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">playlist_show_remaining_time = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">playlist_shorten_total_times = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">playlist_separate_albums = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Possible display modes: classic, columns.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">playlist_display_mode = columns</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">browser_display_mode = classic</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">search_engine_display_mode = classic</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">playlist_editor_display_mode = classic</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">discard_colors_if_item_is_selected = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">show_duplicate_tags = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">incremental_seeking = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">seek_time = 1</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">volume_change_step = 2</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">autocenter_mode = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">centered_cursor = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: You can specify third character which will be used to build 'empty'</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">part of progressbar.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">progressbar_look = =></span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Available values: database, playlist.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">default_place_to_search_in = database</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Available values: classic, alternative.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">user_interface = classic</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">data_fetching_delay = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Available values: artist, album_artist, date, genre, composer, performer.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">media_library_primary_tag = artist</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">media_library_albums_split_by_date = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Available values: wrapped, normal.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">default_find_mode = wrapped</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">default_tag_editor_pattern = %n - %t</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">header_visibility = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">statusbar_visibility = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">titles_visibility = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">header_text_scrolling = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">cyclic_scrolling = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">lines_scrolled = 2</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, internet</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">follow_now_playing_lyrics = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">fetch_lyrics_for_current_song_in_background = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">store_lyrics_in_song_dir = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">generate_win32_compatible_filenames = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">allow_for_physical_item_deletion = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: If you set this variable, ncmpcpp will try to get info from last.fm in</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">language you set and if it fails, it will fall back to english. Otherwise it</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">will use english the first time.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: Language has to be expressed as an ISO 639 alpha-2 code.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">lastfm_preferred_language = en</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">space_add_mode = add_remove</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">show_hidden_files_in_local_browser = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">How shall screen switcher work?</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- "previous" - switch between the current and previous screen.</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- "screen1,...,screenN" - switch between given sequence of screens.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Screens available for use: help, playlist, browser, search_engine,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">media_library, playlist_editor, tag_editor, outputs, visualizer, clock,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">lyrics, last_fm.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">screen_switcher_mode = playlist, browser</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: You can define startup screen by choosing screen from the list above.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">startup_screen = playlist</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: You can define startup slave screen by choosing screen from the list</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">above or an empty value for no slave screen.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">startup_slave_screen = ""</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">startup_slave_screen_focus = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Default width of locked screen (in %). Acceptable values are from 20 to 80.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">locked_screen_width_part = 50</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">ask_for_locked_screen_width_part = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">jump_to_now_playing_song_at_start = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">ask_before_clearing_playlists = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">clock_display_seconds = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">display_volume_level = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">display_bitrate = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">display_remaining_time = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Available values: none, basic, extended, perl.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">regular_expressions = perl</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: if below is enabled, ncmpcpp will ignore leading "The" word while</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">sorting items in browser, tags in media library, etc.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">ignore_leading_the = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: if below is enabled, ncmpcpp will ignore diacritics while searching and</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">filtering lists. This takes an effect only if boost was compiled with ICU</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">support.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">ignore_diacritics = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">block_search_constraints_change_if_items_found = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">mouse_support = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">mouse_list_scroll_whole_page = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">empty_tag_marker = <empty></span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">tags_separator = " | "</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">tag_editor_extended_numeration = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">media_library_sort_by_mtime = no</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">enable_window_title = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: You can choose default search mode for search engine. Available modes</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">are:</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 1 - use mpd built-in searching (no regexes, pattern matching)</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 2 - use ncmpcpp searching (pattern matching with support for regexes, but</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">if your mpd is on a remote machine, downloading big database to process</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">it can take a while</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">- 3 - match only exact values (this mode uses mpd function for searching in</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">database and local one for searching in current playlist)</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">search_engine_default_search_mode = 1</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">external_editor = nano</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: set to yes if external editor is a console application.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">use_console_editor = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">##### </span><span class="org-comment">colors definitions #####</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">It is possible to set a background color by setting a color value</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">"<foreground>_<background>", e.g. red_black will set foregound color to red</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">and background color to black.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">In addition, for terminals that support 256 colors it is possible to set one</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">of them by using a number in range [1, 256] instead of color name,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">e.g. numerical value corresponding to red_black is 2_1. To find out if the</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">terminal supports 256 colors, run ncmpcpp and check out the bottom of the</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">help screen for list of available colors and their numerical values.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">What is more, there are two special values for the background color:</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">"transparent" and "current". The first one explicitly sets the background to</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">be transparent, while the second one allows you to preserve current</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">background color and change only the foreground one. It's used implicitly</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">when background color is not specified.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Moreover, it is possible to attach format information to selected color</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">variables by appending to their end a colon followed by one or more format</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">flags, e.g. black:b or red:ur. The following variables support this syntax:</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">visualizer_color, color1, color2, empty_tag_color, volume_color,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">state_line_color, state_flags_color, progressbar_color,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">progressbar_elapsed_color, player_state_color, statusbar_time_color,</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">alternative_ui_separator_color.</span>
|
||||
<span class="org-comment-delimiter">##</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">Note: due to technical limitations of older ncurses version, if 256 colors</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">are used there is a possibility that you'll be able to use only colors with</span>
|
||||
<span class="org-comment-delimiter">## </span><span class="org-comment">transparent background.</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">colors_enabled = yes</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">empty_tag_color = cyan</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">header_window_color = default</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">volume_color = default</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">state_line_color = default</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">state_flags_color = default:b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">main_window_color = yellow</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">color1 = white</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">color2 = green</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">progressbar_color = black:b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">progressbar_elapsed_color = green:b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">statusbar_color = default</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">statusbar_time_color = default:b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">player_state_color = default:b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">alternative_ui_separator_color = black:b</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">window_border_color = green</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">active_window_border = red</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<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 ♫"</span> <span class="org-string">"$(mpc current)"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -909,9 +381,9 @@ def_key <span class="org-string">"-"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org62153d2" class="outline-2">
|
||||
<h2 id="org62153d2">MPD</h2>
|
||||
<div class="outline-text-2" id="text-org62153d2">
|
||||
<div id="outline-container-org29ff9bd" class="outline-2">
|
||||
<h2 id="org29ff9bd">MPD (not used anymore)</h2>
|
||||
<div class="outline-text-2" id="text-org29ff9bd">
|
||||
<p>
|
||||
<a href="https://www.musicpd.org/">https://www.musicpd.org/</a>
|
||||
</p>
|
||||
@ -921,50 +393,12 @@ def_key <span class="org-string">"-"</span>
|
||||
<h3 id="org29acd51">Files and directories</h3>
|
||||
<div class="outline-text-3" id="text-org29acd51">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">This setting controls the top directory which MPD will search to discover the</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">available audio files and add them to the daemon's online database. This</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">setting defaults to the XDG directory, otherwise the music directory will be</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">be disabled and audio files will only be accepted over ipc socket (using</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">file:// protocol) or streaming files over an accepted protocol.</span>
|
||||
music_directory <span class="org-string">"~/Music"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting sets the MPD internal playlist directory. The purpose of this</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">directory is storage for playlists created by MPD. The server will use</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">playlist files not created by the server but only if they are in the MPD</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">format. This setting defaults to playlist saving being disabled.</span>
|
||||
<pre class="src src-conf">music_directory <span class="org-string">"~/Music"</span>
|
||||
playlist_directory <span class="org-string">"~/.config/mpd/playlists"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting sets the location of the MPD database. This file is used to</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">load the database at server start up and store the database while the</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">server is not up. This setting defaults to disabled which will allow</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">MPD to accept files over ipc socket (using file:// protocol) or streaming</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">files over an accepted protocol.</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
db_file <span class="org-string">"~/.config/mpd/database"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">These settings are the locations for the daemon log files for the daemon.</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">These logs are great for troubleshooting, depending on your log_level</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">settings.</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">The special value "syslog" makes MPD use the local syslog daemon. This</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">setting defaults to logging to syslog, otherwise logging is disabled.</span>
|
||||
log_file <span class="org-string">"~/.config/mpd/log"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting sets the location of the file which stores the process ID</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">for use of mpd --kill and some init scripts. This setting is disabled by</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">default and the pid file will not be stored.</span>
|
||||
<span class="org-comment-delimiter">#</span>
|
||||
pid_file <span class="org-string">"~/.config/mpd/pid"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">This setting sets the location of the file which contains information about</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">most variables to get MPD back into the same general shape it was in before</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">it was brought down. This setting is disabled by default and the server</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">state will be reset on server start up.</span>
|
||||
state_file <span class="org-string">"~/.config/mpd/state"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">The location of the sticker database. This is a database which</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">manages dynamic information attached to songs.</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">sticker_file "~/.config/mpd/sticker.sql"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -1366,6 +800,7 @@ import:
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org887303a" class="outline-2">
|
||||
<h2 id="org887303a">Mopidy</h2>
|
||||
<div class="outline-text-2" id="text-org887303a">
|
||||
@ -1426,7 +861,7 @@ import:
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-11 sam. 23:20</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
134
docs/ranger.html
134
docs/ranger.html
@ -4,7 +4,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>
|
||||
<!-- 2020-01-12 dim. 17:28 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Ranger Configuration</title>
|
||||
@ -264,19 +264,31 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org951cbf1">Command Aliases in the Console</a></li>
|
||||
<li><a href="#org100bad8">Some Custom Keybindings</a>
|
||||
<ul>
|
||||
<li><a href="#org05a21e6">Extract</a></li>
|
||||
<li><a href="#orgd0d45b3">Compress</a></li>
|
||||
<li><a href="#org05a21e6">Extract</a>
|
||||
<ul>
|
||||
<li><a href="#org8e29501">Extract Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd0d45b3">Compress</a>
|
||||
<ul>
|
||||
<li><a href="#org1847974">Compress Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org33076f2">Delete first page of pdf</a></li>
|
||||
<li><a href="#org3f70c1c">Convert PDF to PNG</a></li>
|
||||
<li><a href="#orge52c50c">Magit Status</a></li>
|
||||
<li><a href="#org0f1fa3f">Upload with Tansfer.sh</a></li>
|
||||
<li><a href="#org621f8e8">Upload with 0x0 (previously Tansfer.sh)</a>
|
||||
<ul>
|
||||
<li><a href="#org7b9401e">Upload Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge19a16e">Open current folder with PCManFM</a></li>
|
||||
<li><a href="#org1886892">Open with Emacs</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd08d096">Define keys for the browser</a>
|
||||
<ul>
|
||||
<li><a href="#org60cdc4b">Basic</a></li>
|
||||
<li><a href="#org4d175ab">Basic</a></li>
|
||||
<li><a href="#org5904486">Open Shell in current directory</a></li>
|
||||
<li><a href="#org8c9137b">Print on Rnice</a></li>
|
||||
<li><a href="#orgada203d">Filter</a></li>
|
||||
@ -308,7 +320,7 @@ for the JavaScript code in this tag.
|
||||
</li>
|
||||
<li><a href="#orgdcee9fb">Define keys for the console</a>
|
||||
<ul>
|
||||
<li><a href="#org895632b">Basic</a></li>
|
||||
<li><a href="#orgd25e256">Basic</a></li>
|
||||
<li><a href="#orgb9d20bd">Move around</a></li>
|
||||
<li><a href="#org357eb3a">Line Editing</a></li>
|
||||
<li><a href="#orgd6a7ee3">And of course the emacs way</a></li>
|
||||
@ -317,15 +329,15 @@ for the JavaScript code in this tag.
|
||||
</li>
|
||||
<li><a href="#org6e5bd62">Pager Keybindings</a>
|
||||
<ul>
|
||||
<li><a href="#org5c6c444">Movement</a></li>
|
||||
<li><a href="#org4cc656f">Basic</a></li>
|
||||
<li><a href="#org87aa8b8">Movement</a></li>
|
||||
<li><a href="#org06ac5b6">Basic</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6675602">Taskview Keybindings</a>
|
||||
<ul>
|
||||
<li><a href="#org87aa8b8">Movement</a></li>
|
||||
<li><a href="#orgb9bd2ed">Movement</a></li>
|
||||
<li><a href="#orgc3a5d1e">Changing priority and deleting tasks</a></li>
|
||||
<li><a href="#org4d175ab">Basic</a></li>
|
||||
<li><a href="#org2766b39">Basic</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -563,21 +575,52 @@ alias travel scout -aefiklst
|
||||
<h4 id="org05a21e6">Extract</h4>
|
||||
<div class="outline-text-4" id="text-org05a21e6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map ,x shell atool -x %f
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">map ,x shell atool -x %f</span>
|
||||
map ,x shell ~/.config/ranger/scripts/extract.sh %f
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8e29501" class="outline-5">
|
||||
<h5 id="org8e29501">Extract Script</h5>
|
||||
<div class="outline-text-5" id="text-org8e29501">
|
||||
<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">2</span> atool -x $<span class="org-highlight-numbers-number">1</span> && tmux select-pane -U
|
||||
<span class="org-keyword">else</span>
|
||||
atool -x $<span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd0d45b3" class="outline-4">
|
||||
<h4 id="orgd0d45b3">Compress</h4>
|
||||
<div class="outline-text-4" id="text-orgd0d45b3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map ,z shell apack %f.zip %f
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">map ,z shell apack %f.zip %f</span>
|
||||
map ,z shell ~/.config/ranger/scripts/compress.sh %f
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1847974" class="outline-5">
|
||||
<h5 id="org1847974">Compress Script</h5>
|
||||
<div class="outline-text-5" id="text-org1847974">
|
||||
<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">2</span> apack $<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">1</span>%.*<span class="org-rainbow-delimiters-depth-1">}</span>.zip $<span class="org-highlight-numbers-number">1</span> && tmux select-pane -U
|
||||
<span class="org-keyword">else</span>
|
||||
apack $<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">1</span>%.*<span class="org-rainbow-delimiters-depth-1">}</span>.zip $<span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org33076f2" class="outline-4">
|
||||
<h4 id="org33076f2">Delete first page of pdf</h4>
|
||||
@ -609,14 +652,29 @@ alias travel scout -aefiklst
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0f1fa3f" class="outline-4">
|
||||
<h4 id="org0f1fa3f">Upload with Tansfer.sh</h4>
|
||||
<div class="outline-text-4" id="text-org0f1fa3f">
|
||||
<div id="outline-container-org621f8e8" class="outline-4">
|
||||
<h4 id="org621f8e8">Upload with 0x0 (previously Tansfer.sh)</h4>
|
||||
<div class="outline-text-4" id="text-org621f8e8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map ,t shell curl --progress-bar --upload-file %f https://transfer.sh/$(basename $1) | xclip -in -selection clipboard;
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">map ,t shell curl --progress-bar --upload-file %f https://transfer.sh/$(basename $1) | xclip -in -selection clipboard;</span>
|
||||
map ,t shell ~/.config/ranger/scripts/upload.sh %f
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7b9401e" class="outline-5">
|
||||
<h5 id="org7b9401e">Upload Script</h5>
|
||||
<div class="outline-text-5" id="text-org7b9401e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
tmux split -v -l <span class="org-highlight-numbers-number">1</span> <span class="org-type">curl</span> --progress-bar -F<span class="org-string">"file=@</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> https://0x0.st | xclip -in -selection clipboard && tmux select-pane -U
|
||||
<span class="org-keyword">else</span>
|
||||
<span class="org-type">curl</span> --progress-bar -F<span class="org-string">"file=@</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> https://0x0.st | xclip -in -selection clipboard;
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge19a16e" class="outline-4">
|
||||
@ -644,12 +702,12 @@ alias travel scout -aefiklst
|
||||
<h3 id="orgd08d096">Define keys for the browser</h3>
|
||||
<div class="outline-text-3" id="text-orgd08d096">
|
||||
</div>
|
||||
<div id="outline-container-org60cdc4b" class="outline-4">
|
||||
<h4 id="org60cdc4b">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org60cdc4b">
|
||||
<div id="outline-container-org4d175ab" class="outline-4">
|
||||
<h4 id="org4d175ab">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org4d175ab">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map Q quit!
|
||||
map q quit
|
||||
map q eval fm.execute_console(<span class="org-string">"shell tmux detach"</span>) if <span class="org-string">'TMUX'</span> in os.environ.keys() else fm.execute_console(<span class="org-string">"quit"</span>)
|
||||
copymap q ZZ ZQ
|
||||
|
||||
map R reload_cwd
|
||||
@ -782,6 +840,7 @@ map gh cd ~
|
||||
map ga cd ~/Cloud/administratif
|
||||
map gm cd ~/Cloud/thesis
|
||||
map gp cd ~/Pictures
|
||||
map gT cd ~/.local/share/Trash/files
|
||||
map gd cd ~/Downloads
|
||||
map gc cd ~/.config/literate-dotfiles
|
||||
</pre>
|
||||
@ -904,7 +963,7 @@ map pht paste_hardlinked_subtree
|
||||
<h4 id="org2b7dea6">Delete and move files</h4>
|
||||
<div class="outline-text-4" id="text-org2b7dea6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map dD console delete
|
||||
<pre class="src src-conf">map dD shell -s trash-put %s
|
||||
map dd cut
|
||||
map ud uncut
|
||||
<span class="org-variable-name">map da cut mode</span>=add
|
||||
@ -975,7 +1034,6 @@ map <S-TAB> tab_move -1
|
||||
map <A-Right> tab_move <span class="org-highlight-numbers-number">1</span>
|
||||
map <A-Left> tab_move -1
|
||||
map gt tab_move <span class="org-highlight-numbers-number">1</span>
|
||||
map gT tab_move -1
|
||||
map gn tab_new ~
|
||||
map uq tab_restore
|
||||
map <a-1> tab_open <span class="org-highlight-numbers-number">1</span>
|
||||
@ -1095,9 +1153,9 @@ eval for arg in <span class="org-string">"rwxXst"</span>: cmd(<span class="org-s
|
||||
<h3 id="orgdcee9fb">Define keys for the console</h3>
|
||||
<div class="outline-text-3" id="text-orgdcee9fb">
|
||||
</div>
|
||||
<div id="outline-container-org895632b" class="outline-4">
|
||||
<h4 id="org895632b">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org895632b">
|
||||
<div id="outline-container-orgd25e256" class="outline-4">
|
||||
<h4 id="orgd25e256">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orgd25e256">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">cmap <tab> eval fm.ui.console.tab()
|
||||
cmap <s-tab> eval fm.ui.console.tab(-1)
|
||||
@ -1182,9 +1240,9 @@ cmap <allow_quantifiers> false
|
||||
<h3 id="org6e5bd62">Pager Keybindings</h3>
|
||||
<div class="outline-text-3" id="text-org6e5bd62">
|
||||
</div>
|
||||
<div id="outline-container-org5c6c444" class="outline-4">
|
||||
<h4 id="org5c6c444">Movement</h4>
|
||||
<div class="outline-text-4" id="text-org5c6c444">
|
||||
<div id="outline-container-org87aa8b8" class="outline-4">
|
||||
<h4 id="org87aa8b8">Movement</h4>
|
||||
<div class="outline-text-4" id="text-org87aa8b8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">pmap <down> pager_move down</span>=<span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-variable-name">pmap <up> pager_move up</span>=<span class="org-highlight-numbers-number">1</span>
|
||||
@ -1212,9 +1270,9 @@ copypmap <PAGEUP> p b <C-B>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4cc656f" class="outline-4">
|
||||
<h4 id="org4cc656f">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org4cc656f">
|
||||
<div id="outline-container-org06ac5b6" class="outline-4">
|
||||
<h4 id="org06ac5b6">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org06ac5b6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">pmap <C-l> redraw_window
|
||||
pmap <ESC> pager_close
|
||||
@ -1230,9 +1288,9 @@ pmap E edit_file
|
||||
<h3 id="org6675602">Taskview Keybindings</h3>
|
||||
<div class="outline-text-3" id="text-org6675602">
|
||||
</div>
|
||||
<div id="outline-container-org87aa8b8" class="outline-4">
|
||||
<h4 id="org87aa8b8">Movement</h4>
|
||||
<div class="outline-text-4" id="text-org87aa8b8">
|
||||
<div id="outline-container-orgb9bd2ed" class="outline-4">
|
||||
<h4 id="orgb9bd2ed">Movement</h4>
|
||||
<div class="outline-text-4" id="text-orgb9bd2ed">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">tmap <up> taskview_move up</span>=<span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-variable-name">tmap <down> taskview_move down</span>=<span class="org-highlight-numbers-number">1</span>
|
||||
@ -1270,9 +1328,9 @@ tmap <delete> eval -q fm.ui.taskview.task_remove()
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4d175ab" class="outline-4">
|
||||
<h4 id="org4d175ab">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org4d175ab">
|
||||
<div id="outline-container-org2766b39" class="outline-4">
|
||||
<h4 id="org2766b39">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org2766b39">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">tmap <C-l> redraw_window
|
||||
tmap <ESC> taskview_close
|
||||
@ -1554,7 +1612,7 @@ label wallpaper, number <span class="org-highlight-numbers-number">14</span>, mi
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-12 dim. 17:28</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,7 +4,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>
|
||||
<!-- 2020-01-11 sam. 22:19 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Scripts</title>
|
||||
@ -387,9 +387,9 @@ The requirement is to have <code>pdftk</code> or <code>stapler</code> installed.
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f $<span class="org-highlight-numbers-number">1</span> && $<span class="org-highlight-numbers-number">1</span> == *.pdf <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Argument if a file</span>
|
||||
<span class="org-keyword">if </span><span class="org-builtin">type</span> stapler > /dev/null; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">if </span><span class="org-builtin">type</span> stapler > /dev/null <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
|
||||
stapler del <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-highlight-numbers-number">1</span> /tmp/pdftk_out.pdf && <span class="org-type">mv</span> /tmp/pdftk_out.pdf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
|
||||
<span class="org-keyword">elif </span><span class="org-builtin">type</span> pdftk > /dev/null; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">elif </span><span class="org-builtin">type</span> pdftk > /dev/null <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
|
||||
pdftk <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-type">cat</span> 2-end output /tmp/pdftk_out.pdf && <span class="org-type">mv</span> /tmp/pdftk_out.pdf <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
|
||||
<span class="org-keyword">else</span>
|
||||
<span class="org-type">echo</span> <span class="org-string">"Neither pdftk nor stapler are installed"</span>
|
||||
@ -823,7 +823,7 @@ check_smaller <span class="org-string">"</span><span class="org-string"><span cl
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-11 sam. 22:19</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
108
docs/sxhkd.html
108
docs/sxhkd.html
@ -4,7 +4,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>
|
||||
<!-- 2020-01-12 dim. 17:28 -->
|
||||
<!-- 2020-01-28 mar. 21:31 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Simple X Hotkey Daemon</title>
|
||||
@ -274,26 +274,26 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org592413b">Change Keyboard Layout</a></li>
|
||||
<li><a href="#org9d0a9b9">BSPWM related</a>
|
||||
<ul>
|
||||
<li><a href="#org6dc6729">BSPWM hotkeys</a></li>
|
||||
<li><a href="#org5f091c5">Monocle Layout</a></li>
|
||||
<li><a href="#orgaef6ac0">Set the window State</a></li>
|
||||
<li><a href="#org6e93ccb">Sticky Window</a></li>
|
||||
<li><a href="#org33a7d86">Focus and Swap</a></li>
|
||||
<li><a href="#orgf191e44">Preselect</a></li>
|
||||
<li><a href="#org64894a6">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org177f7f6">I3 related</a>
|
||||
<ul>
|
||||
<li><a href="#org6d06696">BSPWM hotkeys</a></li>
|
||||
<li><a href="#org7de517a">Monocle Layout</a></li>
|
||||
<li><a href="#org426edc6">Set the window State</a></li>
|
||||
<li><a href="#org3fe4cad">Sticky Window</a></li>
|
||||
<li><a href="#orgd24232d">focus/swap</a></li>
|
||||
<li><a href="#org33a7d86">Focus and Swap</a></li>
|
||||
<li><a href="#orgcfa83ed">Preselect</a></li>
|
||||
<li><a href="#org77126e9">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org177f7f6">I3 related</a>
|
||||
<ul>
|
||||
<li><a href="#org97f0c44">BSPWM hotkeys</a></li>
|
||||
<li><a href="#org132be2c">Monocle Layout</a></li>
|
||||
<li><a href="#org4df4bad">Set the window State</a></li>
|
||||
<li><a href="#org7b3e70f">Sticky Window</a></li>
|
||||
<li><a href="#orgd24232d">focus/swap</a></li>
|
||||
<li><a href="#org6f773f1">Preselect</a></li>
|
||||
<li><a href="#org5aa4015">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -382,7 +382,8 @@ super + shift + c
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">File Manager</span>
|
||||
super + o
|
||||
urxvt -e <span class="org-string">"ranger"</span>
|
||||
$TERMINAL -e <span class="org-string">"ranger"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">$TERMINAL -e "tmux -L ranger attach"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser</span>
|
||||
super + i
|
||||
@ -486,7 +487,7 @@ super + space ; shift + c
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Ranger</span>
|
||||
super + space ; r
|
||||
urxvt -e <span class="org-string">"ranger"</span>
|
||||
$TERMINAL -e <span class="org-string">"tmux -L ranger attach"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span>
|
||||
super + space ; shift + r
|
||||
@ -494,7 +495,8 @@ super + space ; shift + r
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span>
|
||||
super + space ; m
|
||||
$TERMINAL -e <span class="org-string">"tmux -L neomutt attach"</span>
|
||||
$TERMINAL -e <span class="org-string">"neomutt"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">$TERMINAL -e "tmux -L neomutt attach"</span>
|
||||
|
||||
super + space ; shift + m
|
||||
$TERMINAL -e <span class="org-string">"neomutt -R"</span>
|
||||
@ -553,9 +555,9 @@ super + shift + d
|
||||
<div class="outline-text-2" id="text-org9d0a9b9">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6dc6729" class="outline-3">
|
||||
<h3 id="org6dc6729">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org6dc6729">
|
||||
<div id="outline-container-org6d06696" class="outline-3">
|
||||
<h3 id="org6d06696">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org6d06696">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
|
||||
super + alt + {q,r}
|
||||
@ -569,9 +571,9 @@ super + {_,shift + }q
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5f091c5" class="outline-3">
|
||||
<h3 id="org5f091c5">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org5f091c5">
|
||||
<div id="outline-container-org7de517a" class="outline-3">
|
||||
<h3 id="org7de517a">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org7de517a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
|
||||
super + m
|
||||
@ -585,9 +587,9 @@ super + c
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaef6ac0" class="outline-3">
|
||||
<h3 id="orgaef6ac0">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-orgaef6ac0">
|
||||
<div id="outline-container-org426edc6" class="outline-3">
|
||||
<h3 id="org426edc6">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org426edc6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window state to tiled</span>
|
||||
super + t
|
||||
@ -614,9 +616,9 @@ super + s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6e93ccb" class="outline-3">
|
||||
<h3 id="org6e93ccb">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org6e93ccb">
|
||||
<div id="outline-container-org3fe4cad" class="outline-3">
|
||||
<h3 id="org3fe4cad">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org3fe4cad">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the node flags</span>
|
||||
super + ctrl + y
|
||||
@ -661,9 +663,9 @@ super + shift + {1-9}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf191e44" class="outline-3">
|
||||
<h3 id="orgf191e44">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-orgf191e44">
|
||||
<div id="outline-container-orgcfa83ed" class="outline-3">
|
||||
<h3 id="orgcfa83ed">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-orgcfa83ed">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">preselect the direction</span>
|
||||
super + ctrl + {h,j,k,l}
|
||||
@ -681,9 +683,9 @@ super + ctrl + space
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64894a6" class="outline-3">
|
||||
<h3 id="org64894a6">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org64894a6">
|
||||
<div id="outline-container-org77126e9" class="outline-3">
|
||||
<h3 id="org77126e9">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org77126e9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">expand a window by moving one of its side outward</span>
|
||||
super + alt + {h,j,k,l}
|
||||
@ -710,9 +712,9 @@ super + {Left,Down,Up,Right}
|
||||
<div class="outline-text-2" id="text-org177f7f6">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6d06696" class="outline-3">
|
||||
<h3 id="org6d06696">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org6d06696">
|
||||
<div id="outline-container-org97f0c44" class="outline-3">
|
||||
<h3 id="org97f0c44">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org97f0c44">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
|
||||
super + alt + {q,r}
|
||||
@ -726,9 +728,9 @@ super + {_,shift + }q
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7de517a" class="outline-3">
|
||||
<h3 id="org7de517a">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org7de517a">
|
||||
<div id="outline-container-org132be2c" class="outline-3">
|
||||
<h3 id="org132be2c">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org132be2c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
|
||||
super + f
|
||||
@ -742,9 +744,9 @@ super + c
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org426edc6" class="outline-3">
|
||||
<h3 id="org426edc6">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org426edc6">
|
||||
<div id="outline-container-org4df4bad" class="outline-3">
|
||||
<h3 id="org4df4bad">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org4df4bad">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the window state</span>
|
||||
super + {t,s, shift + f}
|
||||
@ -754,9 +756,9 @@ super + {t,s, shift + f}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3fe4cad" class="outline-3">
|
||||
<h3 id="org3fe4cad">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org3fe4cad">
|
||||
<div id="outline-container-org7b3e70f" class="outline-3">
|
||||
<h3 id="org7b3e70f">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org7b3e70f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + ctrl + y
|
||||
i3-msg sticky toggle
|
||||
@ -802,9 +804,9 @@ super + shift + {1-9}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcfa83ed" class="outline-3">
|
||||
<h3 id="orgcfa83ed">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-orgcfa83ed">
|
||||
<div id="outline-container-org6f773f1" class="outline-3">
|
||||
<h3 id="org6f773f1">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org6f773f1">
|
||||
<p>
|
||||
Preselect the direction
|
||||
</p>
|
||||
@ -819,9 +821,9 @@ super + ctrl + {j,k,Up,Down}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org77126e9" class="outline-3">
|
||||
<h3 id="org77126e9">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org77126e9">
|
||||
<div id="outline-container-org5aa4015" class="outline-3">
|
||||
<h3 id="org5aa4015">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org5aa4015">
|
||||
<p>
|
||||
Expand/Shrink a window
|
||||
</p>
|
||||
@ -842,7 +844,7 @@ super + alt + l
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-12 dim. 17:28</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:31</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,7 +4,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>
|
||||
<!-- 2020-01-12 dim. 17:39 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Systemd services and timers</title>
|
||||
@ -260,69 +260,77 @@ for the JavaScript code in this tag.
|
||||
<ul>
|
||||
<li><a href="#org5b65512">Pass Git</a>
|
||||
<ul>
|
||||
<li><a href="#orgd3e63ad">Service</a></li>
|
||||
<li><a href="#orgee2b7e9">Timer</a></li>
|
||||
<li><a href="#orgcb5d9c5">Script</a></li>
|
||||
<li><a href="#org9063c02">Service</a></li>
|
||||
<li><a href="#orgc75daae">Timer</a></li>
|
||||
<li><a href="#org383c207">Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org79abe94">Buku Git</a>
|
||||
<ul>
|
||||
<li><a href="#orge9ee288">Service</a></li>
|
||||
<li><a href="#orga9b48b5">Timer</a></li>
|
||||
<li><a href="#org7deae17">Script</a></li>
|
||||
<li><a href="#orgeb31f54">Service</a></li>
|
||||
<li><a href="#org8e5bfef">Timer</a></li>
|
||||
<li><a href="#org6da97a8">Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1d68bb0">Check mail</a>
|
||||
<ul>
|
||||
<li><a href="#orgde867c9">Service</a></li>
|
||||
<li><a href="#org81e4851">Timer</a></li>
|
||||
<li><a href="#org383c207">Script</a></li>
|
||||
<li><a href="#org529d07c">Service</a></li>
|
||||
<li><a href="#orgde1690f">Timer</a></li>
|
||||
<li><a href="#org51ea00d">Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgefb3320">Sync mail</a>
|
||||
<ul>
|
||||
<li><a href="#org115b47a">Service</a></li>
|
||||
<li><a href="#org22b3193">Timer</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3c328f4">Emacs</a>
|
||||
<ul>
|
||||
<li><a href="#org3f41aeb">Service</a></li>
|
||||
<li><a href="#orgffc6912">Service</a></li>
|
||||
<li><a href="#org9d29d63">Timer</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2ff1601">Vdirsyncer</a>
|
||||
<ul>
|
||||
<li><a href="#org9370fdc">Service</a></li>
|
||||
<li><a href="#orgc75daae">Timer</a></li>
|
||||
<li><a href="#org8068b43">Service</a></li>
|
||||
<li><a href="#orgb01bb7a">Timer</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgbbde50c">Ranger</a>
|
||||
<ul>
|
||||
<li><a href="#org476783c">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5e3779e">Weechat</a>
|
||||
<ul>
|
||||
<li><a href="#org8cb9b08">Service</a></li>
|
||||
<li><a href="#org8fff16e">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8215bcc">Neomutt</a>
|
||||
<ul>
|
||||
<li><a href="#orgb7e719f">Service</a></li>
|
||||
<li><a href="#org38520c9">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orge82b3ac">Powertop</a>
|
||||
<ul>
|
||||
<li><a href="#orgbf7777b">Service</a></li>
|
||||
<li><a href="#orgd96f07b">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8fa8dcf">NCMPCPP</a>
|
||||
<ul>
|
||||
<li><a href="#org9063c02">Service</a></li>
|
||||
<li><a href="#orgfad55ad">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf7f570c">Newsboat</a>
|
||||
<ul>
|
||||
<li><a href="#orga5c50f3">Service - tmux</a></li>
|
||||
<li><a href="#org9f657a1">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb34591d">SSH Agent</a>
|
||||
<ul>
|
||||
<li><a href="#org0d000c3">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd4b9d58">Mopidy</a>
|
||||
<ul>
|
||||
<li><a href="#org273d46b">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb34591d">SSH Agent</a></li>
|
||||
<li><a href="#orgd4b9d58">Mopidy</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -335,9 +343,9 @@ for the JavaScript code in this tag.
|
||||
<h2 id="org5b65512">Pass Git</h2>
|
||||
<div class="outline-text-2" id="text-org5b65512">
|
||||
</div>
|
||||
<div id="outline-container-orgd3e63ad" class="outline-3">
|
||||
<h3 id="orgd3e63ad">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgd3e63ad">
|
||||
<div id="outline-container-org9063c02" class="outline-3">
|
||||
<h3 id="org9063c02">Service</h3>
|
||||
<div class="outline-text-3" id="text-org9063c02">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Sync Passwords every day
|
||||
@ -352,9 +360,9 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgee2b7e9" class="outline-3">
|
||||
<h3 id="orgee2b7e9">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orgee2b7e9">
|
||||
<div id="outline-container-orgc75daae" class="outline-3">
|
||||
<h3 id="orgc75daae">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orgc75daae">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Sync Passwords every day
|
||||
@ -375,9 +383,9 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcb5d9c5" class="outline-3">
|
||||
<h3 id="orgcb5d9c5">Script</h3>
|
||||
<div class="outline-text-3" id="text-orgcb5d9c5">
|
||||
<div id="outline-container-org383c207" class="outline-3">
|
||||
<h3 id="org383c207">Script</h3>
|
||||
<div class="outline-text-3" id="text-org383c207">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">pass <span class="org-type">git</span> pull --rebase && pass <span class="org-type">git</span> push
|
||||
</pre>
|
||||
@ -390,9 +398,9 @@ for the JavaScript code in this tag.
|
||||
<h2 id="org79abe94">Buku Git</h2>
|
||||
<div class="outline-text-2" id="text-org79abe94">
|
||||
</div>
|
||||
<div id="outline-container-orge9ee288" class="outline-3">
|
||||
<h3 id="orge9ee288">Service</h3>
|
||||
<div class="outline-text-3" id="text-orge9ee288">
|
||||
<div id="outline-container-orgeb31f54" class="outline-3">
|
||||
<h3 id="orgeb31f54">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgeb31f54">
|
||||
<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
|
||||
@ -407,9 +415,9 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga9b48b5" class="outline-3">
|
||||
<h3 id="orga9b48b5">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orga9b48b5">
|
||||
<div id="outline-container-org8e5bfef" class="outline-3">
|
||||
<h3 id="org8e5bfef">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org8e5bfef">
|
||||
<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
|
||||
@ -430,9 +438,9 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7deae17" class="outline-3">
|
||||
<h3 id="org7deae17">Script</h3>
|
||||
<div class="outline-text-3" id="text-org7deae17">
|
||||
<div id="outline-container-org6da97a8" class="outline-3">
|
||||
<h3 id="org6da97a8">Script</h3>
|
||||
<div class="outline-text-3" id="text-org6da97a8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/
|
||||
|
||||
@ -453,9 +461,9 @@ for the JavaScript code in this tag.
|
||||
<h2 id="org1d68bb0">Check mail</h2>
|
||||
<div class="outline-text-2" id="text-org1d68bb0">
|
||||
</div>
|
||||
<div id="outline-container-orgde867c9" class="outline-3">
|
||||
<h3 id="orgde867c9">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgde867c9">
|
||||
<div id="outline-container-org529d07c" class="outline-3">
|
||||
<h3 id="org529d07c">Service</h3>
|
||||
<div class="outline-text-3" id="text-org529d07c">
|
||||
<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
|
||||
@ -470,9 +478,9 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org81e4851" class="outline-3">
|
||||
<h3 id="org81e4851">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org81e4851">
|
||||
<div id="outline-container-orgde1690f" class="outline-3">
|
||||
<h3 id="orgde1690f">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orgde1690f">
|
||||
<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
|
||||
@ -496,9 +504,9 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org383c207" class="outline-3">
|
||||
<h3 id="org383c207">Script</h3>
|
||||
<div class="outline-text-3" id="text-org383c207">
|
||||
<div id="outline-container-org51ea00d" class="outline-3">
|
||||
<h3 id="org51ea00d">Script</h3>
|
||||
<div class="outline-text-3" id="text-org51ea00d">
|
||||
<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>
|
||||
@ -516,11 +524,12 @@ for the JavaScript code in this tag.
|
||||
<span class="org-variable-name">gmail_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/gmail/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-variable-name">esrf_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/esrf/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-variable-name">ulg_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/ulg/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-variable-name">uliege_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/uliege/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Retreive mails</span>
|
||||
mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variable-name">opt_verbose</span> gmail-Home esrf-Home ulg-Home
|
||||
mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variable-name">opt_verbose</span> gmail-Home esrf-Home ulg-Home uliege-Home
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
@ -528,18 +537,19 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
<span class="org-variable-name">gmail_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/gmail/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-variable-name">esrf_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/esrf/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-variable-name">ulg_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/ulg/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-variable-name">uliege_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/uliege/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Total Number of new mails since last checking</span>
|
||||
<span class="org-variable-name">new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$((</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">gmail_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">esrf_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">ulg_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
|
||||
<span class="org-variable-name">old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$((</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">gmail_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">esrf_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">ulg_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
|
||||
<span class="org-variable-name">new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$((</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">gmail_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">esrf_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">ulg_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">uliege_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
|
||||
<span class="org-variable-name">old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$((</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">gmail_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">esrf_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">ulg_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">uliege_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Notification</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">new</span></span><span class="org-string">"</span> -gt <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">98465</span> <span class="org-string">'New mail'</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">esrf_new</span></span><span class="org-string">  </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">gmail_new</span></span><span class="org-string">  </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">ulg_new</span></span><span class="org-string">"</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">98465</span> <span class="org-string">'New mail'</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">esrf_new</span></span><span class="org-string">  </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">gmail_new</span></span><span class="org-string">  </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">ulg_new</span></span><span class="org-string">  </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">uliege_new</span></span><span class="org-string">"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
|
||||
@ -562,9 +572,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<h2 id="orgefb3320">Sync mail</h2>
|
||||
<div class="outline-text-2" id="text-orgefb3320">
|
||||
</div>
|
||||
<div id="outline-container-org115b47a" class="outline-3">
|
||||
<h3 id="org115b47a">Service</h3>
|
||||
<div class="outline-text-3" id="text-org115b47a">
|
||||
<div id="outline-container-orgffc6912" class="outline-3">
|
||||
<h3 id="orgffc6912">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgffc6912">
|
||||
<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
|
||||
@ -579,9 +589,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org22b3193" class="outline-3">
|
||||
<h3 id="org22b3193">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org22b3193">
|
||||
<div id="outline-container-org9d29d63" class="outline-3">
|
||||
<h3 id="org9d29d63">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org9d29d63">
|
||||
<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
|
||||
@ -606,40 +616,13 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3c328f4" class="outline-2">
|
||||
<h2 id="org3c328f4">Emacs</h2>
|
||||
<div class="outline-text-2" id="text-org3c328f4">
|
||||
</div>
|
||||
<div id="outline-container-org3f41aeb" class="outline-3">
|
||||
<h3 id="org3f41aeb">Service</h3>
|
||||
<div class="outline-text-3" id="text-org3f41aeb">
|
||||
<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>=forking
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/emacs --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 id="outline-container-org2ff1601" class="outline-2">
|
||||
<h2 id="org2ff1601">Vdirsyncer</h2>
|
||||
<div class="outline-text-2" id="text-org2ff1601">
|
||||
</div>
|
||||
<div id="outline-container-org9370fdc" class="outline-3">
|
||||
<h3 id="org9370fdc">Service</h3>
|
||||
<div class="outline-text-3" id="text-org9370fdc">
|
||||
<div id="outline-container-org8068b43" class="outline-3">
|
||||
<h3 id="org8068b43">Service</h3>
|
||||
<div class="outline-text-3" id="text-org8068b43">
|
||||
<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
|
||||
@ -655,9 +638,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc75daae" class="outline-3">
|
||||
<h3 id="orgc75daae">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orgc75daae">
|
||||
<div id="outline-container-orgb01bb7a" class="outline-3">
|
||||
<h3 id="orgb01bb7a">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orgb01bb7a">
|
||||
<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
|
||||
@ -675,13 +658,39 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbbde50c" class="outline-2">
|
||||
<h2 id="orgbbde50c">Ranger</h2>
|
||||
<div class="outline-text-2" id="text-orgbbde50c">
|
||||
</div>
|
||||
<div id="outline-container-org476783c" class="outline-3">
|
||||
<h3 id="org476783c">Service</h3>
|
||||
<div class="outline-text-3" id="text-org476783c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Ranger using Tmux
|
||||
|
||||
[<span class="org-type">Service</span>]
|
||||
<span class="org-variable-name">Type</span>=forking
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/tmux -L ranger new -d -s ranger ranger
|
||||
<span class="org-variable-name">ExecStop</span>=/usr/bin/tmux -L ranger kill-session -t ranger
|
||||
<span class="org-variable-name">Restart</span>=always
|
||||
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">1</span>
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=multi-user.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5e3779e" class="outline-2">
|
||||
<h2 id="org5e3779e">Weechat</h2>
|
||||
<div class="outline-text-2" id="text-org5e3779e">
|
||||
</div>
|
||||
<div id="outline-container-org8cb9b08" class="outline-3">
|
||||
<h3 id="org8cb9b08">Service</h3>
|
||||
<div class="outline-text-3" id="text-org8cb9b08">
|
||||
<div id="outline-container-org8fff16e" class="outline-3">
|
||||
<h3 id="org8fff16e">Service</h3>
|
||||
<div class="outline-text-3" id="text-org8fff16e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=A WeeChat client and relay service using Tmux
|
||||
@ -696,7 +705,7 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
<span class="org-variable-name">WantedBy</span>=multi-user.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -707,9 +716,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<h2 id="org8215bcc">Neomutt</h2>
|
||||
<div class="outline-text-2" id="text-org8215bcc">
|
||||
</div>
|
||||
<div id="outline-container-orgb7e719f" class="outline-3">
|
||||
<h3 id="orgb7e719f">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgb7e719f">
|
||||
<div id="outline-container-org38520c9" class="outline-3">
|
||||
<h3 id="org38520c9">Service</h3>
|
||||
<div class="outline-text-3" id="text-org38520c9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Neomutt - mail client
|
||||
@ -722,7 +731,7 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
<span class="org-variable-name">WantedBy</span>=multi-user.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -733,9 +742,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<h2 id="orge82b3ac">Powertop</h2>
|
||||
<div class="outline-text-2" id="text-orge82b3ac">
|
||||
</div>
|
||||
<div id="outline-container-orgbf7777b" class="outline-3">
|
||||
<h3 id="orgbf7777b">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgbf7777b">
|
||||
<div id="outline-container-orgd96f07b" class="outline-3">
|
||||
<h3 id="orgd96f07b">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgd96f07b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Powertop tunings
|
||||
@ -755,9 +764,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<h2 id="org8fa8dcf">NCMPCPP</h2>
|
||||
<div class="outline-text-2" id="text-org8fa8dcf">
|
||||
</div>
|
||||
<div id="outline-container-org9063c02" class="outline-3">
|
||||
<h3 id="org9063c02">Service</h3>
|
||||
<div class="outline-text-3" id="text-org9063c02">
|
||||
<div id="outline-container-orgfad55ad" class="outline-3">
|
||||
<h3 id="orgfad55ad">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgfad55ad">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Ncmpcpp - Music Player
|
||||
@ -770,7 +779,7 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
<span class="org-variable-name">WantedBy</span>=multi-user.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -781,9 +790,9 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<h2 id="orgf7f570c">Newsboat</h2>
|
||||
<div class="outline-text-2" id="text-orgf7f570c">
|
||||
</div>
|
||||
<div id="outline-container-orga5c50f3" class="outline-3">
|
||||
<h3 id="orga5c50f3">Service - tmux</h3>
|
||||
<div class="outline-text-3" id="text-orga5c50f3">
|
||||
<div id="outline-container-org9f657a1" class="outline-3">
|
||||
<h3 id="org9f657a1">Service</h3>
|
||||
<div class="outline-text-3" id="text-org9f657a1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Newsboat - RSS reader
|
||||
@ -796,15 +805,20 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">3</span>
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
<span class="org-variable-name">WantedBy</span>=multi-user.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb34591d" class="outline-2">
|
||||
<h2 id="orgb34591d">SSH Agent</h2>
|
||||
<div class="outline-text-2" id="text-orgb34591d">
|
||||
</div>
|
||||
<div id="outline-container-org0d000c3" class="outline-3">
|
||||
<h3 id="org0d000c3">Service</h3>
|
||||
<div class="outline-text-3" id="text-org0d000c3">
|
||||
<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
|
||||
@ -820,9 +834,15 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd4b9d58" class="outline-2">
|
||||
<h2 id="orgd4b9d58">Mopidy</h2>
|
||||
<div class="outline-text-2" id="text-orgd4b9d58">
|
||||
</div>
|
||||
<div id="outline-container-org273d46b" class="outline-3">
|
||||
<h3 id="org273d46b">Service</h3>
|
||||
<div class="outline-text-3" id="text-org273d46b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Mopidy music server
|
||||
@ -835,7 +855,7 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
<span class="org-variable-name">After</span>=sound.target
|
||||
|
||||
[<span class="org-type">Service</span>]
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/mopidy
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=multi-user.target
|
||||
@ -844,9 +864,10 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-01-12 dim. 17:39</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,7 +4,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>
|
||||
<!-- 2020-01-11 sam. 22:19 -->
|
||||
<!-- 2020-01-28 mar. 21:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Configuration Files related to Xorg</title>
|
||||
@ -261,9 +261,8 @@ for the JavaScript code in this tag.
|
||||
<li><a href="#org46b88d4">Xresources</a>
|
||||
<ul>
|
||||
<li><a href="#org97a3062">Colors</a></li>
|
||||
<li><a href="#org74b0ae0">XFT</a></li>
|
||||
<li><a href="#org387956c">Xcursor</a></li>
|
||||
<li><a href="#orga798e6b">URxvt</a></li>
|
||||
<li><a href="#orgb20ef40">Fonts</a></li>
|
||||
<li><a href="#org2f75682">Cursor</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5283ed8">Xmodmap</a></li>
|
||||
@ -338,9 +337,9 @@ for the JavaScript code in this tag.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org74b0ae0" class="outline-3">
|
||||
<h3 id="org74b0ae0">XFT</h3>
|
||||
<div class="outline-text-3" id="text-org74b0ae0">
|
||||
<div id="outline-container-orgb20ef40" class="outline-3">
|
||||
<h3 id="orgb20ef40">Fonts</h3>
|
||||
<div class="outline-text-3" id="text-orgb20ef40">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Xft.dpi: <span class="org-highlight-numbers-number">96</span>
|
||||
Xft.autohint: <span class="org-highlight-numbers-number">0</span>
|
||||
@ -354,9 +353,9 @@ Xft.rgba: rgb
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org387956c" class="outline-3">
|
||||
<h3 id="org387956c">Xcursor</h3>
|
||||
<div class="outline-text-3" id="text-org387956c">
|
||||
<div id="outline-container-org2f75682" class="outline-3">
|
||||
<h3 id="org2f75682">Cursor</h3>
|
||||
<div class="outline-text-3" id="text-org2f75682">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Xcursor.theme: Breeze
|
||||
Xcursor.size: <span class="org-highlight-numbers-number">0</span>
|
||||
@ -364,78 +363,6 @@ Xcursor.size: <span class="org-highlight-numbers-number">0</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga798e6b" class="outline-3">
|
||||
<h3 id="orga798e6b">URxvt</h3>
|
||||
<div class="outline-text-3" id="text-orga798e6b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">! -----------------------------------------------------------------------------
|
||||
! File: gruvbox-dark.xresources
|
||||
! Description: Retro groove colorscheme generalized
|
||||
! Author: morhetz <a href="mailto:morhetz%40gmail.com"><morhetz@gmail.com></a>
|
||||
! Source: https://github.com/morhetz/gruvbox-generalized
|
||||
! Last Modified: <span class="org-highlight-numbers-number">6</span> Sep <span class="org-highlight-numbers-number">2014</span>
|
||||
! -----------------------------------------------------------------------------
|
||||
|
||||
! hard contrast: *background: <span class="org-comment-delimiter">#</span><span class="org-comment">1d2021</span>
|
||||
*background: <span class="org-comment-delimiter">#</span><span class="org-comment">282828</span>
|
||||
! soft contrast: *background: <span class="org-comment-delimiter">#</span><span class="org-comment">32302f</span>
|
||||
*foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">ebdbb2</span>
|
||||
! Black + DarkGrey
|
||||
*color0: <span class="org-comment-delimiter">#</span><span class="org-comment">282828</span>
|
||||
*color8: <span class="org-comment-delimiter">#</span><span class="org-comment">928374</span>
|
||||
! DarkRed + Red
|
||||
*color1: <span class="org-comment-delimiter">#</span><span class="org-comment">cc241d</span>
|
||||
*color9: <span class="org-comment-delimiter">#</span><span class="org-comment">fb4934</span>
|
||||
! DarkGreen + Green
|
||||
*color2: <span class="org-comment-delimiter">#</span><span class="org-comment">98971a</span>
|
||||
*color10: <span class="org-comment-delimiter">#</span><span class="org-comment">b8bb26</span>
|
||||
! DarkYellow + Yellow
|
||||
*color3: <span class="org-comment-delimiter">#</span><span class="org-comment">d79921</span>
|
||||
*color11: <span class="org-comment-delimiter">#</span><span class="org-comment">fabd2f</span>
|
||||
! DarkBlue + Blue
|
||||
*color4: <span class="org-comment-delimiter">#</span><span class="org-comment">458588</span>
|
||||
*color12: <span class="org-comment-delimiter">#</span><span class="org-comment">83a598</span>
|
||||
! DarkMagenta + Magenta
|
||||
*color5: <span class="org-comment-delimiter">#</span><span class="org-comment">b16286</span>
|
||||
*color13: <span class="org-comment-delimiter">#</span><span class="org-comment">d3869b</span>
|
||||
! DarkCyan + Cyan
|
||||
*color6: <span class="org-comment-delimiter">#</span><span class="org-comment">689d6a</span>
|
||||
*color14: <span class="org-comment-delimiter">#</span><span class="org-comment">8ec07c</span>
|
||||
! LightGrey + White
|
||||
*color7: <span class="org-comment-delimiter">#</span><span class="org-comment">a89984</span>
|
||||
*color15: <span class="org-comment-delimiter">#</span><span class="org-comment">ebdbb2</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">URxvt*termName: screen-256color
|
||||
URxvt*geometry: 240x84
|
||||
URxvt*loginShell: true
|
||||
URxvt*scrollstyle: plain
|
||||
URxvt*scrollTtyKeypress: true
|
||||
URxvt*scrollTtyOutput: false
|
||||
URxvt*scrollWithBuffer: false
|
||||
URxvt*secondaryScreen: true
|
||||
URxvt*secondaryScroll: true
|
||||
URxvt*skipScroll: true
|
||||
URxvt*scrollBar: false
|
||||
URxvt*scrollBar_right: false
|
||||
URxvt*scrollBar_floating: false
|
||||
URxvt*utmpInhibit: false
|
||||
URxvt*urgentOnBell: false
|
||||
URxvt*visualBell: true
|
||||
URxvt*mapAlert: true
|
||||
URxvt*mouseWheelScrollPage: true
|
||||
<span class="org-variable-name">URxvt*font: xft:Hack Nerd Font Mono:size</span>=<span class="org-highlight-numbers-number">10</span>
|
||||
<span class="org-variable-name">URxvt*boldFont: xft:Hack Nerd Font Mono:bold:size</span>=<span class="org-highlight-numbers-number">10</span>
|
||||
URxvt.perl-ext-common: selection-to-clipboard
|
||||
URxvt.keysym.C-S-c: perl:clipboard:copy
|
||||
URxvt.keysym.C-S-v: perl:clipboard:paste
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5283ed8" class="outline-2">
|
||||
@ -720,6 +647,14 @@ Fix for Matlab.
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Set <code>DISPLAY</code> for <code>dunst</code> when started with <code>systemd</code>.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">systemctl --user import-environment DISPLAY
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Merge in defaults and keymaps
|
||||
</p>
|
||||
@ -789,7 +724,7 @@ xautolock -locker <span class="org-string">"~/scripts/lockscreen.sh"</span> -det
|
||||
<span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> redshift >/dev/null || <span class="org-sh-escaped-newline">\</span>
|
||||
redshift &
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Run Compton (compositor)</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Run Picom (compositor)</span>
|
||||
picom --daemon &
|
||||
</pre>
|
||||
</div>
|
||||
@ -812,7 +747,7 @@ synology-drive &
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Udiskie to automount usb keys</span>
|
||||
<span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> udiskie >/dev/null || <span class="org-sh-escaped-newline">\</span>
|
||||
udiskie --automount --notify --tray --use-udisks2 &
|
||||
udiskie --automount --notify --tray &
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -830,7 +765,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: 2020-01-11 sam. 22:19</p>
|
||||
<p class="date">Created: 2020-01-28 mar. 21:32</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user