Update html
This commit is contained in:
parent
18af7b3f3e
commit
18025dbc56
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:22 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Alacritty Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,21 +16,21 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Alacritty Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgacd2147">Fonts</a></li>
|
||||
<li><a href="#org7f71f2d">Colors</a></li>
|
||||
<li><a href="#orgdabf299">Fonts</a></li>
|
||||
<li><a href="#org32444d9">Colors</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgacd2147" class="outline-2">
|
||||
<h2 id="orgacd2147">Fonts</h2>
|
||||
<div class="outline-text-2" id="text-orgacd2147">
|
||||
<div id="outline-container-orgdabf299" class="outline-2">
|
||||
<h2 id="orgdabf299">Fonts</h2>
|
||||
<div class="outline-text-2" id="text-orgdabf299">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">font</span>:
|
||||
<span class="org-variable-name">normal</span>:
|
||||
@ -55,9 +55,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7f71f2d" class="outline-2">
|
||||
<h2 id="org7f71f2d">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org7f71f2d">
|
||||
<div id="outline-container-org32444d9" class="outline-2">
|
||||
<h2 id="org32444d9">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org32444d9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">colors</span>:
|
||||
<span class="org-variable-name">primary</span>:
|
||||
@ -108,7 +108,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:22</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:21 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Android Phone</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,56 +16,56 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Android Phone</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org9b15080">Install</a>
|
||||
<li><a href="#org452ae96">Install</a>
|
||||
<ul>
|
||||
<li><a href="#org31c1d8d">Unlock the bootloader</a></li>
|
||||
<li><a href="#org39426ca">Flash ROM</a></li>
|
||||
<li><a href="#org966f711">Root</a></li>
|
||||
<li><a href="#org6e288cc">Further work</a></li>
|
||||
<li><a href="#org48b4af6">Unlock the bootloader</a></li>
|
||||
<li><a href="#org80937d0">Flash ROM</a></li>
|
||||
<li><a href="#orgefb1ac3">Root</a></li>
|
||||
<li><a href="#org3c51025">Further work</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org41948b1">Favorite Apps</a></li>
|
||||
<li><a href="#orgb68380c">Tutorials</a>
|
||||
<li><a href="#org33d82ae">Favorite Apps</a></li>
|
||||
<li><a href="#org378f7b2">Tutorials</a>
|
||||
<ul>
|
||||
<li><a href="#org246c824">Backup</a></li>
|
||||
<li><a href="#org895b996">Connect to the phone by SSH</a></li>
|
||||
<li><a href="#orgc3d2345">Backup</a></li>
|
||||
<li><a href="#org9b61554">Connect to the phone by SSH</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b15080" class="outline-2">
|
||||
<h2 id="org9b15080">Install</h2>
|
||||
<div class="outline-text-2" id="text-org9b15080">
|
||||
<div id="outline-container-org452ae96" class="outline-2">
|
||||
<h2 id="org452ae96">Install</h2>
|
||||
<div class="outline-text-2" id="text-org452ae96">
|
||||
</div>
|
||||
<div id="outline-container-org31c1d8d" class="outline-3">
|
||||
<h3 id="org31c1d8d">Unlock the bootloader</h3>
|
||||
<div class="outline-text-3" id="text-org31c1d8d">
|
||||
<div id="outline-container-org48b4af6" class="outline-3">
|
||||
<h3 id="org48b4af6">Unlock the bootloader</h3>
|
||||
<div class="outline-text-3" id="text-org48b4af6">
|
||||
<p>
|
||||
Tutorial: <a href="https://www.youtube.com/watch?v=_MKtOMiUWdM">https://www.youtube.com/watch?v=_MKtOMiUWdM</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org39426ca" class="outline-3">
|
||||
<h3 id="org39426ca">Flash ROM</h3>
|
||||
<div class="outline-text-3" id="text-org39426ca">
|
||||
<div id="outline-container-org80937d0" class="outline-3">
|
||||
<h3 id="org80937d0">Flash ROM</h3>
|
||||
<div class="outline-text-3" id="text-org80937d0">
|
||||
<p>
|
||||
Tutorial: <a href="https://www.youtube.com/watch?v=3pxOeiIBrHI">https://www.youtube.com/watch?v=3pxOeiIBrHI</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org966f711" class="outline-3">
|
||||
<h3 id="org966f711">Root</h3>
|
||||
<div class="outline-text-3" id="text-org966f711">
|
||||
<div id="outline-container-orgefb1ac3" class="outline-3">
|
||||
<h3 id="orgefb1ac3">Root</h3>
|
||||
<div class="outline-text-3" id="text-orgefb1ac3">
|
||||
<ul class="org-ul">
|
||||
<li>Root: <a href="https://github.com/topjohnwu/Magisk">https://github.com/topjohnwu/Magisk</a> <a href="https://forum.xda-developers.com/t/guide-magisk-for-oxygenos-11.4160833/">https://forum.xda-developers.com/t/guide-magisk-for-oxygenos-11.4160833/</a></li>
|
||||
<li><a href="https://www.youtube.com/watch?v=hTFK1OZ4DaU">https://www.youtube.com/watch?v=hTFK1OZ4DaU</a></li>
|
||||
@ -73,9 +73,9 @@ Tutorial: <a href="https://www.youtube.com/watch?v=3pxOeiIBrHI">https://www.yout
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6e288cc" class="outline-3">
|
||||
<h3 id="org6e288cc">Further work</h3>
|
||||
<div class="outline-text-3" id="text-org6e288cc">
|
||||
<div id="outline-container-org3c51025" class="outline-3">
|
||||
<h3 id="org3c51025">Further work</h3>
|
||||
<div class="outline-text-3" id="text-org3c51025">
|
||||
<ul class="org-ul">
|
||||
<li>ROM: <a href="https://lineage.microg.org/">https://lineage.microg.org/</a> (<a href="https://download.lineage.microg.org/instantnoodle/">https://download.lineage.microg.org/instantnoodle/</a>)</li>
|
||||
<li>Setup SSH: <a href="https://binfalse.de/2018/09/06/native-ssh-server-on-linageos/">https://binfalse.de/2018/09/06/native-ssh-server-on-linageos/</a></li>
|
||||
@ -84,10 +84,10 @@ Tutorial: <a href="https://www.youtube.com/watch?v=3pxOeiIBrHI">https://www.yout
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org41948b1" class="outline-2">
|
||||
<h2 id="org41948b1">Favorite Apps</h2>
|
||||
<div class="outline-text-2" id="text-org41948b1">
|
||||
<table id="orge490c90" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<div id="outline-container-org33d82ae" class="outline-2">
|
||||
<h2 id="org33d82ae">Favorite Apps</h2>
|
||||
<div class="outline-text-2" id="text-org33d82ae">
|
||||
<table id="org6bfec9a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<caption class="t-above"><span class="table-number">Table 1:</span> Open Source Apps</caption>
|
||||
|
||||
<colgroup>
|
||||
@ -366,7 +366,7 @@ Tutorial: <a href="https://www.youtube.com/watch?v=3pxOeiIBrHI">https://www.yout
|
||||
</table>
|
||||
|
||||
|
||||
<table id="org0b1cf8b" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org4ef935a" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<caption class="t-above"><span class="table-number">Table 2:</span> Close Source Apps</caption>
|
||||
|
||||
<colgroup>
|
||||
@ -435,7 +435,7 @@ Tutorial: <a href="https://www.youtube.com/watch?v=3pxOeiIBrHI">https://www.yout
|
||||
</table>
|
||||
|
||||
|
||||
<table id="org2549731" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<table id="org58961e7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
<caption class="t-above"><span class="table-number">Table 3:</span> Apps requiring Root</caption>
|
||||
|
||||
<colgroup>
|
||||
@ -469,13 +469,13 @@ Tutorial: <a href="https://www.youtube.com/watch?v=3pxOeiIBrHI">https://www.yout
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb68380c" class="outline-2">
|
||||
<h2 id="orgb68380c">Tutorials</h2>
|
||||
<div class="outline-text-2" id="text-orgb68380c">
|
||||
<div id="outline-container-org378f7b2" class="outline-2">
|
||||
<h2 id="org378f7b2">Tutorials</h2>
|
||||
<div class="outline-text-2" id="text-org378f7b2">
|
||||
</div>
|
||||
<div id="outline-container-org246c824" class="outline-3">
|
||||
<h3 id="org246c824">Backup</h3>
|
||||
<div class="outline-text-3" id="text-org246c824">
|
||||
<div id="outline-container-orgc3d2345" class="outline-3">
|
||||
<h3 id="orgc3d2345">Backup</h3>
|
||||
<div class="outline-text-3" id="text-orgc3d2345">
|
||||
<p>
|
||||
I use <code>adb backup</code> to backup the phone (<a href="https://forum.xda-developers.com/t/guide-full-phone-backup-without-unlock-or-root.1420351/">guide</a>).
|
||||
</p>
|
||||
@ -490,9 +490,9 @@ Basically, I have to run:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org895b996" class="outline-3">
|
||||
<h3 id="org895b996">Connect to the phone by SSH</h3>
|
||||
<div class="outline-text-3" id="text-org895b996">
|
||||
<div id="outline-container-org9b61554" class="outline-3">
|
||||
<h3 id="org9b61554">Connect to the phone by SSH</h3>
|
||||
<div class="outline-text-3" id="text-org9b61554">
|
||||
<p>
|
||||
<a href="https://wiki.termux.com/wiki/Bypassing_NAT">https://wiki.termux.com/wiki/Bypassing_NAT</a>
|
||||
</p>
|
||||
@ -506,7 +506,7 @@ An other option would be to use Wireguard and shen to <code>ssh</code>.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:21</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Desktop file for the applications</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,31 +16,29 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Desktop file for the applications</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org71a2460">Mime Applications</a></li>
|
||||
<li><a href="#org3da423b">Neomutt</a></li>
|
||||
<li><a href="#org5e2e6fc">Weechat</a></li>
|
||||
<li><a href="#org034bd30">Matlab</a></li>
|
||||
<li><a href="#org6f623b4">Neovim</a></li>
|
||||
<li><a href="#orgd5b6306">Images</a></li>
|
||||
<li><a href="#orgb420f7f">Org-Protocol</a></li>
|
||||
<li><a href="#org777141a">Ranger</a></li>
|
||||
<li><a href="#org0cb9832">Emacs Client</a></li>
|
||||
<li><a href="#org42f59ff">Torrent with Transmission</a></li>
|
||||
<li><a href="#orgfe825a7">Qutebrowser</a></li>
|
||||
<li><a href="#org9b19704">Zathura</a></li>
|
||||
<li><a href="#org510a3b7">Mime Applications</a></li>
|
||||
<li><a href="#org4969bbf">Neomutt</a></li>
|
||||
<li><a href="#orgb3a0278">Matlab</a></li>
|
||||
<li><a href="#org3d347ba">Neovim</a></li>
|
||||
<li><a href="#orgd31dd5d">Images</a></li>
|
||||
<li><a href="#org72a8937">Org-Protocol</a></li>
|
||||
<li><a href="#org6ecb262">Ranger</a></li>
|
||||
<li><a href="#org302dc62">Emacs Client</a></li>
|
||||
<li><a href="#org5f9cb20">Qutebrowser</a></li>
|
||||
<li><a href="#org5880eb7">Zathura</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org71a2460" class="outline-2">
|
||||
<h2 id="org71a2460">Mime Applications</h2>
|
||||
<div class="outline-text-2" id="text-org71a2460">
|
||||
<div id="outline-container-org510a3b7" class="outline-2">
|
||||
<h2 id="org510a3b7">Mime Applications</h2>
|
||||
<div class="outline-text-2" id="text-org510a3b7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Default Applications</span>]
|
||||
<span class="org-variable-name">text/plain</span>=nvim.desktop
|
||||
@ -74,9 +72,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3da423b" class="outline-2">
|
||||
<h2 id="org3da423b">Neomutt</h2>
|
||||
<div class="outline-text-2" id="text-org3da423b">
|
||||
<div id="outline-container-org4969bbf" class="outline-2">
|
||||
<h2 id="org4969bbf">Neomutt</h2>
|
||||
<div class="outline-text-2" id="text-org4969bbf">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Name</span>=Neomutt
|
||||
@ -92,37 +90,16 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5e2e6fc" class="outline-2">
|
||||
<h2 id="org5e2e6fc">Weechat</h2>
|
||||
<div class="outline-text-2" id="text-org5e2e6fc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Encoding</span>=UTF-8
|
||||
<span class="org-variable-name">MultipleArgs</span>=false
|
||||
<span class="org-variable-name">Terminal</span>=false
|
||||
<span class="org-variable-name">Exec</span>=$TERMINAL --class=WeeChat -e <span class="org-string">'weechat'</span>
|
||||
<span class="org-variable-name">StartupWMClass</span>=WeeChat
|
||||
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/weechat.svg
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Categories</span>=Network;IRCClient;
|
||||
<span class="org-variable-name">StartupNotify</span>=true
|
||||
<span class="org-variable-name">Name</span>=WeeChat
|
||||
<span class="org-variable-name">GenericName</span>=IRC Client
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org034bd30" class="outline-2">
|
||||
<h2 id="org034bd30">Matlab</h2>
|
||||
<div class="outline-text-2" id="text-org034bd30">
|
||||
<div id="outline-container-orgb3a0278" class="outline-2">
|
||||
<h2 id="orgb3a0278">Matlab</h2>
|
||||
<div class="outline-text-2" id="text-orgb3a0278">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Version</span>=R2020b
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Terminal</span>=false
|
||||
<span class="org-variable-name">MimeType</span>=text/x-matlab
|
||||
<span class="org-variable-name">Exec</span>=/usr/local/MATLAB/R2020b/bin/matlab -desktop
|
||||
<span class="org-variable-name">Exec</span>=/home/thomas/.local/bin/matlab -desktop
|
||||
<span class="org-variable-name">Name</span>=MATLAB
|
||||
<span class="org-variable-name">Icon</span>=matlab
|
||||
<span class="org-variable-name">Categories</span>=Development;Math;Science
|
||||
@ -133,9 +110,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f623b4" class="outline-2">
|
||||
<h2 id="org6f623b4">Neovim</h2>
|
||||
<div class="outline-text-2" id="text-org6f623b4">
|
||||
<div id="outline-container-org3d347ba" class="outline-2">
|
||||
<h2 id="org3d347ba">Neovim</h2>
|
||||
<div class="outline-text-2" id="text-org3d347ba">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Name</span>=Neovim
|
||||
@ -154,9 +131,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5b6306" class="outline-2">
|
||||
<h2 id="orgd5b6306">Images</h2>
|
||||
<div class="outline-text-2" id="text-orgd5b6306">
|
||||
<div id="outline-container-orgd31dd5d" class="outline-2">
|
||||
<h2 id="orgd31dd5d">Images</h2>
|
||||
<div class="outline-text-2" id="text-orgd31dd5d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
@ -167,9 +144,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb420f7f" class="outline-2">
|
||||
<h2 id="orgb420f7f">Org-Protocol</h2>
|
||||
<div class="outline-text-2" id="text-orgb420f7f">
|
||||
<div id="outline-container-org72a8937" class="outline-2">
|
||||
<h2 id="org72a8937">Org-Protocol</h2>
|
||||
<div class="outline-text-2" id="text-org72a8937">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Name</span>=org-protocol
|
||||
@ -183,9 +160,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org777141a" class="outline-2">
|
||||
<h2 id="org777141a">Ranger</h2>
|
||||
<div class="outline-text-2" id="text-org777141a">
|
||||
<div id="outline-container-org6ecb262" class="outline-2">
|
||||
<h2 id="org6ecb262">Ranger</h2>
|
||||
<div class="outline-text-2" id="text-org6ecb262">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
@ -200,9 +177,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org0cb9832" class="outline-2">
|
||||
<h2 id="org0cb9832">Emacs Client</h2>
|
||||
<div class="outline-text-2" id="text-org0cb9832">
|
||||
<div id="outline-container-org302dc62" class="outline-2">
|
||||
<h2 id="org302dc62">Emacs Client</h2>
|
||||
<div class="outline-text-2" id="text-org302dc62">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Name</span>=Emacs Client
|
||||
@ -219,22 +196,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org42f59ff" class="outline-2">
|
||||
<h2 id="org42f59ff">Torrent with Transmission</h2>
|
||||
<div class="outline-text-2" id="text-org42f59ff">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Name</span>=Torrent
|
||||
<span class="org-variable-name">Exec</span>=tremc %U
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfe825a7" class="outline-2">
|
||||
<h2 id="orgfe825a7">Qutebrowser</h2>
|
||||
<div class="outline-text-2" id="text-orgfe825a7">
|
||||
<div id="outline-container-org5f9cb20" class="outline-2">
|
||||
<h2 id="org5f9cb20">Qutebrowser</h2>
|
||||
<div class="outline-text-2" id="text-org5f9cb20">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Name</span>=qutebrowser
|
||||
@ -255,9 +219,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b19704" class="outline-2">
|
||||
<h2 id="org9b19704">Zathura</h2>
|
||||
<div class="outline-text-2" id="text-org9b19704">
|
||||
<div id="outline-container-org5880eb7" class="outline-2">
|
||||
<h2 id="org5880eb7">Zathura</h2>
|
||||
<div class="outline-text-2" id="text-org5880eb7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Version</span>=<span class="org-highlight-numbers-number">1.0</span>
|
||||
@ -276,7 +240,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
323
docs/bash.html
323
docs/bash.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:05 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Bash Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -24,55 +24,55 @@
|
||||
<ul>
|
||||
<li><a href="#bashrc"><code>~/.bashrc</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgb8018f7">If not running interactively, don’t do anything</a></li>
|
||||
<li><a href="#org16d9917">Bash Completion</a></li>
|
||||
<li><a href="#org17408fe">FZF</a></li>
|
||||
<li><a href="#org46238bc">Ignore case for auto-completion</a></li>
|
||||
<li><a href="#org53c6a26">Use Color</a></li>
|
||||
<li><a href="#org5664e96">Some config</a></li>
|
||||
<li><a href="#org26dcd39">Prompt - <code>PS1</code></a></li>
|
||||
<li><a href="#org7dc0b98">Rebind up and down arrow keys to search through bash history</a></li>
|
||||
<li><a href="#org5d3b91c">Aliases</a>
|
||||
<li><a href="#org05a79d8">If not running interactively, don’t do anything</a></li>
|
||||
<li><a href="#org3695180">Bash Completion</a></li>
|
||||
<li><a href="#org4a4d160">FZF</a></li>
|
||||
<li><a href="#org85fd378">Ignore case for auto-completion</a></li>
|
||||
<li><a href="#org8f219ce">Use Color</a></li>
|
||||
<li><a href="#org1e666c8">Some config</a></li>
|
||||
<li><a href="#org3d4e406">Prompt - <code>PS1</code></a></li>
|
||||
<li><a href="#org2eb451d">Rebind up and down arrow keys to search through bash history</a></li>
|
||||
<li><a href="#org68ea631">Aliases</a>
|
||||
<ul>
|
||||
<li><a href="#orgad8f6ac">Better defaults for some commands</a></li>
|
||||
<li><a href="#orgd2723b6">One letter aliases</a></li>
|
||||
<li><a href="#org785c2af">Neovim</a></li>
|
||||
<li><a href="#org61be992">Vim-like</a></li>
|
||||
<li><a href="#org6f5c44a">Print each PATH entry on a separate line</a></li>
|
||||
<li><a href="#orgccd152d">Better defaults for some commands</a></li>
|
||||
<li><a href="#orge8cb785">One letter aliases</a></li>
|
||||
<li><a href="#org39c3683">Neovim</a></li>
|
||||
<li><a href="#org706f81a">Vim-like</a></li>
|
||||
<li><a href="#org2afd297">Print each PATH entry on a separate line</a></li>
|
||||
<li><a href="#org1a6ba2c">Other</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdd41cc3">Functions</a>
|
||||
<li><a href="#org41248d3">Functions</a>
|
||||
<ul>
|
||||
<li><a href="#org716962c"><code>colors</code> - Display colors</a></li>
|
||||
<li><a href="#orgb6faa84"><code>tre</code> - Tree display</a></li>
|
||||
<li><a href="#org7b0ff56"><code>mkd</code> - Create a new directory and enter it</a></li>
|
||||
<li><a href="#org78520b0"><code>fs</code> - Filesize of directory</a></li>
|
||||
<li><a href="#orgfc72283"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</a></li>
|
||||
<li><a href="#orge1cc477"><code>sms</code> - Send SMS</a></li>
|
||||
<li><a href="#org3c65ff6"><code>colors</code> - Display colors</a></li>
|
||||
<li><a href="#org8c5d327"><code>tre</code> - Tree display</a></li>
|
||||
<li><a href="#orga41efe9"><code>mkd</code> - Create a new directory and enter it</a></li>
|
||||
<li><a href="#org57cd28d"><code>fs</code> - Filesize of directory</a></li>
|
||||
<li><a href="#org640ebd8"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgfa27a35">Bash History</a></li>
|
||||
<li><a href="#orgf766dae">Bash History</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#bash_profile"><code>~/.bash_profile</code></a></li>
|
||||
<li><a href="#profile"><code>~/.profile</code></a>
|
||||
<ul>
|
||||
<li><a href="#org15952b2">QT And GTK Themes</a></li>
|
||||
<li><a href="#org6c38c79">Gui program to ask for sudo password</a></li>
|
||||
<li><a href="#org5d2ff76">Gnome Keyring Daemon</a></li>
|
||||
<li><a href="#org10b40b3">Export some default applications</a></li>
|
||||
<li><a href="#orgf65a830">Exports</a>
|
||||
<li><a href="#org33d42e0">QT And GTK Themes</a></li>
|
||||
<li><a href="#org2963255">Gui program to ask for sudo password</a></li>
|
||||
<li><a href="#orgfb2d3a0">Gnome Keyring Daemon</a></li>
|
||||
<li><a href="#orgd06f8cc">Export some default applications</a></li>
|
||||
<li><a href="#org0e3dafc">Exports</a>
|
||||
<ul>
|
||||
<li><a href="#org0fa2d26">XDG Default</a></li>
|
||||
<li><a href="#org51055fb">Use Ripgrep for FZF</a></li>
|
||||
<li><a href="#org08d14fc">Goland</a></li>
|
||||
<li><a href="#org18f49cf">Latex Path</a></li>
|
||||
<li><a href="#org6bdbd18">Python Path</a></li>
|
||||
<li><a href="#org2895615">Linkding</a></li>
|
||||
<li><a href="#orgdf02655">XDG Default</a></li>
|
||||
<li><a href="#org70e92e1">Use Ripgrep for FZF</a></li>
|
||||
<li><a href="#org5a8d89e">Goland</a></li>
|
||||
<li><a href="#org9d92877">Latex Path</a></li>
|
||||
<li><a href="#org552bb96">Python Path</a></li>
|
||||
<li><a href="#org5fc0fad">Linkding</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8a10d32">Path</a></li>
|
||||
<li><a href="#orgda5e48a">Automatically run <code>startx</code></a></li>
|
||||
<li><a href="#orgf15d561">Path</a></li>
|
||||
<li><a href="#org93ffa5b">Automatically run <code>startx</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#inputrc"><code>~/.inputrc</code></a></li>
|
||||
@ -85,9 +85,9 @@
|
||||
<div class="outline-text-2" id="text-bashrc">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb8018f7" class="outline-3">
|
||||
<h3 id="orgb8018f7">If not running interactively, don’t do anything</h3>
|
||||
<div class="outline-text-3" id="text-orgb8018f7">
|
||||
<div id="outline-container-org05a79d8" class="outline-3">
|
||||
<h3 id="org05a79d8">If not running interactively, don’t do anything</h3>
|
||||
<div class="outline-text-3" id="text-org05a79d8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-variable-name">-</span> != *i* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-keyword">return</span>
|
||||
</pre>
|
||||
@ -95,9 +95,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org16d9917" class="outline-3">
|
||||
<h3 id="org16d9917">Bash Completion</h3>
|
||||
<div class="outline-text-3" id="text-org16d9917">
|
||||
<div id="outline-container-org3695180" class="outline-3">
|
||||
<h3 id="org3695180">Bash Completion</h3>
|
||||
<div class="outline-text-3" id="text-org3695180">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span> -r /usr/share/bash-completion/bash_completion <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-builtin">.</span> /usr/share/bash-completion/bash_completion
|
||||
</pre>
|
||||
@ -105,19 +105,20 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org17408fe" class="outline-3">
|
||||
<h3 id="org17408fe">FZF</h3>
|
||||
<div class="outline-text-3" id="text-org17408fe">
|
||||
<div id="outline-container-org4a4d160" class="outline-3">
|
||||
<h3 id="org4a4d160">FZF</h3>
|
||||
<div class="outline-text-3" id="text-org4a4d160">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">source</span> /usr/share/fzf/key-bindings.bash
|
||||
<pre class="src src-bash"><span class="org-builtin">.</span> /usr/share/doc/fzf/examples/completion.bash
|
||||
<span class="org-builtin">.</span> /usr/share/doc/fzf/examples/key-bindings.bash
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org46238bc" class="outline-3">
|
||||
<h3 id="org46238bc">Ignore case for auto-completion</h3>
|
||||
<div class="outline-text-3" id="text-org46238bc">
|
||||
<div id="outline-container-org85fd378" class="outline-3">
|
||||
<h3 id="org85fd378">Ignore case for auto-completion</h3>
|
||||
<div class="outline-text-3" id="text-org85fd378">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">bind</span> <span class="org-string">"set completion-ignore-case on"</span>
|
||||
<span class="org-builtin">bind</span> <span class="org-string">"set show-all-if-ambiguous on"</span>
|
||||
@ -126,9 +127,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org53c6a26" class="outline-3">
|
||||
<h3 id="org53c6a26">Use Color</h3>
|
||||
<div class="outline-text-3" id="text-org53c6a26">
|
||||
<div id="outline-container-org8f219ce" class="outline-3">
|
||||
<h3 id="org8f219ce">Use Color</h3>
|
||||
<div class="outline-text-3" id="text-org8f219ce">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">use_color</span>=true
|
||||
</pre>
|
||||
@ -136,9 +137,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5664e96" class="outline-3">
|
||||
<h3 id="org5664e96">Some config</h3>
|
||||
<div class="outline-text-3" id="text-org5664e96">
|
||||
<div id="outline-container-org1e666c8" class="outline-3">
|
||||
<h3 id="org1e666c8">Some config</h3>
|
||||
<div class="outline-text-3" id="text-org1e666c8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Unset some variables</span>
|
||||
<span class="org-builtin">unset</span> use_color safe_term match_lhs sh
|
||||
@ -172,9 +173,9 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org26dcd39" class="outline-3">
|
||||
<h3 id="org26dcd39">Prompt - <code>PS1</code></h3>
|
||||
<div class="outline-text-3" id="text-org26dcd39">
|
||||
<div id="outline-container-org3d4e406" class="outline-3">
|
||||
<h3 id="org3d4e406">Prompt - <code>PS1</code></h3>
|
||||
<div class="outline-text-3" id="text-org3d4e406">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">PS1</span>=<span class="org-string">"\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> bold)</span></span><span class="org-string">\]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\][\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 3)</span></span><span class="org-string">\]\u\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 2)</span></span><span class="org-string">\]@\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 4)</span></span><span class="org-string">\]\h \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 5)</span></span><span class="org-string">\]\W\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\]]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 7)</span></span><span class="org-string">\]\\$ \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> sgr0)</span></span><span class="org-string">\]"</span>
|
||||
</pre>
|
||||
@ -182,9 +183,9 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7dc0b98" class="outline-3">
|
||||
<h3 id="org7dc0b98">Rebind up and down arrow keys to search through bash history</h3>
|
||||
<div class="outline-text-3" id="text-org7dc0b98">
|
||||
<div id="outline-container-org2eb451d" class="outline-3">
|
||||
<h3 id="org2eb451d">Rebind up and down arrow keys to search through bash history</h3>
|
||||
<div class="outline-text-3" id="text-org2eb451d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">bind</span> <span class="org-string">'"\e[A": history-search-backward'</span>
|
||||
<span class="org-builtin">bind</span> <span class="org-string">'"\e[B": history-search-forward'</span>
|
||||
@ -193,19 +194,20 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5d3b91c" class="outline-3">
|
||||
<h3 id="org5d3b91c">Aliases</h3>
|
||||
<div class="outline-text-3" id="text-org5d3b91c">
|
||||
<div id="outline-container-org68ea631" class="outline-3">
|
||||
<h3 id="org68ea631">Aliases</h3>
|
||||
<div class="outline-text-3" id="text-org68ea631">
|
||||
</div>
|
||||
<div id="outline-container-orgad8f6ac" class="outline-4">
|
||||
<h4 id="orgad8f6ac">Better defaults for some commands</h4>
|
||||
<div class="outline-text-4" id="text-orgad8f6ac">
|
||||
<div id="outline-container-orgccd152d" class="outline-4">
|
||||
<h4 id="orgccd152d">Better defaults for some commands</h4>
|
||||
<div class="outline-text-4" id="text-orgccd152d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-type">ls</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">ls</span></span><span class="org-string"> -hN --color=auto --group-directories-first'</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-type">grep</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">grep</span></span><span class="org-string"> --colour=auto'</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-type">cp</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">cp</span></span><span class="org-string"> -i"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">confirm before overwriting something</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-variable-name">df</span>=<span class="org-string">'df -h'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">human-readable sizes</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-variable-name">free</span>=<span class="org-string">'free -m'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">show sizes in MB</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-variable-name">bat</span>=<span class="org-string">'batcat'</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-variable-name">mutt</span>=<span class="org-string">"neomutt"</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-variable-name">tmux</span>=<span class="org-string">'tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'</span>
|
||||
</pre>
|
||||
@ -213,9 +215,9 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd2723b6" class="outline-4">
|
||||
<h4 id="orgd2723b6">One letter aliases</h4>
|
||||
<div class="outline-text-4" id="text-orgd2723b6">
|
||||
<div id="outline-container-orge8cb785" class="outline-4">
|
||||
<h4 id="orge8cb785">One letter aliases</h4>
|
||||
<div class="outline-text-4" id="text-orge8cb785">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">r</span>=<span class="org-string">"ranger"</span>
|
||||
<span class="org-builtin">alias</span> <span class="org-variable-name">t</span>=<span class="org-string">"tmux"</span>
|
||||
@ -229,9 +231,9 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org785c2af" class="outline-4">
|
||||
<h4 id="org785c2af">Neovim</h4>
|
||||
<div class="outline-text-4" id="text-org785c2af">
|
||||
<div id="outline-container-org39c3683" class="outline-4">
|
||||
<h4 id="org39c3683">Neovim</h4>
|
||||
<div class="outline-text-4" id="text-org39c3683">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">command</span> -v nvim >/dev/null && <span class="org-builtin">alias</span> <span class="org-variable-name">vim</span>=<span class="org-string">"nvim"</span> <span class="org-variable-name">vimdiff</span>=<span class="org-string">"nvim -d"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use neovim for vim if present.</span>
|
||||
</pre>
|
||||
@ -239,9 +241,9 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org61be992" class="outline-4">
|
||||
<h4 id="org61be992">Vim-like</h4>
|
||||
<div class="outline-text-4" id="text-org61be992">
|
||||
<div id="outline-container-org706f81a" class="outline-4">
|
||||
<h4 id="org706f81a">Vim-like</h4>
|
||||
<div class="outline-text-4" id="text-org706f81a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">alias</span> :<span class="org-variable-name">q</span>=exit
|
||||
<span class="org-builtin">alias</span> :<span class="org-variable-name">e</span>=nvim
|
||||
@ -250,24 +252,34 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f5c44a" class="outline-4">
|
||||
<h4 id="org6f5c44a">Print each PATH entry on a separate line</h4>
|
||||
<div class="outline-text-4" id="text-org6f5c44a">
|
||||
<div id="outline-container-org2afd297" class="outline-4">
|
||||
<h4 id="org2afd297">Print each PATH entry on a separate line</h4>
|
||||
<div class="outline-text-4" id="text-org2afd297">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">path</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">echo</span></span><span class="org-string"> -e ${PATH//:/\\n}'</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1a6ba2c" class="outline-4">
|
||||
<h4 id="org1a6ba2c">Other</h4>
|
||||
<div class="outline-text-4" id="text-org1a6ba2c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">fd</span>=<span class="org-string">"fdfind"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd41cc3" class="outline-3">
|
||||
<h3 id="orgdd41cc3">Functions</h3>
|
||||
<div class="outline-text-3" id="text-orgdd41cc3">
|
||||
<div id="outline-container-org41248d3" class="outline-3">
|
||||
<h3 id="org41248d3">Functions</h3>
|
||||
<div class="outline-text-3" id="text-org41248d3">
|
||||
</div>
|
||||
<div id="outline-container-org716962c" class="outline-4">
|
||||
<h4 id="org716962c"><code>colors</code> - Display colors</h4>
|
||||
<div class="outline-text-4" id="text-org716962c">
|
||||
<div id="outline-container-org3c65ff6" class="outline-4">
|
||||
<h4 id="org3c65ff6"><code>colors</code> - Display colors</h4>
|
||||
<div class="outline-text-4" id="text-org3c65ff6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-function-name">colors</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-builtin">local</span> fgc bgc vals seq0
|
||||
@ -300,9 +312,9 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb6faa84" class="outline-4">
|
||||
<h4 id="orgb6faa84"><code>tre</code> - Tree display</h4>
|
||||
<div class="outline-text-4" id="text-orgb6faa84">
|
||||
<div id="outline-container-org8c5d327" class="outline-4">
|
||||
<h4 id="org8c5d327"><code>tre</code> - Tree display</h4>
|
||||
<div class="outline-text-4" id="text-org8c5d327">
|
||||
<p>
|
||||
<code>tre</code> is a shorthand for <code>tree</code> with hidden files and color enabled, ignoring
|
||||
the <code>.git</code> directory, listing directories first. The output gets piped into
|
||||
@ -319,9 +331,9 @@ small enough for one screen.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7b0ff56" class="outline-4">
|
||||
<h4 id="org7b0ff56"><code>mkd</code> - Create a new directory and enter it</h4>
|
||||
<div class="outline-text-4" id="text-org7b0ff56">
|
||||
<div id="outline-container-orga41efe9" class="outline-4">
|
||||
<h4 id="orga41efe9"><code>mkd</code> - Create a new directory and enter it</h4>
|
||||
<div class="outline-text-4" id="text-orga41efe9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">mkd</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-type">mkdir</span> -p <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> && <span class="org-type">cd</span> <span class="org-string">"$_"</span>;
|
||||
@ -331,9 +343,9 @@ small enough for one screen.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org78520b0" class="outline-4">
|
||||
<h4 id="org78520b0"><code>fs</code> - Filesize of directory</h4>
|
||||
<div class="outline-text-4" id="text-org78520b0">
|
||||
<div id="outline-container-org57cd28d" class="outline-4">
|
||||
<h4 id="org57cd28d"><code>fs</code> - Filesize of directory</h4>
|
||||
<div class="outline-text-4" id="text-org57cd28d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">fs</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-keyword">if</span> du -b /dev/null > /dev/null <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
|
||||
@ -352,48 +364,22 @@ small enough for one screen.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfc72283" class="outline-4">
|
||||
<h4 id="orgfc72283"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</h4>
|
||||
<div class="outline-text-4" id="text-orgfc72283">
|
||||
<div id="outline-container-org640ebd8" class="outline-4">
|
||||
<h4 id="org640ebd8"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</h4>
|
||||
<div class="outline-text-4" id="text-org640ebd8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">nullify</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> >/dev/null <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">}</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge1cc477" class="outline-4">
|
||||
<h4 id="orge1cc477"><code>sms</code> - Send SMS</h4>
|
||||
<div class="outline-text-4" id="text-orge1cc477">
|
||||
<p>
|
||||
<a href="https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-messages-from-the-shell/#kdeconnects-builtin-sms-interface">https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-messages-from-the-shell/#kdeconnects-builtin-sms-interface</a>
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-function-name">sms</span><span class="org-rainbow-delimiters-depth-1">(){</span>
|
||||
<span class="org-builtin">local</span> <span class="org-variable-name">args</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">local phone_number name phone_type</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">khard phone --parsable | sort -u | fzf | IFS=$'\t' read -r phone_number name phone_type</span>
|
||||
<span class="org-builtin">local</span> <span class="org-variable-name">phone_number</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">khard</span> phone --parsable | sort -u | fzf | cut -f1 -d$<span class="org-string">'\t'</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{phone_number}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-type">echo</span> No recipient was chosen >&<span class="org-highlight-numbers-number">2</span>
|
||||
<span class="org-keyword">return</span>
|
||||
<span class="org-keyword">else</span>
|
||||
kdeconnect-cli --send-sms <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{args}</span></span><span class="org-string">"</span> --destination <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{phone_number}</span></span><span class="org-string">"</span> --device 4de3b5de2264a17c
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">}</span>
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfa27a35" class="outline-3">
|
||||
<h3 id="orgfa27a35">Bash History</h3>
|
||||
<div class="outline-text-3" id="text-orgfa27a35">
|
||||
<div id="outline-container-orgf766dae" class="outline-3">
|
||||
<h3 id="orgf766dae">Bash History</h3>
|
||||
<div class="outline-text-3" id="text-orgf766dae">
|
||||
<p>
|
||||
Undocumented feature which sets the size to “unlimited”. <a href="http://stackoverflow.com/questions/9457233/unlimited-bash-history">http://stackoverflow.com/questions/9457233/unlimited-bash-history</a>
|
||||
</p>
|
||||
@ -453,9 +439,9 @@ Force prompt to write history after every command. <a href="http://superuser.com
|
||||
<div class="outline-text-2" id="text-profile">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org15952b2" class="outline-3">
|
||||
<h3 id="org15952b2">QT And GTK Themes</h3>
|
||||
<div class="outline-text-3" id="text-org15952b2">
|
||||
<div id="outline-container-org33d42e0" class="outline-3">
|
||||
<h3 id="org33d42e0">QT And GTK Themes</h3>
|
||||
<div class="outline-text-3" id="text-org33d42e0">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">QT_QPA_PLATFORMTHEME</span>=<span class="org-string">"qt5ct"</span>
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">GTK2_RC_FILES</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.gtkrc-2.0"</span>
|
||||
@ -464,9 +450,9 @@ Force prompt to write history after every command. <a href="http://superuser.com
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6c38c79" class="outline-3">
|
||||
<h3 id="org6c38c79">Gui program to ask for sudo password</h3>
|
||||
<div class="outline-text-3" id="text-org6c38c79">
|
||||
<div id="outline-container-org2963255" class="outline-3">
|
||||
<h3 id="org2963255">Gui program to ask for sudo password</h3>
|
||||
<div class="outline-text-3" id="text-org2963255">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi
|
||||
</pre>
|
||||
@ -474,9 +460,9 @@ Force prompt to write history after every command. <a href="http://superuser.com
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5d2ff76" class="outline-3">
|
||||
<h3 id="org5d2ff76">Gnome Keyring Daemon</h3>
|
||||
<div class="outline-text-3" id="text-org5d2ff76">
|
||||
<div id="outline-container-orgfb2d3a0" class="outline-3">
|
||||
<h3 id="orgfb2d3a0">Gnome Keyring Daemon</h3>
|
||||
<div class="outline-text-3" id="text-orgfb2d3a0">
|
||||
<p>
|
||||
Enable the keyring for applications run through the terminal
|
||||
</p>
|
||||
@ -490,9 +476,9 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org10b40b3" class="outline-3">
|
||||
<h3 id="org10b40b3">Export some default applications</h3>
|
||||
<div class="outline-text-3" id="text-org10b40b3">
|
||||
<div id="outline-container-orgd06f8cc" class="outline-3">
|
||||
<h3 id="orgd06f8cc">Export some default applications</h3>
|
||||
<div class="outline-text-3" id="text-orgd06f8cc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">EDITOR</span>=<span class="org-string">"nvim"</span>
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">TERMINAL</span>=<span class="org-string">"alacritty"</span>
|
||||
@ -504,13 +490,13 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf65a830" class="outline-3">
|
||||
<h3 id="orgf65a830">Exports</h3>
|
||||
<div class="outline-text-3" id="text-orgf65a830">
|
||||
<div id="outline-container-org0e3dafc" class="outline-3">
|
||||
<h3 id="org0e3dafc">Exports</h3>
|
||||
<div class="outline-text-3" id="text-org0e3dafc">
|
||||
</div>
|
||||
<div id="outline-container-org0fa2d26" class="outline-4">
|
||||
<h4 id="org0fa2d26">XDG Default</h4>
|
||||
<div class="outline-text-4" id="text-org0fa2d26">
|
||||
<div id="outline-container-orgdf02655" class="outline-4">
|
||||
<h4 id="orgdf02655">XDG Default</h4>
|
||||
<div class="outline-text-4" id="text-orgdf02655">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">XDG_CONFIG_HOME</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.config"</span>
|
||||
</pre>
|
||||
@ -518,9 +504,9 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org51055fb" class="outline-4">
|
||||
<h4 id="org51055fb">Use Ripgrep for FZF</h4>
|
||||
<div class="outline-text-4" id="text-org51055fb">
|
||||
<div id="outline-container-org70e92e1" class="outline-4">
|
||||
<h4 id="org70e92e1">Use Ripgrep for FZF</h4>
|
||||
<div class="outline-text-4" id="text-org70e92e1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_COMMAND</span>=<span class="org-string">'rg --files --no-ignore --hidden --follow --glob "!.git/*"'</span>
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_OPTS</span>=<span class="org-string">'--layout=reverse --height=20'</span>
|
||||
@ -529,9 +515,9 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org08d14fc" class="outline-4">
|
||||
<h4 id="org08d14fc">Goland</h4>
|
||||
<div class="outline-text-4" id="text-org08d14fc">
|
||||
<div id="outline-container-org5a8d89e" class="outline-4">
|
||||
<h4 id="org5a8d89e">Goland</h4>
|
||||
<div class="outline-text-4" id="text-org5a8d89e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">GOPATH</span>=$<span class="org-variable-name">HOME</span>/go
|
||||
</pre>
|
||||
@ -539,9 +525,9 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org18f49cf" class="outline-4">
|
||||
<h4 id="org18f49cf">Latex Path</h4>
|
||||
<div class="outline-text-4" id="text-org18f49cf">
|
||||
<div id="outline-container-org9d92877" class="outline-4">
|
||||
<h4 id="org9d92877">Latex Path</h4>
|
||||
<div class="outline-text-4" id="text-org9d92877">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">TEXMFHOME</span>=$<span class="org-variable-name">HOME</span>/.local/share/texmf
|
||||
</pre>
|
||||
@ -549,9 +535,9 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6bdbd18" class="outline-4">
|
||||
<h4 id="org6bdbd18">Python Path</h4>
|
||||
<div class="outline-text-4" id="text-org6bdbd18">
|
||||
<div id="outline-container-org552bb96" class="outline-4">
|
||||
<h4 id="org552bb96">Python Path</h4>
|
||||
<div class="outline-text-4" id="text-org552bb96">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">PYTHONPATH</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{PYTHONPATH}</span></span><span class="org-string">:/usr/lib/python3.9/site-packages/configobj"</span>
|
||||
</pre>
|
||||
@ -559,11 +545,11 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2895615" class="outline-4">
|
||||
<h4 id="org2895615">Linkding</h4>
|
||||
<div class="outline-text-4" id="text-org2895615">
|
||||
<div id="outline-container-org5fc0fad" class="outline-4">
|
||||
<h4 id="org5fc0fad">Linkding</h4>
|
||||
<div class="outline-text-4" id="text-org5fc0fad">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">LINKDING_URL</span>=<span class="org-string">"localhost:9090"</span>
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">LINKDING_URL</span>=<span class="org-sh-quoted-exec">`pass nas/linkding_url`</span>
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">LINKDING_TOKEN</span>=<span class="org-sh-quoted-exec">`pass nas/linkding_token`</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -571,23 +557,26 @@ Enable the keyring for applications run through the terminal
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8a10d32" class="outline-3">
|
||||
<h3 id="org8a10d32">Path</h3>
|
||||
<div class="outline-text-3" id="text-org8a10d32">
|
||||
<div id="outline-container-orgf15d561" class="outline-3">
|
||||
<h3 id="orgf15d561">Path</h3>
|
||||
<div class="outline-text-3" id="text-orgf15d561">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/appimages:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/.gem/ruby/2.5.0/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=$<span class="org-variable-name">GOPATH</span>:$<span class="org-variable-name">GOPATH</span>/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=~/.config/emacs/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=~/.local/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=~/.npm-global/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=~/miniconda3/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-builtin">export</span> PATH
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgda5e48a" class="outline-3">
|
||||
<h3 id="orgda5e48a">Automatically run <code>startx</code></h3>
|
||||
<div class="outline-text-3" id="text-orgda5e48a">
|
||||
<div id="outline-container-org93ffa5b" class="outline-3">
|
||||
<h3 id="org93ffa5b">Automatically run <code>startx</code></h3>
|
||||
<div class="outline-text-3" id="text-org93ffa5b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{DISPLAY}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{XDG_VTNR}</span></span><span class="org-string">"</span> -eq <span class="org-highlight-numbers-number">1</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">exec</span> startx
|
||||
@ -678,7 +667,7 @@ Don’t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:05</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>My own specific binaries</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,162 +22,180 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#phonebook"><code>phonebook</code> ESRF phone-book</a></li>
|
||||
<li><a href="#contacts"><code>contacts</code> Personnal phone-book</a></li>
|
||||
<li><a href="#qutebrowser"><code>qutebrowser</code></a></li>
|
||||
<li><a href="#remote-home"><code>remote-home</code> - Remote Desktop to Home PC</a></li>
|
||||
<li><a href="#remote-desktop"><code>remote-desktop</code> - Remote Desktop Connect</a></li>
|
||||
<li><a href="#print-rnice"><code>print-rnice</code> - Print on Rnice</a></li>
|
||||
<li><a href="#tmp14"><code>tmp14</code> - Mount/Umount tmp_14_days folder</a></li>
|
||||
<li><a href="#nas"><code>nas</code> - Interact with the NAS</a></li>
|
||||
<li><a href="#torrent-add"><code>torrent-add</code> - Download Torrent</a></li>
|
||||
<li><a href="#dl-add"><code>dl-add</code> - Direct Download with Aria2</a></li>
|
||||
<li><a href="#note-extract-fig"><code>note-extract-fig</code> - Extract Figure from note file</a></li>
|
||||
<li><a href="#orgbac0a18"><code>mount-dir</code> - Mount/Unmout directories</a></li>
|
||||
<li><a href="#screen-select"><code>screen-select</code> - Xrandr pre-defined scripts</a></li>
|
||||
<li><a href="#color-picker"><code>color-picker</code> - Pick color and copy to clipboard</a></li>
|
||||
<li><a href="#print-esrf"><code>print-esrf</code> - Print on Rnice</a></li>
|
||||
<li><a href="#readbib"><code>readbib</code> - Open Bibliography File</a></li>
|
||||
<li><a href="#readnotes"><code>readnotes</code> - Open Note</a></li>
|
||||
<li><a href="#orgad4e28d"><code>qrdecode</code> - Decode QRcode by taking screenshot</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-phonebook" class="outline-2">
|
||||
<h2 id="phonebook"><code>phonebook</code> ESRF phone-book</h2>
|
||||
<div class="outline-text-2" id="text-phonebook">
|
||||
<p>
|
||||
The phone-list is taken from <code>scp opid21@lid21nano:/mnt/multipath-shares/sware/pub/phonelist/share/annuaire.txt /home/thomas/.local/data/annuaire.txt</code>
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cat</span> ~/.local/data/annuaire.txt | fzf --header=<span class="org-string">"NAME Phone Box department roomNumber description mail"</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">$<span class="org-variable-name">TERMINAL</span> --title esrf-phonebook -e phonebook
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-contacts" class="outline-2">
|
||||
<h2 id="contacts"><code>contacts</code> Personnal phone-book</h2>
|
||||
<div class="outline-text-2" id="text-contacts">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">khard | fzf --header=<span class="org-string">"Index Name Phone E-Mail"</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">$<span class="org-variable-name">TERMINAL</span> --title esrf-phonebook -e contacts
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-qutebrowser" class="outline-2">
|
||||
<h2 id="qutebrowser"><code>qutebrowser</code></h2>
|
||||
<div class="outline-text-2" id="text-qutebrowser">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">~/.local/soft/qutebrowser/.venv/bin/python3 -m qutebrowser <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-remote-home" class="outline-2">
|
||||
<h2 id="remote-home"><code>remote-home</code> - Remote Desktop to Home PC</h2>
|
||||
<div class="outline-text-2" id="text-remote-home">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">notify-send <span class="org-string">'Rdesktop'</span> <span class="org-string">"Connection to Home PC..."</span>
|
||||
|
||||
<span class="org-variable-name">common_arg</span>=<span class="org-string">"/clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /wm-class:RDP_PC /grab-keyboard /cert:ignore"</span>
|
||||
|
||||
xfreerdp $<span class="org-variable-name">common_arg</span> /u:thomas /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> home_pc/thomas | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:192.168.1.72 > /tmp/freerdp_home_pc.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> &
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-remote-desktop" class="outline-2">
|
||||
<h2 id="remote-desktop"><code>remote-desktop</code> - Remote Desktop Connect</h2>
|
||||
<div class="outline-text-2" id="text-remote-desktop">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">computer</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'RNICE\nPCMEL1\nPCNASS1\nPCMEG01'</span> | dmenu -p <span class="org-string">'Computer:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<pre class="src src-bash"><span class="org-variable-name">computer</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'WID21SPEEDGOAT1\nWBM23SPEEDGOAT1\nWID24SPEEDGOAT1\nPCMEL1\nRNICE\nPCDEHAEZE\nLAPPAMU1\nPCNASS1\nDesktop-W10'</span> | rofi -i -dmenu -no-custom -p <span class="org-string">'Computer:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">89891</span> <span class="org-string">'Rdesktop'</span> <span class="org-string">"Connection to </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{computer}</span></span><span class="org-string">..."</span>
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">computer</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
|
||||
notify-send <span class="org-string">'Rdesktop'</span> <span class="org-string">"Connection to </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{computer}</span></span><span class="org-string">..."</span>
|
||||
|
||||
<span class="org-variable-name">proxy_arg</span>=<span class="org-string">""</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">computer</span></span><span class="org-string">"</span> = <span class="org-string">"Desktop-W10"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">If connect to local PC</span>
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> ping -c <span class="org-highlight-numbers-number">1</span> -t <span class="org-highlight-numbers-number">1</span> desktop-w10.lan &> /dev/null <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">And outside of local network, use proxy</span>
|
||||
<span class="org-variable-name">proxy_arg</span>=<span class="org-string">"/proxy:socks5://localhost:8080"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">timeout</span><span class="org-string"><span class="org-sh-quoted-exec"> 1s dig +short proxy.esrf.fr.)</span></span><span class="org-string">"</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">Outside the ESRF network</span>
|
||||
<span class="org-variable-name">proxy_arg</span>=<span class="org-string">"/proxy:socks5://localhost:8081"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
|
||||
<span class="org-variable-name">common_arg</span>=<span class="org-string">"/clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /wm-class:RDP_</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">computer</span></span><span class="org-string"> /grab-keyboard /cert:ignore"</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">computer</span></span><span class="org-string">"</span><span class="org-keyword"> in</span>
|
||||
<span class="org-string">"RNICE"</span> | <span class="org-string">"PCDEHAEZE"</span> | <span class="org-string">"PCNASS1"</span>)
|
||||
xfreerdp $<span class="org-variable-name">proxy_arg</span> $<span class="org-variable-name">common_arg</span> /d:ESRF /u:dehaeze /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:$<span class="org-variable-name">computer</span>.esrf.fr > /tmp/freerdp_$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">computer</span><span class="org-rainbow-delimiters-depth-1">}</span>.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> & ;;
|
||||
|
||||
<span class="org-string">"PCMEL1"</span>)
|
||||
xfreerdp $<span class="org-variable-name">proxy_arg</span> $<span class="org-variable-name">common_arg</span> /d:ESRF /u:OPPEL /p:TonicPEL /v:$<span class="org-variable-name">computer</span>.esrf.fr > /tmp/freerdp_$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">computer</span><span class="org-rainbow-delimiters-depth-1">}</span>.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> & ;;
|
||||
|
||||
<span class="org-string">"WID21SPEEDGOAT1"</span>)
|
||||
xfreerdp $<span class="org-variable-name">proxy_arg</span> $<span class="org-variable-name">common_arg</span> /d:ESRF /u:opid21 /p:tonic21 /v:$<span class="org-variable-name">computer</span>.esrf.fr > /tmp/freerdp_$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">computer</span><span class="org-rainbow-delimiters-depth-1">}</span>.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> & ;;
|
||||
|
||||
<span class="org-string">"WBM23SPEEDGOAT1"</span>)
|
||||
xfreerdp $<span class="org-variable-name">proxy_arg</span> $<span class="org-variable-name">common_arg</span> /d:ESRF /u:opd23 /p:tonic23 /v:$<span class="org-variable-name">computer</span>.esrf.fr > /tmp/freerdp_$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">computer</span><span class="org-rainbow-delimiters-depth-1">}</span>.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> & ;;
|
||||
|
||||
<span class="org-string">"WID24SPEEDGOAT1"</span>)
|
||||
xfreerdp $<span class="org-variable-name">proxy_arg</span> $<span class="org-variable-name">common_arg</span> /d:ESRF /u:opid24 /p:tonic24 /v:$<span class="org-variable-name">computer</span>.esrf.fr > /tmp/freerdp_$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">computer</span><span class="org-rainbow-delimiters-depth-1">}</span>.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> & ;;
|
||||
|
||||
<span class="org-string">"LAPPAMU1"</span>)
|
||||
xfreerdp $<span class="org-variable-name">proxy_arg</span> $<span class="org-variable-name">common_arg</span> /d:ESRF /u:opid00 /p:tonic00 /v:$<span class="org-variable-name">computer</span>.esrf.fr > /tmp/freerdp_$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">computer</span><span class="org-rainbow-delimiters-depth-1">}</span>.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> & ;;
|
||||
|
||||
<span class="org-string">"Desktop-W10"</span>)
|
||||
xfreerdp $<span class="org-variable-name">proxy_arg</span> $<span class="org-variable-name">common_arg</span> /d:ESRF /u:thomas /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> windows/Desktop-W10 | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:192.168.1.72 > /tmp/freerdp_$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">computer</span><span class="org-rainbow-delimiters-depth-1">}</span>.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> & ;;
|
||||
|
||||
<span class="org-keyword">case</span> $<span class="org-variable-name">computer</span><span class="org-keyword"> in</span>
|
||||
PCMEL1)
|
||||
xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:PCMEL1.esrf.fr;
|
||||
;;
|
||||
PCMEG01)
|
||||
xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:PCMEG01.esrf.fr;
|
||||
;;
|
||||
PCNASS1)
|
||||
xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:PCNASS1.esrf.fr;
|
||||
;;
|
||||
RNICE)
|
||||
xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:rnice.esrf.fr;
|
||||
;;
|
||||
*)
|
||||
<span class="org-type">echo</span> <span class="org-string">"Not existing"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">89891</span> --urgency=critical <span class="org-string">'Rdesktop'</span> <span class="org-string">"No config for </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">computer</span></span><span class="org-string">"</span>;
|
||||
;;
|
||||
<span class="org-keyword">esac</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-print-rnice" class="outline-2">
|
||||
<h2 id="print-rnice"><code>print-rnice</code> - Print on Rnice</h2>
|
||||
<div class="outline-text-2" id="text-print-rnice">
|
||||
<div id="outline-container-orgbac0a18" class="outline-2">
|
||||
<h2 id="orgbac0a18"><code>mount-dir</code> - Mount/Unmout directories</h2>
|
||||
<div class="outline-text-2" id="text-orgbac0a18">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">nbpage</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'1\n2\n4'</span> | dmenu -p <span class="org-string">'Number of pages per sheet'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-variable-name">sides</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'one-sided\ntwo-sided-long-edge\ntwo-sided-short-edge'</span> | dmenu -p <span class="org-string">'Two Sided:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-variable-name">media</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'A4\nA3'</span> | dmenu -p <span class="org-string">'Size:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<pre class="src src-text"># <file system> <mount point> <type> <options> <dump> <pass>
|
||||
homelab:/srv/storage/ /home/thomas/mnt/homelab fuse.sshfs noauto,allow_other,user,default_permissions 0 0
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">First copy the file to Rnice</span>
|
||||
<span class="org-keyword">if</span> sshpass -p <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">pass</span><span class="org-string"><span class="org-sh-quoted-exec"> esrf.fr/dehaeze | sed -n 1p)</span></span><span class="org-string">"</span> scp $<span class="org-highlight-numbers-number">1</span> dehaeze@rnice:/home/esrf/dehaeze/Downloads/; <span class="org-keyword">then</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Then print on Rnice</span>
|
||||
sshpass -p <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">pass</span><span class="org-string"><span class="org-sh-quoted-exec"> esrf.fr/dehaeze | sed -n 1p)</span></span><span class="org-string">"</span> ssh dehaeze@rnice <span class="org-string">"lpr -o media=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">media</span></span><span class="org-string"> -o sides=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">sides</span></span><span class="org-string"> -o number-up=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">nbpage</span></span><span class="org-string"> -P ctb127c1w \"/home/esrf/dehaeze/Downloads/</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-comment-delimiter"># </span><span class="org-comment">Finally, delete the file</span>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-text"># <file system> <mount point> <type> <options> <dump> <pass>
|
||||
dehaeze@rnice:/tmp_14_days/ /home/thomas/mnt/tmp_14_days fuse.sshfs noauto,allow_other,user,default_permissions 0 0
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-text"># <file system> <mount point> <type> <options> <dump> <pass>
|
||||
dehaeze@rnice:/home/esrf/dehaeze/ /home/thomas/mnt/unix_home fuse.sshfs noauto,allow_other,user,default_permissions 0 0
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-text"># <file system> <mount point> <type> <options> <dump> <pass>
|
||||
//wfiles/groupshare /home/thomas/mnt/groupshare vsifs noauto,user,credentials=/home/thomas/.smbcredentials,uid=1001,gid=1001,forceuid,forcegid 0 0
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<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">#</span> -eq <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-variable-name">drive</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'monochromators\ntmp_14_days\nhomelab\ngroupshare\nunix_home\ndata_id21'</span> | rofi -dmenu -no-custom -p <span class="org-string">'Drive:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-keyword">else</span>
|
||||
<span class="org-type">echo</span> <span class="org-string">"Command Failed"</span>
|
||||
<span class="org-variable-name">drive</span>=$<span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-tmp14" class="outline-2">
|
||||
<h2 id="tmp14"><code>tmp14</code> - Mount/Umount tmp_14_days folder</h2>
|
||||
<div class="outline-text-2" id="text-tmp14">
|
||||
<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-highlight-numbers-number">1</span> == <span class="org-string">"mount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">if</span> sshfs -o allow_other,default_permissions -p <span class="org-highlight-numbers-number">5022</span> dehaeze@firewall.esrf.fr:/tmp_14_days/ ~/mnt/ESRF; <span class="org-keyword">then</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'ESRF TMP '</span> <span class="org-string">'Successfully mounted'</span>
|
||||
<span class="org-keyword">else</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'ESRF TMP '</span> <span class="org-string">'Error while mounted'</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"umount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">if</span> umount /home/thomas/mnt/ESRF/; <span class="org-keyword">then</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'ESRF TMP '</span> <span class="org-string">'Successfully unmounted'</span>
|
||||
<span class="org-keyword">else</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'ESRF TMP '</span> <span class="org-string">'Error while unmounted'</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-nas" class="outline-2">
|
||||
<h2 id="nas"><code>nas</code> - Interact with the NAS</h2>
|
||||
<div class="outline-text-2" id="text-nas">
|
||||
<p>
|
||||
As an alternative, <code>sshfs</code> can be used:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">sshfs -o allow_other,default_permissions nas:/Data ~/mnt/NAS
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<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-highlight-numbers-number">1</span> == <span class="org-string">"mount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">if</span> sshfs -o allow_other,default_permissions homelab:/srv/storage/ ~/mnt/NAS; <span class="org-keyword">then</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'NAS '</span> <span class="org-string">'Successfully mounted'</span>
|
||||
<span class="org-keyword">else</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'NAS '</span> <span class="org-string">'Error while mounted'</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"umount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">if</span> umount ~/mnt/NAS/; <span class="org-keyword">then</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'NAS '</span> <span class="org-string">'Successfully unmounted'</span>
|
||||
<span class="org-keyword">else</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'NAS '</span> <span class="org-string">'Error while unmounted'</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-torrent-add" class="outline-2">
|
||||
<h2 id="torrent-add"><code>torrent-add</code> - Download Torrent</h2>
|
||||
<div class="outline-text-2" id="text-torrent-add">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">transmission-remote <<get-password<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">passname</span>=<span class="org-string">"ip/homelab"</span><span class="org-rainbow-delimiters-depth-1">)</span>>>:9091 --auth tdehaeze:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> nas/transmission | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> -a $<span class="org-highlight-numbers-number">1</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">'Torrent'</span> <span class="org-string">'Successfully added'</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">'Torrent'</span> <span class="org-string">'Error'</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-dl-add" class="outline-2">
|
||||
<h2 id="dl-add"><code>dl-add</code> - Direct Download with Aria2</h2>
|
||||
<div class="outline-text-2" id="text-dl-add">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">aria2p --port <span class="org-highlight-numbers-number">6800</span> --host http://dl.tdehaeze.xyz --secret $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> dl.tdehaeze.xyz/tdehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> add $<span class="org-highlight-numbers-number">1</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-note-extract-fig" class="outline-2">
|
||||
<h2 id="note-extract-fig"><code>note-extract-fig</code> - Extract Figure from note file</h2>
|
||||
<div class="outline-text-2" id="text-note-extract-fig">
|
||||
<p>
|
||||
Script used to convert a figure drawn on my Boox note2 to a png file that can then be imported into a document.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">First check that the first argument is a pdf file</span>
|
||||
<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-variable-name">pngfile</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> $<span class="org-highlight-numbers-number">1</span> | cut -f <span class="org-highlight-numbers-number">1</span> -d <span class="org-string">'.'</span> | sed <span class="org-string">'s/$/.png/'</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Convert to png and crop png</span>
|
||||
pdf2png $<span class="org-highlight-numbers-number">1</span> && convert -trim <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">pngfile</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">pngfile</span></span><span class="org-string">"</span>
|
||||
<span class="org-keyword">if</span> <span class="org-type">grep</span> -qs <span class="org-string">"/home/thomas/mnt/</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string">"</span> /proc/mounts; <span class="org-keyword">then</span>
|
||||
umount <span class="org-string">"/home/thomas/mnt/</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string"> "</span> <span class="org-string">'Successfully unmounted'</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --urgency=critical <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string"> "</span> <span class="org-string">'Error while unmounted'</span>
|
||||
<span class="org-keyword">else</span>
|
||||
<span class="org-type">echo</span> <span class="org-string">"It's not mounted."</span>
|
||||
mount <span class="org-string">"/home/thomas/mnt/</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string"> "</span> <span class="org-string">'Successfully mounted'</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --urgency=critical <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">drive</span></span><span class="org-string"> "</span> <span class="org-string">'Error while mounted'</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -188,7 +206,11 @@ Script used to convert a figure drawn on my Boox note2 to a png file that can th
|
||||
<h2 id="screen-select"><code>screen-select</code> - Xrandr pre-defined scripts</h2>
|
||||
<div class="outline-text-2" id="text-screen-select">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">option</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"Work\nXPS\nHome"</span> | rofi -i -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-bash"><span class="org-variable-name">option</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"Work\nLaptop\nHome"</span> | rofi -dmenu -no-custom -p <span class="org-string">'Screen:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">option</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
|
||||
<span class="org-function-name">after_screen_change</span> <span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Fix background if screen size/arangement has changed.</span>
|
||||
@ -206,15 +228,15 @@ Script used to convert a figure drawn on my Boox note2 to a png file that can th
|
||||
|
||||
<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">option</span></span><span class="org-string">"</span><span class="org-keyword"> in</span>
|
||||
<span class="org-string">"Work"</span>)
|
||||
xrandr --output eDP1 --off --output DP1 --off --output DP2 --off --output DP2-1 --off --output VIRTUAL1 --off --output DP2-2 --primary --mode 2560x1440 --pos 0x0 --rotate normal && <span class="org-sh-escaped-newline">\</span>
|
||||
xrandr --output eDP-1 --off --output DP-3-2 --primary --mode 2560x1440 --pos 0x0 --rotate normal && <span class="org-sh-escaped-newline">\</span>
|
||||
after_screen_change
|
||||
;;
|
||||
<span class="org-string">"XPS"</span>)
|
||||
xrandr --output DP1 --off --output DP2 --off --output DP2-1 --off --output VIRTUAL1 --off --output DP2-2 --off --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal && <span class="org-sh-escaped-newline">\</span>
|
||||
<span class="org-string">"Laptop"</span>)
|
||||
xrandr --output DP-1-2 --off --output DP-3-2 --off --output eDP-1 --primary --mode 1920x1200 --pos 0x0 --rotate normal && <span class="org-sh-escaped-newline">\</span>
|
||||
after_screen_change
|
||||
;;
|
||||
<span class="org-string">"Home"</span>)
|
||||
xrandr --output eDP1 --off --output DP1 --off --output DP2 --off --output DP2-2 --off --output VIRTUAL1 --off --output DP2-1 --primary --mode 2560x1440 --pos 0x0 --rotate normal && <span class="org-sh-escaped-newline">\</span>
|
||||
xrandr --output eDP-1 --off --output DP-3-2 --primary --mode 2560x1440 --pos 0x0 --rotate normal && <span class="org-sh-escaped-newline">\</span>
|
||||
after_screen_change
|
||||
;;
|
||||
*)
|
||||
@ -228,11 +250,20 @@ Script used to convert a figure drawn on my Boox note2 to a png file that can th
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-color-picker" class="outline-2">
|
||||
<h2 id="color-picker"><code>color-picker</code> - Pick color and copy to clipboard</h2>
|
||||
<div class="outline-text-2" id="text-color-picker">
|
||||
<div id="outline-container-print-esrf" class="outline-2">
|
||||
<h2 id="print-esrf"><code>print-esrf</code> - Print on Rnice</h2>
|
||||
<div class="outline-text-2" id="text-print-esrf">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">xcolor | tr -d <span class="org-string">'\n'</span> | xsel -b
|
||||
<pre class="src src-bash"><span class="org-variable-name">nbpage</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'1\n2\n4'</span> | rofi -dmenu -no-custom -p <span class="org-string">'Number of pages per sheet'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-variable-name">sides</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'one-sided\ntwo-sided-long-edge\ntwo-sided-short-edge'</span> | rofi -dmenu -no-custom -p <span class="org-string">'Two Sided:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-variable-name">media</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'A4\nA3'</span> | rofi -dmenu -no-custom -p <span class="org-string">'Size:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-variable-name">printer</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'ctb127c1u\nctb110c1u'</span> | rofi -dmenu -no-custom -p <span class="org-string">'Size:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">nbpage</span></span><span class="org-string">"</span> || -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">side</span></span><span class="org-string">"</span> || -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">media</span></span><span class="org-string">"</span> || -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">printer</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
|
||||
lpr -o <span class="org-variable-name">media</span>=$<span class="org-variable-name">media</span> -o <span class="org-variable-name">sides</span>=$<span class="org-variable-name">sides</span> -o number-up=$<span class="org-variable-name">nbpage</span> -P $<span class="org-variable-name">printer</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>;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -265,10 +296,57 @@ List all <code>pdf</code> files and open selected one with zathura.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgad4e28d" class="outline-2">
|
||||
<h2 id="orgad4e28d"><code>qrdecode</code> - Decode QRcode by taking screenshot</h2>
|
||||
<div class="outline-text-2" id="text-orgad4e28d">
|
||||
<ul class="org-ul">
|
||||
<li><code>zbar-tools</code></li>
|
||||
<li><code>main</code></li>
|
||||
<li><code>xclip</code></li>
|
||||
<li><code>notify-send</code></li>
|
||||
</ul>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">image_file</span>=<span class="org-string">"/tmp/ocr.png"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Take screenshot by selecting the area</span>
|
||||
maim -s <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">image_file</span></span><span class="org-string">"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Get the exit code of the previous command.</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">So in this case, it is the screenshot command. If it did not exit with an</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">exit code 0, then it means the user canceled the process of taking a</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">screenshot by doing something like pressing the escape key</span>
|
||||
<span class="org-variable-name">status</span>=$<span class="org-variable-name">?</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">If the user pressed the escape key or did something to terminate the proccess</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">taking a screenshot, then just exit</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">status</span> -ne <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Use zbarimg to decode the text from the QR code</span>
|
||||
<span class="org-variable-name">decoded_text</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">zbarimg</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">image_file</span></span><span class="org-string">"</span> -q --raw<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">decoded_text</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
notify-send <span class="org-string">"qrshot"</span> <span class="org-string">"no text was detected"</span>
|
||||
<span class="org-type">rm</span> $<span class="org-variable-name">image_file</span> && <span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Copy text to clipboard</span>
|
||||
<span class="org-builtin">printf</span> %b <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">decoded_text</span></span><span class="org-string">"</span> | xclip -selection clip
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Let us know that something was decoded</span>
|
||||
notify-send <span class="org-string">"qrshot"</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">decoded_text</span></span><span class="org-string">"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Cleaning up the trash that was left behind</span>
|
||||
<span class="org-type">rm</span> $<span class="org-variable-name">image_file</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>BSPWM</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,24 +16,24 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">BSPWM</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org7da674a">List Desktops</a></li>
|
||||
<li><a href="#org0c8adac">Basic Config</a></li>
|
||||
<li><a href="#org90ada71">Colors</a></li>
|
||||
<li><a href="#org7c7bf9b">Rules</a></li>
|
||||
<li><a href="#org0d9bead">Run Polybar and SXHKD</a></li>
|
||||
<li><a href="#org8e5f34e">List Desktops</a></li>
|
||||
<li><a href="#orgcdb4dc8">Basic Config</a></li>
|
||||
<li><a href="#org893011c">Colors</a></li>
|
||||
<li><a href="#org8d80f07">Rules</a></li>
|
||||
<li><a href="#org7ea5517">Run Polybar and SXHKD</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7da674a" class="outline-2">
|
||||
<h2 id="org7da674a">List Desktops</h2>
|
||||
<div class="outline-text-2" id="text-org7da674a">
|
||||
<div id="outline-container-org8e5f34e" class="outline-2">
|
||||
<h2 id="org8e5f34e">List Desktops</h2>
|
||||
<div class="outline-text-2" id="text-org8e5f34e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">bspc monitor -d code web mail misc figs
|
||||
</pre>
|
||||
@ -41,9 +41,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0c8adac" class="outline-2">
|
||||
<h2 id="org0c8adac">Basic Config</h2>
|
||||
<div class="outline-text-2" id="text-org0c8adac">
|
||||
<div id="outline-container-orgcdb4dc8" class="outline-2">
|
||||
<h2 id="orgcdb4dc8">Basic Config</h2>
|
||||
<div class="outline-text-2" id="text-orgcdb4dc8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">bspc config border_width <span class="org-highlight-numbers-number">1</span>
|
||||
bspc config window_gap <span class="org-highlight-numbers-number">8</span>
|
||||
@ -59,9 +59,9 @@ bspc config focus_follows_pointer true
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org90ada71" class="outline-2">
|
||||
<h2 id="org90ada71">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org90ada71">
|
||||
<div id="outline-container-org893011c" class="outline-2">
|
||||
<h2 id="org893011c">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org893011c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">bspc config normal_border_color <span class="org-string">\#</span>32302f
|
||||
bspc config focused_border_color <span class="org-string">\#</span>bdae93
|
||||
@ -70,9 +70,9 @@ bspc config focused_border_color <span class="org-string">\#</span>bdae93
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7c7bf9b" class="outline-2">
|
||||
<h2 id="org7c7bf9b">Rules</h2>
|
||||
<div class="outline-text-2" id="text-org7c7bf9b">
|
||||
<div id="outline-container-org8d80f07" class="outline-2">
|
||||
<h2 id="org8d80f07">Rules</h2>
|
||||
<div class="outline-text-2" id="text-org8d80f07">
|
||||
<p>
|
||||
Use <code>xprop</code> to obtain information about the window.
|
||||
</p>
|
||||
@ -93,9 +93,9 @@ bspc rule --add Blueman-manager <span class="org-variable-name">state</span>=flo
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0d9bead" class="outline-2">
|
||||
<h2 id="org0d9bead">Run Polybar and SXHKD</h2>
|
||||
<div class="outline-text-2" id="text-org0d9bead">
|
||||
<div id="outline-container-org7ea5517" class="outline-2">
|
||||
<h2 id="org7ea5517">Run Polybar and SXHKD</h2>
|
||||
<div class="outline-text-2" id="text-org7ea5517">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">polybar top >>/tmp/polybar.log <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> &
|
||||
sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc.bspwm &
|
||||
@ -106,7 +106,7 @@ sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Calendar and Contact Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,17 +22,17 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org66320d0"><code>vdirsyncer</code> - Synchronize calendars and contacts</a></li>
|
||||
<li><a href="#org2ee9696"><code>khal</code> - CLI calendar application</a></li>
|
||||
<li><a href="#orgfea864c"><code>khard</code> - CLI contact application</a></li>
|
||||
<li><a href="#orge53976d"><code>vdirsyncer</code> - Synchronize calendars and contacts</a></li>
|
||||
<li><a href="#orgfdca9d4"><code>khal</code> - CLI calendar application</a></li>
|
||||
<li><a href="#org8708dbd"><code>khard</code> - CLI contact application</a></li>
|
||||
<li><a href="#ics-add"><code>ics-add</code> - Add ICS file to Khal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org66320d0" class="outline-2">
|
||||
<h2 id="org66320d0"><code>vdirsyncer</code> - Synchronize calendars and contacts</h2>
|
||||
<div class="outline-text-2" id="text-org66320d0">
|
||||
<div id="outline-container-orge53976d" class="outline-2">
|
||||
<h2 id="orge53976d"><code>vdirsyncer</code> - Synchronize calendars and contacts</h2>
|
||||
<div class="outline-text-2" id="text-orge53976d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">general</span>]
|
||||
<span class="org-variable-name">status_path</span> = <span class="org-string">"~/.config/vdirsyncer/status/"</span>
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="org-variable-name">type</span> = <span class="org-string">"caldav"</span>
|
||||
<span class="org-variable-name">url</span> = <span class="org-string">"https://radicale.tdehaeze.xyz/tdehaeze/"</span>
|
||||
<span class="org-variable-name">username</span> = <span class="org-string">"tdehaeze"</span>
|
||||
<span class="org-variable-name">password</span> = <span class="org-string">"<<get-password(passname='radicale.tdehaeze.xyz/tdehaeze')>>"</span>
|
||||
<span class="org-variable-name">password.fetch</span> = [<span class="org-string">"command"</span>, <span class="org-string">"get-pass"</span>, <span class="org-string">"radicale.tdehaeze.xyz/tdehaeze"</span>]
|
||||
|
||||
[<span class="org-type">storage radicale_calendar_local</span>]
|
||||
<span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span>
|
||||
@ -64,7 +64,7 @@
|
||||
<span class="org-variable-name">type</span> = <span class="org-string">"caldav"</span>
|
||||
<span class="org-variable-name">url</span> = <span class="org-string">"https://calendar.esrf.fr/egroupware/groupdav.php/calendar"</span>
|
||||
<span class="org-variable-name">username</span> = <span class="org-string">"dehaeze"</span>
|
||||
<span class="org-variable-name">password</span> = <span class="org-string">"<<get-password(passname='esrf.fr/dehaeze')>>"</span>
|
||||
<span class="org-variable-name">password.fetch</span> = [<span class="org-string">"command"</span>, <span class="org-string">"get-pass"</span>, <span class="org-string">"esrf.fr/dehaeze"</span>]
|
||||
|
||||
[<span class="org-type">storage esrf_calendar_local</span>]
|
||||
<span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span>
|
||||
@ -86,15 +86,15 @@
|
||||
<span class="org-variable-name">type</span> = <span class="org-string">"carddav"</span>
|
||||
<span class="org-variable-name">url</span> = <span class="org-string">"https://radicale.tdehaeze.xyz/tdehaeze/"</span>
|
||||
<span class="org-variable-name">username</span> = <span class="org-string">"tdehaeze"</span>
|
||||
<span class="org-variable-name">password</span> = <span class="org-string">"<<get-password(passname='radicale.tdehaeze.xyz/tdehaeze')>>"</span>
|
||||
<span class="org-variable-name">password.fetch</span> = [<span class="org-string">"command"</span>, <span class="org-string">"get-pass"</span>, <span class="org-string">"radicale.tdehaeze.xyz/tdehaeze"</span>]
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2ee9696" class="outline-2">
|
||||
<h2 id="org2ee9696"><code>khal</code> - CLI calendar application</h2>
|
||||
<div class="outline-text-2" id="text-org2ee9696">
|
||||
<div id="outline-container-orgfdca9d4" class="outline-2">
|
||||
<h2 id="orgfdca9d4"><code>khal</code> - CLI calendar application</h2>
|
||||
<div class="outline-text-2" id="text-orgfdca9d4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">calendars</span>]
|
||||
|
||||
@ -139,9 +139,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfea864c" class="outline-2">
|
||||
<h2 id="orgfea864c"><code>khard</code> - CLI contact application</h2>
|
||||
<div class="outline-text-2" id="text-orgfea864c">
|
||||
<div id="outline-container-org8708dbd" class="outline-2">
|
||||
<h2 id="org8708dbd"><code>khard</code> - CLI contact application</h2>
|
||||
<div class="outline-text-2" id="text-org8708dbd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">addressbooks</span>]
|
||||
[<span class="org-type">[contacts]</span>]
|
||||
@ -163,7 +163,7 @@
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">append nicknames to name column: yes / no</span>
|
||||
<span class="org-variable-name">show_nicknames</span> = no
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">show uid table column: yes / no</span>
|
||||
<span class="org-variable-name">show_uids</span> = yes
|
||||
<span class="org-variable-name">show_uids</span> = no
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">sort by first or last name: first_name / last_name</span>
|
||||
<span class="org-variable-name">sort</span> = last_name
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">localize dates: yes / no</span>
|
||||
@ -207,15 +207,15 @@ To share an event by email, the currently best way to proceed is to first find t
|
||||
|
||||
<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-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-variable-name">resp</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"yes\nno"</span> | rofi -i -only-match -dmenu -p <span class="org-string">"Would you like to add the event:"</span> -mesg <span class="org-string">"`khal printics </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"> | tail -n +2`"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-variable-name">resp</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"yes\nno"</span> | rofi -i -only-match -dmenu -p <span class="org-string">"Would you like to add the event:"</span> -mesg <span class="org-string">"`khal printics \"</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">\" | tail -n +2`"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">resp</span></span><span class="org-string">"</span> == <span class="org-string">"yes"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-variable-name">calendar</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"`khal printcalendars`"</span> | rofi -i -only-match -dmenu -p <span class="org-string">"Save to:"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">calendar</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">exit</span>;
|
||||
<span class="org-keyword">fi</span>
|
||||
khal import -a <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">calendar</span></span><span class="org-string">"</span> --batch $<span class="org-highlight-numbers-number">1</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Calendar"</span> <span class="org-string">"Even added"</span>;
|
||||
khal import -a <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">calendar</span></span><span class="org-string">"</span> --batch <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-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:fJeNG8gc <span class="org-string">"Calendar"</span> <span class="org-string">"Even added"</span>;
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
@ -225,7 +225,7 @@ To share an event by email, the currently best way to proceed is to first find t
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Picom (Compositor)</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,24 +16,24 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Picom (Compositor)</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org202e265">Shadow</a></li>
|
||||
<li><a href="#org149e065">Opacity</a></li>
|
||||
<li><a href="#org7f92cb7">Fading</a></li>
|
||||
<li><a href="#orgc741707">Other</a></li>
|
||||
<li><a href="#org76e2225">Window Type Setting</a></li>
|
||||
<li><a href="#orgb653834">Shadow</a></li>
|
||||
<li><a href="#orgbd37c1f">Opacity</a></li>
|
||||
<li><a href="#orgd8d3c1a">Fading</a></li>
|
||||
<li><a href="#org93418fb">Other</a></li>
|
||||
<li><a href="#org6b4cb49">Window Type Setting</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org202e265" class="outline-2">
|
||||
<h2 id="org202e265">Shadow</h2>
|
||||
<div class="outline-text-2" id="text-org202e265">
|
||||
<div id="outline-container-orgb653834" class="outline-2">
|
||||
<h2 id="orgb653834">Shadow</h2>
|
||||
<div class="outline-text-2" id="text-orgb653834">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">shadow</span> = true;
|
||||
<span class="org-variable-name">shadow-radius</span> = <span class="org-highlight-numbers-number">12</span>;
|
||||
@ -53,9 +53,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org149e065" class="outline-2">
|
||||
<h2 id="org149e065">Opacity</h2>
|
||||
<div class="outline-text-2" id="text-org149e065">
|
||||
<div id="outline-container-orgbd37c1f" class="outline-2">
|
||||
<h2 id="orgbd37c1f">Opacity</h2>
|
||||
<div class="outline-text-2" id="text-orgbd37c1f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">inactive-opacity</span> = <span class="org-highlight-numbers-number">1.0</span>;
|
||||
<span class="org-variable-name">frame-opacity</span> = <span class="org-highlight-numbers-number">1.0</span>;
|
||||
@ -65,9 +65,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7f92cb7" class="outline-2">
|
||||
<h2 id="org7f92cb7">Fading</h2>
|
||||
<div class="outline-text-2" id="text-org7f92cb7">
|
||||
<div id="outline-container-orgd8d3c1a" class="outline-2">
|
||||
<h2 id="orgd8d3c1a">Fading</h2>
|
||||
<div class="outline-text-2" id="text-orgd8d3c1a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">fading</span> = false;
|
||||
<span class="org-variable-name">fade-in-step</span> = <span class="org-highlight-numbers-number">0.03</span>;
|
||||
@ -77,9 +77,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc741707" class="outline-2">
|
||||
<h2 id="orgc741707">Other</h2>
|
||||
<div class="outline-text-2" id="text-orgc741707">
|
||||
<div id="outline-container-org93418fb" class="outline-2">
|
||||
<h2 id="org93418fb">Other</h2>
|
||||
<div class="outline-text-2" id="text-org93418fb">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">backend</span> = <span class="org-string">"xrender"</span>;
|
||||
<span class="org-variable-name">mark-wmwin-focused</span> = true;
|
||||
@ -92,9 +92,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org76e2225" class="outline-2">
|
||||
<h2 id="org76e2225">Window Type Setting</h2>
|
||||
<div class="outline-text-2" id="text-org76e2225">
|
||||
<div id="outline-container-org6b4cb49" class="outline-2">
|
||||
<h2 id="org6b4cb49">Window Type Setting</h2>
|
||||
<div class="outline-text-2" id="text-org6b4cb49">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">wintypes:
|
||||
{
|
||||
@ -109,7 +109,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
189
docs/config.html
189
docs/config.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Configuration Files</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,55 +22,63 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org3f17b04">SSH</a></li>
|
||||
<li><a href="#org10b81df">Font</a></li>
|
||||
<li><a href="#orge8ba5b4">GnuPG</a></li>
|
||||
<li><a href="#org3a8118a">Redshift</a></li>
|
||||
<li><a href="#org91a7258">dmenu</a></li>
|
||||
<li><a href="#orge5eb33f">Locale</a></li>
|
||||
<li><a href="#org3fdda80">Xcompose</a></li>
|
||||
<li><a href="#org33bbfc0">Netrc</a></li>
|
||||
<li><a href="#orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</a></li>
|
||||
<li><a href="#org0433d6b">SSH</a></li>
|
||||
<li><a href="#org8b04aa6">Font</a></li>
|
||||
<li><a href="#orgd9f57f2">GnuPG</a></li>
|
||||
<li><a href="#org1f0a65c">Redshift</a></li>
|
||||
<li><a href="#orgf7dd0c5">dmenu</a></li>
|
||||
<li><a href="#org3015b54">Locale</a></li>
|
||||
<li><a href="#org99752ec">Xcompose</a></li>
|
||||
<li><a href="#org60fea34">Netrc</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3f17b04" class="outline-2">
|
||||
<h2 id="org3f17b04">SSH</h2>
|
||||
<div class="outline-text-2" id="text-org3f17b04">
|
||||
<div id="outline-container-org0433d6b" class="outline-2">
|
||||
<h2 id="org0433d6b">SSH</h2>
|
||||
<div class="outline-text-2" id="text-org0433d6b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">AddKeysToAgent yes
|
||||
|
||||
Host *
|
||||
ControlMaster auto
|
||||
ControlPath ~/.ssh/master-%r@%h:%p.socket
|
||||
|
||||
Host homelab
|
||||
<span class="org-variable-name">hostname <<get-password(passname</span>=<span class="org-string">"ip/homelab"</span>)>>
|
||||
Port <span class="org-highlight-numbers-number">22</span>
|
||||
user thomas
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
|
||||
Host router
|
||||
hostname 192.168.1.1
|
||||
Port <span class="org-highlight-numbers-number">22</span>
|
||||
user root
|
||||
Host *.esrf.fr
|
||||
User dehaeze
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
|
||||
Host smarttv
|
||||
hostname 192.168.1.73
|
||||
Port <span class="org-highlight-numbers-number">22</span>
|
||||
user thomas
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
Host firewall.esrf.fr
|
||||
Port <span class="org-highlight-numbers-number">5022</span>
|
||||
Compression yes
|
||||
|
||||
Host oneplus
|
||||
hostname 192.168.1.101
|
||||
Port <span class="org-highlight-numbers-number">8022</span>
|
||||
Match host *.esrf.fr !host firewall.esrf.fr !exec <span class="org-string">"~/.ssh/esrf-test"</span>
|
||||
ProxyJump firewall.esrf.fr
|
||||
|
||||
|
||||
Host rnice
|
||||
Port <span class="org-highlight-numbers-number">22</span>
|
||||
user dehaeze
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">test</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">timeout</span><span class="org-string"><span class="org-sh-quoted-exec"> 1s dig +short proxy.esrf.fr.)</span></span><span class="org-string">"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org10b81df" class="outline-2">
|
||||
<h2 id="org10b81df">Font</h2>
|
||||
<div class="outline-text-2" id="text-org10b81df">
|
||||
<div id="outline-container-org8b04aa6" class="outline-2">
|
||||
<h2 id="org8b04aa6">Font</h2>
|
||||
<div class="outline-text-2" id="text-org8b04aa6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name"><?xml version</span>=<span class="org-string">'1.0'</span>?>
|
||||
<!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>>
|
||||
@ -99,9 +107,9 @@ Host oneplus
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge8ba5b4" class="outline-2">
|
||||
<h2 id="orge8ba5b4">GnuPG</h2>
|
||||
<div class="outline-text-2" id="text-orge8ba5b4">
|
||||
<div id="outline-container-orgd9f57f2" class="outline-2">
|
||||
<h2 id="orgd9f57f2">GnuPG</h2>
|
||||
<div class="outline-text-2" id="text-orgd9f57f2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
@ -110,9 +118,9 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3a8118a" class="outline-2">
|
||||
<h2 id="org3a8118a">Redshift</h2>
|
||||
<div class="outline-text-2" id="text-org3a8118a">
|
||||
<div id="outline-container-org1f0a65c" class="outline-2">
|
||||
<h2 id="org1f0a65c">Redshift</h2>
|
||||
<div class="outline-text-2" id="text-org1f0a65c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">redshift</span>]
|
||||
<span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span>
|
||||
@ -135,9 +143,9 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org91a7258" class="outline-2">
|
||||
<h2 id="org91a7258">dmenu</h2>
|
||||
<div class="outline-text-2" id="text-org91a7258">
|
||||
<div id="outline-container-orgf7dd0c5" class="outline-2">
|
||||
<h2 id="orgf7dd0c5">dmenu</h2>
|
||||
<div class="outline-text-2" id="text-orgf7dd0c5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">define the font for dmenu to be used</span>
|
||||
<span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span>
|
||||
@ -164,9 +172,9 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge5eb33f" class="outline-2">
|
||||
<h2 id="orge5eb33f">Locale</h2>
|
||||
<div class="outline-text-2" id="text-orge5eb33f">
|
||||
<div id="outline-container-org3015b54" class="outline-2">
|
||||
<h2 id="org3015b54">Locale</h2>
|
||||
<div class="outline-text-2" id="text-org3015b54">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">LANG</span>=en_US.UTF-8
|
||||
<span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span>
|
||||
@ -187,9 +195,9 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3fdda80" class="outline-2">
|
||||
<h2 id="org3fdda80">Xcompose</h2>
|
||||
<div class="outline-text-2" id="text-org3fdda80">
|
||||
<div id="outline-container-org99752ec" class="outline-2">
|
||||
<h2 id="org99752ec">Xcompose</h2>
|
||||
<div class="outline-text-2" id="text-org99752ec">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">include <span class="org-string">"/usr/share/X11/locale/en_US.UTF-8/Compose"</span>
|
||||
|
||||
@ -755,102 +763,17 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33bbfc0" class="outline-2">
|
||||
<h2 id="org33bbfc0">Netrc</h2>
|
||||
<div class="outline-text-2" id="text-org33bbfc0">
|
||||
<div id="outline-container-org60fea34" class="outline-2">
|
||||
<h2 id="org60fea34">Netrc</h2>
|
||||
<div class="outline-text-2" id="text-org60fea34">
|
||||
<p>
|
||||
It is very important that <code>~/.netrc</code> as <code>600</code> permissions.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">machine traefik.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"traefik.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine portainer.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"portainer.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine cloud.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"cloud.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine syncthing.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"syncthing.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine torrent.tdehaeze.xyz
|
||||
<pre class="src src-conf">machine torrent.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"nas/transmission"</span>)>>
|
||||
|
||||
machine dl.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"dl.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine deemix.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"deemix.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine octoprint.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"octoprint.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine adguardhome.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"adguardhome.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine qobuz.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"qobuz.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine down.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"down.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine joal.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"joal.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd31ca2a" class="outline-2">
|
||||
<h2 id="orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</h2>
|
||||
<div class="outline-text-2" id="text-orgd31ca2a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-type">_rofi ()</span> {
|
||||
rofi -dmenu -i -no-levenshtein-sort -width <span class="org-highlight-numbers-number">1000</span> <span class="org-string">"$@"</span>
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Display settings
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">display_type</span>=<span class="org-highlight-numbers-number">1</span>
|
||||
<span class="org-variable-name">max_str_width</span>=<span class="org-highlight-numbers-number">80</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Keybindings
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">switch_view</span>=<span class="org-string">"Alt+Tab"</span>
|
||||
<span class="org-variable-name">new_bookmark</span>=<span class="org-string">"Alt+n"</span>
|
||||
<span class="org-variable-name">actions</span>=<span class="org-string">"Alt+a"</span>
|
||||
<span class="org-variable-name">edit</span>=<span class="org-string">"Alt+e"</span>
|
||||
<span class="org-variable-name">delete</span>=<span class="org-string">"Alt+d"</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Colors
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">help_color</span>=<span class="org-string">"#2d7ed8"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -858,7 +781,7 @@ Colors
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-04-25 dim. 19:09 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Data</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,11 +16,11 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Data</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#nerd-fonts">Nerd Fonts</a></li>
|
||||
<li><a href="#emojis">Emojis</a></li>
|
||||
@ -5190,7 +5190,7 @@ United_Kingdom
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-04-25 dim. 19:09</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
1640
docs/doom.html
1640
docs/doom.html
File diff suppressed because it is too large
Load Diff
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:32 -->
|
||||
<!-- 2022-05-09 lun. 10:03 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>My Own Library of Babel</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,41 +16,41 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">My Own Library of Babel</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org6748865"><code>get-password</code> - Get Password from <code>pass</code></a></li>
|
||||
<li><a href="#orga14277a"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</a></li>
|
||||
<li><a href="#orgca0df99"><code>addhdr</code> - Add hline to tables</a></li>
|
||||
<li><a href="#org7f58498">Matlab Related</a>
|
||||
<li><a href="#org4c8de99"><code>get-password</code> - Get Password from <code>pass</code></a></li>
|
||||
<li><a href="#orgd04da5b"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</a></li>
|
||||
<li><a href="#orgb8cb0ee"><code>addhdr</code> - Add hline to tables</a></li>
|
||||
<li><a href="#org32fd97f">Matlab Related</a>
|
||||
<ul>
|
||||
<li><a href="#org0dc80bc"><code>matlab-dir</code> Go to current directory</a></li>
|
||||
<li><a href="#orge3957c3"><code>matlab-init</code> Initialize matlab</a></li>
|
||||
<li><a href="#orgcdf63af"><code>plt-matlab</code> Plot figures</a></li>
|
||||
<li><a href="#org8fc7ec9"><code>matlab-dir</code> Go to current directory</a></li>
|
||||
<li><a href="#orgda6ccb7"><code>matlab-init</code> Initialize matlab</a></li>
|
||||
<li><a href="#org2edb374"><code>plt-matlab</code> Plot figures</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6748865" class="outline-2">
|
||||
<h2 id="org6748865"><code>get-password</code> - Get Password from <code>pass</code></h2>
|
||||
<div class="outline-text-2" id="text-org6748865">
|
||||
<div id="outline-container-org4c8de99" class="outline-2">
|
||||
<h2 id="org4c8de99"><code>get-password</code> - Get Password from <code>pass</code></h2>
|
||||
<div class="outline-text-2" id="text-org4c8de99">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash" id="org907ee3f">pass $<span class="org-variable-name">passname</span> | sed -n 1p
|
||||
<pre class="src src-bash" id="org84868f7">pass $<span class="org-variable-name">passname</span> | sed -n 1p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga14277a" class="outline-2">
|
||||
<h2 id="orga14277a"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</h2>
|
||||
<div class="outline-text-2" id="text-orga14277a">
|
||||
<div id="outline-container-orgd04da5b" class="outline-2">
|
||||
<h2 id="orgd04da5b"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</h2>
|
||||
<div class="outline-text-2" id="text-orgd04da5b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-sh" id="org9f7b2d6"><span class="org-variable-name">_mydir</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">pwd</span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">"</span>;
|
||||
<pre class="src src-sh" id="org2c8b571"><span class="org-variable-name">_mydir</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">pwd</span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">"</span>;
|
||||
<span class="org-variable-name">file</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">file</span></span><span class="org-string">"</span> | cut -f 2- -d <span class="org-string">':'</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-variable-name">_figdir</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">dirname</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">file</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span>;
|
||||
<span class="org-type">cd</span> $<span class="org-variable-name">_figdir</span>;
|
||||
@ -64,31 +64,31 @@ pdftocairo -svg <span class="org-string">"</span><span class="org-string"><span
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgca0df99" class="outline-2">
|
||||
<h2 id="orgca0df99"><code>addhdr</code> - Add hline to tables</h2>
|
||||
<div class="outline-text-2" id="text-orgca0df99">
|
||||
<div id="outline-container-orgb8cb0ee" class="outline-2">
|
||||
<h2 id="orgb8cb0ee"><code>addhdr</code> - Add hline to tables</h2>
|
||||
<div class="outline-text-2" id="text-orgb8cb0ee">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp" id="orgc589733"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">cons</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">car</span> tbl<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">cons</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">hline</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">cdr</span> tbl<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-emacs-lisp" id="org177ceae"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">cons</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">car</span> tbl<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">cons</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">hline</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">cdr</span> tbl<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7f58498" class="outline-2">
|
||||
<h2 id="org7f58498">Matlab Related</h2>
|
||||
<div class="outline-text-2" id="text-org7f58498">
|
||||
<div id="outline-container-org32fd97f" class="outline-2">
|
||||
<h2 id="org32fd97f">Matlab Related</h2>
|
||||
<div class="outline-text-2" id="text-org32fd97f">
|
||||
</div>
|
||||
<div id="outline-container-org0dc80bc" class="outline-3">
|
||||
<h3 id="org0dc80bc"><code>matlab-dir</code> Go to current directory</h3>
|
||||
<div id="outline-container-org8fc7ec9" class="outline-3">
|
||||
<h3 id="org8fc7ec9"><code>matlab-dir</code> Go to current directory</h3>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge3957c3" class="outline-3">
|
||||
<h3 id="orge3957c3"><code>matlab-init</code> Initialize matlab</h3>
|
||||
<div id="outline-container-orgda6ccb7" class="outline-3">
|
||||
<h3 id="orgda6ccb7"><code>matlab-init</code> Initialize matlab</h3>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcdf63af" class="outline-3">
|
||||
<h3 id="orgcdf63af"><code>plt-matlab</code> Plot figures</h3>
|
||||
<div class="outline-text-3" id="text-orgcdf63af">
|
||||
<div id="outline-container-org2edb374" class="outline-3">
|
||||
<h3 id="org2edb374"><code>plt-matlab</code> Plot figures</h3>
|
||||
<div class="outline-text-3" id="text-org2edb374">
|
||||
<p>
|
||||
Some variable can be set by block that expands this org source code block:
|
||||
</p>
|
||||
@ -98,15 +98,15 @@ Some variable can be set by block that expands this org source code block:
|
||||
</ul>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab" id="org7fa148b"><span class="org-keyword">if</span> <span class="org-type">~</span>exist(<span class="org-string">'filepath'</span>) <span class="org-type">||</span> length(filepath) <span class="org-type"><</span> 2
|
||||
symbols = [<span class="org-string">'a'</span><span class="org-type">:</span><span class="org-string">'z'</span> <span class="org-string">'A'</span><span class="org-type">:</span><span class="org-string">'Z'</span> <span class="org-string">'0'</span><span class="org-type">:</span><span class="org-string">'9'</span>];
|
||||
<pre class="src src-matlab" id="org3b664c2"><span class="org-keyword">if</span> <span class="org-builtin">~</span>exist(<span class="org-string">'filepath'</span>) <span class="org-builtin">||</span> length(filepath) <span class="org-builtin"><</span> 2
|
||||
symbols = [<span class="org-string">'a'</span><span class="org-builtin">:</span><span class="org-string">'z'</span> <span class="org-string">'A'</span><span class="org-builtin">:</span><span class="org-string">'Z'</span> <span class="org-string">'0'</span><span class="org-builtin">:</span><span class="org-string">'9'</span>];
|
||||
random_string = symbols(randi(numel(symbols),[1 5]));
|
||||
filepath = [<span class="org-string">'/tmp/matlab-fig-'</span>, random_string];
|
||||
<span class="org-keyword">end</span>
|
||||
|
||||
size_strings = strsplit(figsize, <span class="org-string">'-'</span>);
|
||||
|
||||
<span class="org-constant">ans</span> = exportFig(filepath, <span class="org-string">'width'</span>, size_strings{1}, <span class="org-string">'height'</span>, size_strings{2});
|
||||
<span class="org-matlab-math">ans</span> = exportFig(filepath, <span class="org-string">'width'</span>, size_strings{1}, <span class="org-string">'height'</span>, size_strings{2});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -115,7 +115,7 @@ size_strings = strsplit(figsize, <span class="org-string">'-'</span>);
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:32</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:03</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Doom Emacs Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,75 +22,84 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orga3bc01e">LaTeX</a>
|
||||
<li><a href="#orgffeab79">LaTeX</a>
|
||||
<ul>
|
||||
<li><a href="#org50ac3ef">Coordinate</a></li>
|
||||
<li><a href="#org8ca867b">Draw</a></li>
|
||||
<li><a href="#orgd5ec64e">Node</a></li>
|
||||
<li><a href="#orgd2a36e9">Path</a></li>
|
||||
<li><a href="#org2042489">Coordinate</a></li>
|
||||
<li><a href="#orgb3a66f3">Draw</a></li>
|
||||
<li><a href="#org411e901">Node</a></li>
|
||||
<li><a href="#org22d90dd">Path</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5abed78">Matlab</a>
|
||||
<li><a href="#orgc2b2292">Matlab</a>
|
||||
<ul>
|
||||
<li><a href="#org6bd1003">Clear</a></li>
|
||||
<li><a href="#orgc90b35e">Function</a></li>
|
||||
<li><a href="#orgd3eeea7">Clear</a></li>
|
||||
<li><a href="#org0dcc39a">Function</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org4a9de72">Org Mode</a>
|
||||
<li><a href="#org918a738">Org Mode</a>
|
||||
<ul>
|
||||
<li><a href="#org7220f49">Begin</a></li>
|
||||
<li><a href="#orgde0f79b">Caption</a></li>
|
||||
<li><a href="#org7942249">Block</a></li>
|
||||
<li><a href="#org0dd9c10">Custom Box</a></li>
|
||||
<li><a href="#org3c7a0a0">Latex Class</a></li>
|
||||
<li><a href="#orgf59b249">Bibliography with completion</a></li>
|
||||
<li><a href="#orgd88407c">Cite</a></li>
|
||||
<li><a href="#orgb1f5cdc">Ref</a></li>
|
||||
<li><a href="#org8b9dce1">Beamer - CBOX</a></li>
|
||||
<li><a href="#org68eb2b6">HTML Details</a></li>
|
||||
<li><a href="#orgc76873e">Code</a></li>
|
||||
<li><a href="#orgf39e79c">Equation</a></li>
|
||||
<li><a href="#orge17a1a2">Figure</a></li>
|
||||
<li><a href="#org1ddfd44">Frac</a></li>
|
||||
<li><a href="#org400ff8e">Left</a></li>
|
||||
<li><a href="#org234e84f">Minipage</a></li>
|
||||
<li><a href="#orgb7becfc">Minipage Figures</a></li>
|
||||
<li><a href="#org630b3de">Wrap Figure</a></li>
|
||||
<li><a href="#org8aa2d33">Multicolumn</a></li>
|
||||
<li><a href="#orgb5c8c67">Subfigure</a></li>
|
||||
<li><a href="#orga9aa801">Table</a></li>
|
||||
<li><a href="#org2604457">Tikz</a></li>
|
||||
<li><a href="#orgf6eeddb">Tikzfig</a></li>
|
||||
<li><a href="#orgba1d993">Tikzheader</a></li>
|
||||
<li><a href="#org040faef">User-config</a></li>
|
||||
<li><a href="#org349c757">User-init</a></li>
|
||||
<li><a href="#org951f3c0">Wrap</a></li>
|
||||
<li><a href="#orgbd116e3">Matlab Specific</a>
|
||||
<li><a href="#org9133b41">Begin</a></li>
|
||||
<li><a href="#orga88a23c">Caption</a></li>
|
||||
<li><a href="#org6b93a9b">Block</a></li>
|
||||
<li><a href="#org2a73292">Custom Box</a></li>
|
||||
<li><a href="#orgff8d2f2">Latex Class</a></li>
|
||||
<li><a href="#org1c2c726">Bibliography with completion</a></li>
|
||||
<li><a href="#org7f5c530">Cite</a></li>
|
||||
<li><a href="#org37c96e4">Ref</a></li>
|
||||
<li><a href="#org024ab1b">Beamer - CBOX</a></li>
|
||||
<li><a href="#org678a86c">HTML Details</a></li>
|
||||
<li><a href="#orgcebff18">Code</a></li>
|
||||
<li><a href="#org24aec6b">Equation</a></li>
|
||||
<li><a href="#orga61bef4">Figure</a></li>
|
||||
<li><a href="#org38db305">Frac</a></li>
|
||||
<li><a href="#orge40e702">Left</a></li>
|
||||
<li><a href="#org7e0fa73">Minipage</a></li>
|
||||
<li><a href="#org1329a6b">Minipage Figures</a></li>
|
||||
<li><a href="#orgc4b2d7b">Wrap Figure</a></li>
|
||||
<li><a href="#orgd73f8fd">Multicolumn</a></li>
|
||||
<li><a href="#orgc01c0a5">Subfigure</a></li>
|
||||
<li><a href="#org972c5ee">Table</a></li>
|
||||
<li><a href="#org9d47055">Tikz</a></li>
|
||||
<li><a href="#org6740e67">Tikzfig</a></li>
|
||||
<li><a href="#orgd78a868">Tikzheader</a></li>
|
||||
<li><a href="#org7350df7">User-config</a></li>
|
||||
<li><a href="#org56534d3">User-init</a></li>
|
||||
<li><a href="#org349e863">Wrap</a></li>
|
||||
<li><a href="#org74e5a20">Python Specific</a>
|
||||
<ul>
|
||||
<li><a href="#orge0eecad">Mconfig</a></li>
|
||||
<li><a href="#org494be3f">Mdescription</a></li>
|
||||
<li><a href="#org2c8a3d2">Mfigure</a></li>
|
||||
<li><a href="#org21ef93d">Mfunction</a></li>
|
||||
<li><a href="#org8920992">Mheader</a></li>
|
||||
<li><a href="#orgec784e2">Minit</a></li>
|
||||
<li><a href="#org27df014">Mtable</a></li>
|
||||
<li><a href="#org31ef31f">Mvalue</a></li>
|
||||
<li><a href="#org1e4e64d">Pfigure</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org143de42">Binary</a></li>
|
||||
<li><a href="#org2f3dfac">Matlab Specific</a>
|
||||
<ul>
|
||||
<li><a href="#orgac493d5">Mconfig</a></li>
|
||||
<li><a href="#orgb08853d">Mfigure</a></li>
|
||||
<li><a href="#org7074d53">Mfunction</a></li>
|
||||
<li><a href="#orgf3f4c44">Mheader</a></li>
|
||||
<li><a href="#org700ea5e">Minit</a></li>
|
||||
<li><a href="#org4b76dde">Mtable</a></li>
|
||||
<li><a href="#org37717eb">Mvalue</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc5363bb">Binary</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org913ab23">Python</a>
|
||||
<ul>
|
||||
<li><a href="#orgb7441cf">Function</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga3bc01e" class="outline-2">
|
||||
<h2 id="orga3bc01e">LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-orga3bc01e">
|
||||
<div id="outline-container-orgffeab79" class="outline-2">
|
||||
<h2 id="orgffeab79">LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-orgffeab79">
|
||||
</div>
|
||||
<div id="outline-container-org50ac3ef" class="outline-3">
|
||||
<h3 id="org50ac3ef">Coordinate</h3>
|
||||
<div class="outline-text-3" id="text-org50ac3ef">
|
||||
<div id="outline-container-org2042489" class="outline-3">
|
||||
<h3 id="org2042489">Coordinate</h3>
|
||||
<div class="outline-text-3" id="text-org2042489">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :coordinate</span>
|
||||
@ -102,9 +111,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8ca867b" class="outline-3">
|
||||
<h3 id="org8ca867b">Draw</h3>
|
||||
<div class="outline-text-3" id="text-org8ca867b">
|
||||
<div id="outline-container-orgb3a66f3" class="outline-3">
|
||||
<h3 id="orgb3a66f3">Draw</h3>
|
||||
<div class="outline-text-3" id="text-orgb3a66f3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :draw</span>
|
||||
@ -116,9 +125,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5ec64e" class="outline-3">
|
||||
<h3 id="orgd5ec64e">Node</h3>
|
||||
<div class="outline-text-3" id="text-orgd5ec64e">
|
||||
<div id="outline-container-org411e901" class="outline-3">
|
||||
<h3 id="org411e901">Node</h3>
|
||||
<div class="outline-text-3" id="text-org411e901">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :node</span>
|
||||
@ -130,9 +139,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd2a36e9" class="outline-3">
|
||||
<h3 id="orgd2a36e9">Path</h3>
|
||||
<div class="outline-text-3" id="text-orgd2a36e9">
|
||||
<div id="outline-container-org22d90dd" class="outline-3">
|
||||
<h3 id="org22d90dd">Path</h3>
|
||||
<div class="outline-text-3" id="text-org22d90dd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :path</span>
|
||||
@ -145,13 +154,13 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5abed78" class="outline-2">
|
||||
<h2 id="org5abed78">Matlab</h2>
|
||||
<div class="outline-text-2" id="text-org5abed78">
|
||||
<div id="outline-container-orgc2b2292" class="outline-2">
|
||||
<h2 id="orgc2b2292">Matlab</h2>
|
||||
<div class="outline-text-2" id="text-orgc2b2292">
|
||||
</div>
|
||||
<div id="outline-container-org6bd1003" class="outline-3">
|
||||
<h3 id="org6bd1003">Clear</h3>
|
||||
<div class="outline-text-3" id="text-org6bd1003">
|
||||
<div id="outline-container-orgd3eeea7" class="outline-3">
|
||||
<h3 id="orgd3eeea7">Clear</h3>
|
||||
<div class="outline-text-3" id="text-orgd3eeea7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :clear and close all</span>
|
||||
@ -163,9 +172,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc90b35e" class="outline-3">
|
||||
<h3 id="orgc90b35e">Function</h3>
|
||||
<div class="outline-text-3" id="text-orgc90b35e">
|
||||
<div id="outline-container-org0dcc39a" class="outline-3">
|
||||
<h3 id="org0dcc39a">Function</h3>
|
||||
<div class="outline-text-3" id="text-org0dcc39a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :function</span>
|
||||
@ -205,13 +214,13 @@ if exist(<span class="org-string">'opts_param'</span>,<span class="org-string">'
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a9de72" class="outline-2">
|
||||
<h2 id="org4a9de72">Org Mode</h2>
|
||||
<div class="outline-text-2" id="text-org4a9de72">
|
||||
<div id="outline-container-org918a738" class="outline-2">
|
||||
<h2 id="org918a738">Org Mode</h2>
|
||||
<div class="outline-text-2" id="text-org918a738">
|
||||
</div>
|
||||
<div id="outline-container-org7220f49" class="outline-3">
|
||||
<h3 id="org7220f49">Begin</h3>
|
||||
<div class="outline-text-3" id="text-org7220f49">
|
||||
<div id="outline-container-org9133b41" class="outline-3">
|
||||
<h3 id="org9133b41">Begin</h3>
|
||||
<div class="outline-text-3" id="text-org9133b41">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :LaTeX Environment</span>
|
||||
@ -224,9 +233,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgde0f79b" class="outline-3">
|
||||
<h3 id="orgde0f79b">Caption</h3>
|
||||
<div class="outline-text-3" id="text-orgde0f79b">
|
||||
<div id="outline-container-orga88a23c" class="outline-3">
|
||||
<h3 id="orga88a23c">Caption</h3>
|
||||
<div class="outline-text-3" id="text-orga88a23c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Caption</span>
|
||||
@ -237,9 +246,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7942249" class="outline-3">
|
||||
<h3 id="org7942249">Block</h3>
|
||||
<div class="outline-text-3" id="text-org7942249">
|
||||
<div id="outline-container-org6b93a9b" class="outline-3">
|
||||
<h3 id="org6b93a9b">Block</h3>
|
||||
<div class="outline-text-3" id="text-org6b93a9b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Org-Mode Block</span>
|
||||
@ -255,9 +264,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0dd9c10" class="outline-3">
|
||||
<h3 id="org0dd9c10">Custom Box</h3>
|
||||
<div class="outline-text-3" id="text-org0dd9c10">
|
||||
<div id="outline-container-org2a73292" class="outline-3">
|
||||
<h3 id="org2a73292">Custom Box</h3>
|
||||
<div class="outline-text-3" id="text-org2a73292">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Custom Box</span>
|
||||
@ -271,9 +280,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3c7a0a0" class="outline-3">
|
||||
<h3 id="org3c7a0a0">Latex Class</h3>
|
||||
<div class="outline-text-3" id="text-org3c7a0a0">
|
||||
<div id="outline-container-orgff8d2f2" class="outline-3">
|
||||
<h3 id="orgff8d2f2">Latex Class</h3>
|
||||
<div class="outline-text-3" id="text-orgff8d2f2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: latex-class</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">key: lc</span>
|
||||
@ -286,9 +295,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf59b249" class="outline-3">
|
||||
<h3 id="orgf59b249">Bibliography with completion</h3>
|
||||
<div class="outline-text-3" id="text-orgf59b249">
|
||||
<div id="outline-container-org1c2c726" class="outline-3">
|
||||
<h3 id="org1c2c726">Bibliography with completion</h3>
|
||||
<div class="outline-text-3" id="text-org1c2c726">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: bibliography with completion</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">key: bib</span>
|
||||
@ -299,9 +308,9 @@ bibliography:${<span class="org-highlight-numbers-number">1</span>:$$(yas-choose
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd88407c" class="outline-3">
|
||||
<h3 id="orgd88407c">Cite</h3>
|
||||
<div class="outline-text-3" id="text-orgd88407c">
|
||||
<div id="outline-container-org7f5c530" class="outline-3">
|
||||
<h3 id="org7f5c530">Cite</h3>
|
||||
<div class="outline-text-3" id="text-org7f5c530">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: org-ref cite link</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">key: cite</span>
|
||||
@ -314,9 +323,9 @@ cite:${<span class="org-highlight-numbers-number">1</span>:$$(completing-read
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb1f5cdc" class="outline-3">
|
||||
<h3 id="orgb1f5cdc">Ref</h3>
|
||||
<div class="outline-text-3" id="text-orgb1f5cdc">
|
||||
<div id="outline-container-org37c96e4" class="outline-3">
|
||||
<h3 id="org37c96e4">Ref</h3>
|
||||
<div class="outline-text-3" id="text-org37c96e4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: org-ref ref link with completion</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">key: ref</span>
|
||||
@ -327,9 +336,9 @@ ref:${<span class="org-highlight-numbers-number">1</span>:$$(completing-read <sp
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8b9dce1" class="outline-3">
|
||||
<h3 id="org8b9dce1">Beamer - CBOX</h3>
|
||||
<div class="outline-text-3" id="text-org8b9dce1">
|
||||
<div id="outline-container-org024ab1b" class="outline-3">
|
||||
<h3 id="org024ab1b">Beamer - CBOX</h3>
|
||||
<div class="outline-text-3" id="text-org024ab1b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Beamer Custom Box</span>
|
||||
@ -346,9 +355,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org68eb2b6" class="outline-3">
|
||||
<h3 id="org68eb2b6">HTML Details</h3>
|
||||
<div class="outline-text-3" id="text-org68eb2b6">
|
||||
<div id="outline-container-org678a86c" class="outline-3">
|
||||
<h3 id="org678a86c">HTML Details</h3>
|
||||
<div class="outline-text-3" id="text-org678a86c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :details</span>
|
||||
@ -362,9 +371,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc76873e" class="outline-3">
|
||||
<h3 id="orgc76873e">Code</h3>
|
||||
<div class="outline-text-3" id="text-orgc76873e">
|
||||
<div id="outline-container-orgcebff18" class="outline-3">
|
||||
<h3 id="orgcebff18">Code</h3>
|
||||
<div class="outline-text-3" id="text-orgcebff18">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Code</span>
|
||||
@ -379,9 +388,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf39e79c" class="outline-3">
|
||||
<h3 id="orgf39e79c">Equation</h3>
|
||||
<div class="outline-text-3" id="text-orgf39e79c">
|
||||
<div id="outline-container-org24aec6b" class="outline-3">
|
||||
<h3 id="org24aec6b">Equation</h3>
|
||||
<div class="outline-text-3" id="text-org24aec6b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Equation</span>
|
||||
@ -395,9 +404,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge17a1a2" class="outline-3">
|
||||
<h3 id="orge17a1a2">Figure</h3>
|
||||
<div class="outline-text-3" id="text-orge17a1a2">
|
||||
<div id="outline-container-orga61bef4" class="outline-3">
|
||||
<h3 id="orga61bef4">Figure</h3>
|
||||
<div class="outline-text-3" id="text-orga61bef4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Figure</span>
|
||||
@ -411,9 +420,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1ddfd44" class="outline-3">
|
||||
<h3 id="org1ddfd44">Frac</h3>
|
||||
<div class="outline-text-3" id="text-org1ddfd44">
|
||||
<div id="outline-container-org38db305" class="outline-3">
|
||||
<h3 id="org38db305">Frac</h3>
|
||||
<div class="outline-text-3" id="text-org38db305">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :LaTeX Fraction</span>
|
||||
@ -424,9 +433,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org400ff8e" class="outline-3">
|
||||
<h3 id="org400ff8e">Left</h3>
|
||||
<div class="outline-text-3" id="text-org400ff8e">
|
||||
<div id="outline-container-orge40e702" class="outline-3">
|
||||
<h3 id="orge40e702">Left</h3>
|
||||
<div class="outline-text-3" id="text-orge40e702">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Left Right mathematical delimitations</span>
|
||||
@ -437,9 +446,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org234e84f" class="outline-3">
|
||||
<h3 id="org234e84f">Minipage</h3>
|
||||
<div class="outline-text-3" id="text-org234e84f">
|
||||
<div id="outline-container-org7e0fa73" class="outline-3">
|
||||
<h3 id="org7e0fa73">Minipage</h3>
|
||||
<div class="outline-text-3" id="text-org7e0fa73">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :minipage</span>
|
||||
@ -467,9 +476,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb7becfc" class="outline-3">
|
||||
<h3 id="orgb7becfc">Minipage Figures</h3>
|
||||
<div class="outline-text-3" id="text-orgb7becfc">
|
||||
<div id="outline-container-org1329a6b" class="outline-3">
|
||||
<h3 id="org1329a6b">Minipage Figures</h3>
|
||||
<div class="outline-text-3" id="text-org1329a6b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Minipage with Figures</span>
|
||||
@ -495,9 +504,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org630b3de" class="outline-3">
|
||||
<h3 id="org630b3de">Wrap Figure</h3>
|
||||
<div class="outline-text-3" id="text-org630b3de">
|
||||
<div id="outline-container-orgc4b2d7b" class="outline-3">
|
||||
<h3 id="orgc4b2d7b">Wrap Figure</h3>
|
||||
<div class="outline-text-3" id="text-orgc4b2d7b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Wrap Figure</span>
|
||||
@ -513,9 +522,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8aa2d33" class="outline-3">
|
||||
<h3 id="org8aa2d33">Multicolumn</h3>
|
||||
<div class="outline-text-3" id="text-org8aa2d33">
|
||||
<div id="outline-container-orgd73f8fd" class="outline-3">
|
||||
<h3 id="orgd73f8fd">Multicolumn</h3>
|
||||
<div class="outline-text-3" id="text-orgd73f8fd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Multcolumn</span>
|
||||
@ -527,9 +536,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb5c8c67" class="outline-3">
|
||||
<h3 id="orgb5c8c67">Subfigure</h3>
|
||||
<div class="outline-text-3" id="text-orgb5c8c67">
|
||||
<div id="outline-container-orgc01c0a5" class="outline-3">
|
||||
<h3 id="orgc01c0a5">Subfigure</h3>
|
||||
<div class="outline-text-3" id="text-orgc01c0a5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Subfigure</span>
|
||||
@ -545,9 +554,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga9aa801" class="outline-3">
|
||||
<h3 id="orga9aa801">Table</h3>
|
||||
<div class="outline-text-3" id="text-orga9aa801">
|
||||
<div id="outline-container-org972c5ee" class="outline-3">
|
||||
<h3 id="org972c5ee">Table</h3>
|
||||
<div class="outline-text-3" id="text-org972c5ee">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Table</span>
|
||||
@ -555,7 +564,7 @@ $0
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+name: tab:${1:table_name}</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+caption: ${2:Table caption}</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :environment tabularx :width ${3:\linewidth} :align ${4:lXX}</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :center t :booktabs t :float t</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :center t :booktabs t</span>
|
||||
| $0 | | |
|
||||
|---+---+---|
|
||||
| | | |
|
||||
@ -564,9 +573,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2604457" class="outline-3">
|
||||
<h3 id="org2604457">Tikz</h3>
|
||||
<div class="outline-text-3" id="text-org2604457">
|
||||
<div id="outline-container-org9d47055" class="outline-3">
|
||||
<h3 id="org9d47055">Tikz</h3>
|
||||
<div class="outline-text-3" id="text-org9d47055">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Tikz figure</span>
|
||||
@ -581,9 +590,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf6eeddb" class="outline-3">
|
||||
<h3 id="orgf6eeddb">Tikzfig</h3>
|
||||
<div class="outline-text-3" id="text-orgf6eeddb">
|
||||
<div id="outline-container-org6740e67" class="outline-3">
|
||||
<h3 id="org6740e67">Tikzfig</h3>
|
||||
<div class="outline-text-3" id="text-org6740e67">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Tikz Figure</span>
|
||||
@ -607,9 +616,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgba1d993" class="outline-3">
|
||||
<h3 id="orgba1d993">Tikzheader</h3>
|
||||
<div class="outline-text-3" id="text-orgba1d993">
|
||||
<div id="outline-container-orgd78a868" class="outline-3">
|
||||
<h3 id="orgd78a868">Tikzheader</h3>
|
||||
<div class="outline-text-3" id="text-orgd78a868">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Tikz Header</span>
|
||||
@ -630,9 +639,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org040faef" class="outline-3">
|
||||
<h3 id="org040faef">User-config</h3>
|
||||
<div class="outline-text-3" id="text-org040faef">
|
||||
<div id="outline-container-org7350df7" class="outline-3">
|
||||
<h3 id="org7350df7">User-config</h3>
|
||||
<div class="outline-text-3" id="text-org7350df7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">-*- mode: snippet -*-</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">name: user-config</span>
|
||||
@ -646,9 +655,9 @@ $1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org349c757" class="outline-3">
|
||||
<h3 id="org349c757">User-init</h3>
|
||||
<div class="outline-text-3" id="text-org349c757">
|
||||
<div id="outline-container-org56534d3" class="outline-3">
|
||||
<h3 id="org56534d3">User-init</h3>
|
||||
<div class="outline-text-3" id="text-org56534d3">
|
||||
<p>
|
||||
#+begin_src conf :tangle ~/.config/doom/snippets/org-mode/user-init
|
||||
</p>
|
||||
@ -662,9 +671,9 @@ $1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org951f3c0" class="outline-3">
|
||||
<h3 id="org951f3c0">Wrap</h3>
|
||||
<div class="outline-text-3" id="text-org951f3c0">
|
||||
<div id="outline-container-org349e863" class="outline-3">
|
||||
<h3 id="org349e863">Wrap</h3>
|
||||
<div class="outline-text-3" id="text-org349e863">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Wrap</span>
|
||||
@ -676,13 +685,41 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbd116e3" class="outline-3">
|
||||
<h3 id="orgbd116e3">Matlab Specific</h3>
|
||||
<div class="outline-text-3" id="text-orgbd116e3">
|
||||
<div id="outline-container-org74e5a20" class="outline-3">
|
||||
<h3 id="org74e5a20">Python Specific</h3>
|
||||
<div class="outline-text-3" id="text-org74e5a20">
|
||||
</div>
|
||||
<div id="outline-container-orge0eecad" class="outline-4">
|
||||
<h4 id="orge0eecad">Mconfig</h4>
|
||||
<div class="outline-text-4" id="text-orge0eecad">
|
||||
<div id="outline-container-org1e4e64d" class="outline-4">
|
||||
<h4 id="org1e4e64d">Pfigure</h4>
|
||||
<div class="outline-text-4" id="text-org1e4e64d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Python-Figure</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src jupyter-python :file ${2:filename}.png :results none</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Figure - ${1:description}</span>
|
||||
<span class="org-variable-name">plt.figure(figsize</span>=(${<span class="org-highlight-numbers-number">3</span>:<span class="org-highlight-numbers-number">1200</span>}/150, ${<span class="org-highlight-numbers-number">4</span>:<span class="org-highlight-numbers-number">800</span>}/150), dpi=<span class="org-highlight-numbers-number">150</span>)
|
||||
plt.clf
|
||||
$0
|
||||
plt.savefig(<span class="org-string">'figs/$2.pdf'</span>, transparent=True, bbox_inches=<span class="org-string">'tight'</span>, pad_inches=<span class="org-highlight-numbers-number">0</span>)
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$2</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+caption: $1</span>
|
||||
[<span class="org-type">[file:figs/$2.png]</span>]
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2f3dfac" class="outline-3">
|
||||
<h3 id="org2f3dfac">Matlab Specific</h3>
|
||||
<div class="outline-text-3" id="text-org2f3dfac">
|
||||
</div>
|
||||
<div id="outline-container-orgac493d5" class="outline-4">
|
||||
<h4 id="orgac493d5">Mconfig</h4>
|
||||
<div class="outline-text-4" id="text-orgac493d5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Configuration-Header</span>
|
||||
@ -702,64 +739,35 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org494be3f" class="outline-4">
|
||||
<h4 id="org494be3f">Mdescription</h4>
|
||||
<div class="outline-text-4" id="text-org494be3f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Measurement-Description</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
* Measurement description
|
||||
** Setup :ignore:
|
||||
*Setup*:
|
||||
|
||||
** Goal :ignore:
|
||||
*Goal*:
|
||||
|
||||
** Measurements :ignore:
|
||||
*Measurements*:
|
||||
|
||||
Three measurements are done:
|
||||
| Measurement File | Description |
|
||||
|-------------------------+------------------------------|
|
||||
<span class="org-variable-name">|</span> =mat/data_${<span class="org-highlight-numbers-number">1</span>:<span class="org-highlight-numbers-number">001</span>}.mat= | $2 |
|
||||
|
||||
<span class="org-variable-name">Each of the measurement</span> =mat= file contains one =data= array with <span class="org-highlight-numbers-number">3</span> columns:
|
||||
| Column number | Description |
|
||||
|---------------+-------------------|
|
||||
| <span class="org-highlight-numbers-number">1</span> | $3 |
|
||||
| <span class="org-highlight-numbers-number">2</span> | $4 |
|
||||
| <span class="org-highlight-numbers-number">3</span> | Time |
|
||||
|
||||
$0
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c8a3d2" class="outline-4">
|
||||
<h4 id="org2c8a3d2">Mfigure</h4>
|
||||
<div class="outline-text-4" id="text-org2c8a3d2">
|
||||
<div id="outline-container-orgb08853d" class="outline-4">
|
||||
<h4 id="orgb08853d">Mfigure</h4>
|
||||
<div class="outline-text-4" id="text-orgb08853d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Figure</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :tangle no :exports results :results file replace</span>
|
||||
exportFig(<span class="org-string">'figs/${1:filename}.pdf'</span>, <span class="org-string">'width'</span>, <span class="org-string">'${2:full}'</span>, <span class="org-string">'height'</span>, <span class="org-string">'${3:full}'</span>);
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :exports none :results none</span>
|
||||
%% ${<span class="org-highlight-numbers-number">1</span>:description}
|
||||
figure;
|
||||
$0
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$1</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+caption: $0</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :tangle no :exports results :results file replace</span>
|
||||
exportFig(<span class="org-string">'figs/${2:filename}.pdf'</span>, <span class="org-string">'width'</span>, <span class="org-string">'${3:full}'</span>, <span class="org-string">'height'</span>, <span class="org-string">'${4:full}'</span>);
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$2</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+caption: $1</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+RESULTS:</span>
|
||||
[<span class="org-type">[file:figs/$1.png]</span>]
|
||||
[<span class="org-type">[file:figs/$2.png]</span>]
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org21ef93d" class="outline-4">
|
||||
<h4 id="org21ef93d">Mfunction</h4>
|
||||
<div class="outline-text-4" id="text-org21ef93d">
|
||||
<div id="outline-container-org7074d53" class="outline-4">
|
||||
<h4 id="org7074d53">Mfunction</h4>
|
||||
<div class="outline-text-4" id="text-org7074d53">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Function</span>
|
||||
@ -792,9 +800,9 @@ end
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8920992" class="outline-4">
|
||||
<h4 id="org8920992">Mheader</h4>
|
||||
<div class="outline-text-4" id="text-org8920992">
|
||||
<div id="outline-container-orgf3f4c44" class="outline-4">
|
||||
<h4 id="orgf3f4c44">Mheader</h4>
|
||||
<div class="outline-text-4" id="text-orgf3f4c44">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Header</span>
|
||||
@ -827,9 +835,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec784e2" class="outline-4">
|
||||
<h4 id="orgec784e2">Minit</h4>
|
||||
<div class="outline-text-4" id="text-orgec784e2">
|
||||
<div id="outline-container-org700ea5e" class="outline-4">
|
||||
<h4 id="org700ea5e">Minit</h4>
|
||||
<div class="outline-text-4" id="text-org700ea5e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Init</span>
|
||||
@ -849,9 +857,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27df014" class="outline-4">
|
||||
<h4 id="org27df014">Mtable</h4>
|
||||
<div class="outline-text-4" id="text-org27df014">
|
||||
<div id="outline-container-org4b76dde" class="outline-4">
|
||||
<h4 id="org4b76dde">Mtable</h4>
|
||||
<div class="outline-text-4" id="text-org4b76dde">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Table</span>
|
||||
@ -865,9 +873,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org31ef31f" class="outline-4">
|
||||
<h4 id="org31ef31f">Mvalue</h4>
|
||||
<div class="outline-text-4" id="text-org31ef31f">
|
||||
<div id="outline-container-org37717eb" class="outline-4">
|
||||
<h4 id="org37717eb">Mvalue</h4>
|
||||
<div class="outline-text-4" id="text-org37717eb">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Value</span>
|
||||
@ -882,9 +890,9 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org143de42" class="outline-3">
|
||||
<h3 id="org143de42">Binary</h3>
|
||||
<div class="outline-text-3" id="text-org143de42">
|
||||
<div id="outline-container-orgc5363bb" class="outline-3">
|
||||
<h3 id="orgc5363bb">Binary</h3>
|
||||
<div class="outline-text-3" id="text-orgc5363bb">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com"><dehaeze.thomas@gmail.com></a></span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Binary</span>
|
||||
@ -902,10 +910,60 @@ $0
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org913ab23" class="outline-2">
|
||||
<h2 id="org913ab23">Python</h2>
|
||||
<div class="outline-text-2" id="text-org913ab23">
|
||||
</div>
|
||||
<div id="outline-container-orgb7441cf" class="outline-3">
|
||||
<h3 id="orgb7441cf">Function</h3>
|
||||
<div class="outline-text-3" id="text-orgb7441cf">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">-*- coding: utf-8 -*-</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">name: de</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">contributor: Orestis Markou</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">contributor: Yasser González Fernández <a href="mailto:yglez%40uh.cu"><yglez@uh.cu></a></span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">contributor: Tibor Simko <a href="mailto:tibor.simko%40cern.ch"><tibor.simko@cern.ch></a></span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
def ${<span class="org-highlight-numbers-number">1</span>:name}($2):
|
||||
<span class="org-string">"""</span>
|
||||
<span class="org-string"> $3</span>
|
||||
<span class="org-string"> </span><span class="org-string"><span class="org-type">$</span></span><span class="org-string">{2:$</span>
|
||||
<span class="org-string"> (let* ((indent</span>
|
||||
<span class="org-string"> (concat "</span>\n<span class="org-string">" (make-string (current-column) 32)))</span>
|
||||
<span class="org-string"> (args</span>
|
||||
<span class="org-string"> (mapconcat</span>
|
||||
<span class="org-string"> '(lambda (x)</span>
|
||||
<span class="org-string"> (if (not (string= (nth 0 x) ""))</span>
|
||||
<span class="org-string"> (concat "</span>@param <span class="org-string">" (nth 0 x) "</span>: <span class="org-string">" indent</span>
|
||||
<span class="org-string"> "</span>@type <span class="org-string">" (nth 0 x) "</span>: <span class="org-string">")))</span>
|
||||
<span class="org-string"> (mapcar</span>
|
||||
<span class="org-string"> '(lambda (x)</span>
|
||||
<span class="org-string"> (mapcar</span>
|
||||
<span class="org-string"> '(lambda (x)</span>
|
||||
<span class="org-string"> (replace-regexp-in-string "</span>[[:blank:]]*$<span class="org-string">" ""</span>
|
||||
<span class="org-string"> (replace-regexp-in-string "</span>^[[:blank:]]*<span class="org-string">" "" x)))</span>
|
||||
<span class="org-string"> x))</span>
|
||||
<span class="org-string"> (mapcar '(lambda (x) (split-string x "</span>=<span class="org-string">"))</span>
|
||||
<span class="org-string"> (split-string text "</span>,<span class="org-string">")))</span>
|
||||
<span class="org-string"> indent)))</span>
|
||||
<span class="org-string"> (if (string= args "")</span>
|
||||
<span class="org-string"> (concat indent "</span>@return: <span class="org-string">" indent "</span>@rtype: <span class="org-string">" indent (make-string 3 34))</span>
|
||||
<span class="org-string"> (mapconcat</span>
|
||||
<span class="org-string"> 'identity</span>
|
||||
<span class="org-string"> (list "" args "</span>@return: <span class="org-string">" "</span>@rtype: <span class="org-string">" (make-string 3 34))</span>
|
||||
<span class="org-string"> indent)))</span>
|
||||
<span class="org-string"> }</span>
|
||||
<span class="org-string"> $0</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
121
docs/git.html
121
docs/git.html
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:40 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Git Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,40 +16,39 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Git Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org5614967"><code>~/.gitconfig</code></a>
|
||||
<li><a href="#org836117e"><code>~/.gitconfig</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgf8c42c0">Aliases</a></li>
|
||||
<li><a href="#org68a5de1">Apply</a></li>
|
||||
<li><a href="#org9b46df2">Colors</a></li>
|
||||
<li><a href="#org5369e22">Default Remote</a></li>
|
||||
<li><a href="#orgf523602">Push Configuration</a></li>
|
||||
<li><a href="#org72a2b70">User</a></li>
|
||||
<li><a href="#orgf768784">Core configuration</a></li>
|
||||
<li><a href="#org5cda35d">Credentials using pass</a></li>
|
||||
<li><a href="#orgae60316">Diff-so-fancy</a></li>
|
||||
<li><a href="#orgdcb66f1">Github</a></li>
|
||||
<li><a href="#orga7a7f60">Aliases</a></li>
|
||||
<li><a href="#org6ae31ef">Apply</a></li>
|
||||
<li><a href="#org4179953">Colors</a></li>
|
||||
<li><a href="#org5698b3f">Default Remote</a></li>
|
||||
<li><a href="#org5a10a0b">Push Configuration</a></li>
|
||||
<li><a href="#org5171f9e">User</a></li>
|
||||
<li><a href="#org7473c0a">Core configuration</a></li>
|
||||
<li><a href="#orgd5aad26">Credentials using pass</a></li>
|
||||
<li><a href="#orgf01d4f7">Diff-so-fancy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf329fb1"><code>~/.gitignore_global</code> - Global Git Ignore</a></li>
|
||||
<li><a href="#org5af3f72"><code>pass-git-helper</code> - Use <code>pass</code> for git passwords</a></li>
|
||||
<li><a href="#org7e471aa"><code>~/.gitignore_global</code> - Global Git Ignore</a></li>
|
||||
<li><a href="#orga7108ef"><code>pass-git-helper</code> - Use <code>pass</code> for git passwords</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5614967" class="outline-2">
|
||||
<h2 id="org5614967"><code>~/.gitconfig</code></h2>
|
||||
<div class="outline-text-2" id="text-org5614967">
|
||||
<div id="outline-container-org836117e" class="outline-2">
|
||||
<h2 id="org836117e"><code>~/.gitconfig</code></h2>
|
||||
<div class="outline-text-2" id="text-org836117e">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf8c42c0" class="outline-3">
|
||||
<h3 id="orgf8c42c0">Aliases</h3>
|
||||
<div class="outline-text-3" id="text-orgf8c42c0">
|
||||
<div id="outline-container-orga7a7f60" class="outline-3">
|
||||
<h3 id="orga7a7f60">Aliases</h3>
|
||||
<div class="outline-text-3" id="text-orga7a7f60">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">alias</span>]
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">View abbreviated SHA, description, and history graph of the latest 20 commits</span>
|
||||
@ -126,9 +125,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org68a5de1" class="outline-3">
|
||||
<h3 id="org68a5de1">Apply</h3>
|
||||
<div class="outline-text-3" id="text-org68a5de1">
|
||||
<div id="outline-container-org6ae31ef" class="outline-3">
|
||||
<h3 id="org6ae31ef">Apply</h3>
|
||||
<div class="outline-text-3" id="text-org6ae31ef">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">apply</span>]
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Detect whitespace errors when applying a patch</span>
|
||||
@ -138,9 +137,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b46df2" class="outline-3">
|
||||
<h3 id="org9b46df2">Colors</h3>
|
||||
<div class="outline-text-3" id="text-org9b46df2">
|
||||
<div id="outline-container-org4179953" class="outline-3">
|
||||
<h3 id="org4179953">Colors</h3>
|
||||
<div class="outline-text-3" id="text-org4179953">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">color</span>]
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Use colors in Git commands that are capable of colored output when outputting to the terminal</span>
|
||||
@ -174,9 +173,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5369e22" class="outline-3">
|
||||
<h3 id="org5369e22">Default Remote</h3>
|
||||
<div class="outline-text-3" id="text-org5369e22">
|
||||
<div id="outline-container-org5698b3f" class="outline-3">
|
||||
<h3 id="org5698b3f">Default Remote</h3>
|
||||
<div class="outline-text-3" id="text-org5698b3f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Use `origin` as the default remote on the `master` branch in all cases</span>
|
||||
[branch <span class="org-string">"master"</span>]
|
||||
@ -187,9 +186,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf523602" class="outline-3">
|
||||
<h3 id="orgf523602">Push Configuration</h3>
|
||||
<div class="outline-text-3" id="text-orgf523602">
|
||||
<div id="outline-container-org5a10a0b" class="outline-3">
|
||||
<h3 id="org5a10a0b">Push Configuration</h3>
|
||||
<div class="outline-text-3" id="text-org5a10a0b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">push</span>]
|
||||
<span class="org-variable-name">default</span> = matching
|
||||
@ -200,9 +199,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org72a2b70" class="outline-3">
|
||||
<h3 id="org72a2b70">User</h3>
|
||||
<div class="outline-text-3" id="text-org72a2b70">
|
||||
<div id="outline-container-org5171f9e" class="outline-3">
|
||||
<h3 id="org5171f9e">User</h3>
|
||||
<div class="outline-text-3" id="text-org5171f9e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">user</span>]
|
||||
<span class="org-variable-name">name</span> = Thomas Dehaeze
|
||||
@ -212,9 +211,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf768784" class="outline-3">
|
||||
<h3 id="orgf768784">Core configuration</h3>
|
||||
<div class="outline-text-3" id="text-orgf768784">
|
||||
<div id="outline-container-org7473c0a" class="outline-3">
|
||||
<h3 id="org7473c0a">Core configuration</h3>
|
||||
<div class="outline-text-3" id="text-org7473c0a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">core</span>]
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Use custom `.gitignore` and `.gitattributes`</span>
|
||||
@ -240,9 +239,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5cda35d" class="outline-3">
|
||||
<h3 id="org5cda35d">Credentials using pass</h3>
|
||||
<div class="outline-text-3" id="text-org5cda35d">
|
||||
<div id="outline-container-orgd5aad26" class="outline-3">
|
||||
<h3 id="orgd5aad26">Credentials using pass</h3>
|
||||
<div class="outline-text-3" id="text-orgd5aad26">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">credential</span>]
|
||||
<span class="org-variable-name">helper</span> = !pass-git-helper $@
|
||||
@ -260,9 +259,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgae60316" class="outline-3">
|
||||
<h3 id="orgae60316">Diff-so-fancy</h3>
|
||||
<div class="outline-text-3" id="text-orgae60316">
|
||||
<div id="outline-container-orgf01d4f7" class="outline-3">
|
||||
<h3 id="orgf01d4f7">Diff-so-fancy</h3>
|
||||
<div class="outline-text-3" id="text-orgf01d4f7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">diff-so-fancy</span>]
|
||||
<span class="org-variable-name">markEmptyLines</span> = false
|
||||
@ -270,23 +269,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdcb66f1" class="outline-3">
|
||||
<h3 id="orgdcb66f1">Github</h3>
|
||||
<div class="outline-text-3" id="text-orgdcb66f1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">github</span>]
|
||||
<span class="org-variable-name">user</span> = tdehaeze
|
||||
<span class="org-variable-name">oauth-token</span> = 8cc5b41120f7e9a869c24fa3678667d3d8422e6f
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf329fb1" class="outline-2">
|
||||
<h2 id="orgf329fb1"><code>~/.gitignore_global</code> - Global Git Ignore</h2>
|
||||
<div class="outline-text-2" id="text-orgf329fb1">
|
||||
<div id="outline-container-org7e471aa" class="outline-2">
|
||||
<h2 id="org7e471aa"><code>~/.gitignore_global</code> - Global Git Ignore</h2>
|
||||
<div class="outline-text-2" id="text-org7e471aa">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">*~
|
||||
.DS_Store
|
||||
@ -296,9 +283,9 @@ Session.vim
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5af3f72" class="outline-2">
|
||||
<h2 id="org5af3f72"><code>pass-git-helper</code> - Use <code>pass</code> for git passwords</h2>
|
||||
<div class="outline-text-2" id="text-org5af3f72">
|
||||
<div id="outline-container-orga7108ef" class="outline-2">
|
||||
<h2 id="orga7108ef"><code>pass-git-helper</code> - Use <code>pass</code> for git passwords</h2>
|
||||
<div class="outline-text-2" id="text-orga7108ef">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">github.com*</span>]
|
||||
<span class="org-variable-name">target</span>=github.com/tdehaeze
|
||||
@ -315,7 +302,7 @@ Session.vim
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:40</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>GTK Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,21 +16,21 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">GTK Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org2335e48">GTK-2.0</a></li>
|
||||
<li><a href="#org1e15503">GTK-3.0</a></li>
|
||||
<li><a href="#org691cfb8">GTK-2.0</a></li>
|
||||
<li><a href="#org1e355da">GTK-3.0</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2335e48" class="outline-2">
|
||||
<h2 id="org2335e48">GTK-2.0</h2>
|
||||
<div class="outline-text-2" id="text-org2335e48">
|
||||
<div id="outline-container-org691cfb8" class="outline-2">
|
||||
<h2 id="org691cfb8">GTK-2.0</h2>
|
||||
<div class="outline-text-2" id="text-org691cfb8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">gtk-theme-name</span>=<span class="org-string">"Arc-Dark"</span>
|
||||
<span class="org-variable-name">gtk-icon-theme-name</span>=<span class="org-string">"Arc"</span>
|
||||
@ -52,9 +52,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1e15503" class="outline-2">
|
||||
<h2 id="org1e15503">GTK-3.0</h2>
|
||||
<div class="outline-text-2" id="text-org1e15503">
|
||||
<div id="outline-container-org1e355da" class="outline-2">
|
||||
<h2 id="org1e355da">GTK-3.0</h2>
|
||||
<div class="outline-text-2" id="text-org1e355da">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Settings</span>]
|
||||
<span class="org-variable-name">gtk-theme-name</span>=Arc-Dark
|
||||
@ -79,7 +79,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
3200
docs/homelab.html
3200
docs/homelab.html
File diff suppressed because it is too large
Load Diff
143
docs/i3.html
143
docs/i3.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>I3 Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,25 +22,25 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org603bb02">Mod Key</a></li>
|
||||
<li><a href="#org2de16b4">Border Style</a></li>
|
||||
<li><a href="#org27e86ae">Font for window titles</a></li>
|
||||
<li><a href="#org4f1f60d">Colors Variables</a></li>
|
||||
<li><a href="#org8584048">Theme colors</a></li>
|
||||
<li><a href="#org18772b2">Various Config</a></li>
|
||||
<li><a href="#orgf5906b7">Border</a></li>
|
||||
<li><a href="#org62f5712">Settings for i3-gaps</a></li>
|
||||
<li><a href="#org1cf1b72">Workspace names</a></li>
|
||||
<li><a href="#orgf10019f">Use Mouse+$mod to drag floating windows</a></li>
|
||||
<li><a href="#orgfacf655">Back and Forth</a></li>
|
||||
<li><a href="#org4ec8a79">Application Specific</a>
|
||||
<li><a href="#orgbec1d7e">Mod Key</a></li>
|
||||
<li><a href="#orgfe4527a">Border Style</a></li>
|
||||
<li><a href="#org2350a3b">Font for window titles</a></li>
|
||||
<li><a href="#org369308e">Colors Variables</a></li>
|
||||
<li><a href="#org5bf7cba">Theme colors</a></li>
|
||||
<li><a href="#orge9d5097">Various Config</a></li>
|
||||
<li><a href="#orgfd9509d">Border</a></li>
|
||||
<li><a href="#org5a45d80">Settings for i3-gaps</a></li>
|
||||
<li><a href="#org1cb95c3">Workspace names</a></li>
|
||||
<li><a href="#org121dffd">Use Mouse+$mod to drag floating windows</a></li>
|
||||
<li><a href="#org7400aee">Back and Forth</a></li>
|
||||
<li><a href="#org05e035a">Application Specific</a>
|
||||
<ul>
|
||||
<li><a href="#org0d33818">Open applications on specific workspaces</a></li>
|
||||
<li><a href="#org859f93b">Open specific applications in floating mode</a></li>
|
||||
<li><a href="#org7fd2979">Open applications on specific workspaces</a></li>
|
||||
<li><a href="#org30f565c">Open specific applications in floating mode</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9247875">Scratchpad</a></li>
|
||||
<li><a href="#org416cf01">Run Polybar and SXHKD</a></li>
|
||||
<li><a href="#orgda1e6da">Scratchpad</a></li>
|
||||
<li><a href="#orgd2b1dda">Run Polybar and SXHKD</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -49,9 +49,9 @@
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org603bb02" class="outline-2">
|
||||
<h2 id="org603bb02">Mod Key</h2>
|
||||
<div class="outline-text-2" id="text-org603bb02">
|
||||
<div id="outline-container-orgbec1d7e" class="outline-2">
|
||||
<h2 id="orgbec1d7e">Mod Key</h2>
|
||||
<div class="outline-text-2" id="text-orgbec1d7e">
|
||||
<p>
|
||||
Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
</p>
|
||||
@ -62,9 +62,9 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2de16b4" class="outline-2">
|
||||
<h2 id="org2de16b4">Border Style</h2>
|
||||
<div class="outline-text-2" id="text-org2de16b4">
|
||||
<div id="outline-container-orgfe4527a" class="outline-2">
|
||||
<h2 id="orgfe4527a">Border Style</h2>
|
||||
<div class="outline-text-2" id="text-orgfe4527a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Use custom colors for black</span>
|
||||
new_window pixel <span class="org-highlight-numbers-number">1</span>
|
||||
@ -82,19 +82,19 @@ Hide borders
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27e86ae" class="outline-2">
|
||||
<h2 id="org27e86ae">Font for window titles</h2>
|
||||
<div class="outline-text-2" id="text-org27e86ae">
|
||||
<div id="outline-container-org2350a3b" class="outline-2">
|
||||
<h2 id="org2350a3b">Font for window titles</h2>
|
||||
<div class="outline-text-2" id="text-org2350a3b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">font Hack Nerd Font <span class="org-highlight-numbers-number">11</span>
|
||||
<pre class="src src-conf">font pango:Hack Nerd Font Mono <span class="org-highlight-numbers-number">11</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4f1f60d" class="outline-2">
|
||||
<h2 id="org4f1f60d">Colors Variables</h2>
|
||||
<div class="outline-text-2" id="text-org4f1f60d">
|
||||
<div id="outline-container-org369308e" class="outline-2">
|
||||
<h2 id="org369308e">Colors Variables</h2>
|
||||
<div class="outline-text-2" id="text-org369308e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">set_from_resource $bg color0 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
|
||||
set_from_resource $darkred color1 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span>
|
||||
@ -117,9 +117,9 @@ set_from_resource $fg color15 <span class="org-comment-delimiter">#</spa
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8584048" class="outline-2">
|
||||
<h2 id="org8584048">Theme colors</h2>
|
||||
<div class="outline-text-2" id="text-org8584048">
|
||||
<div id="outline-container-org5bf7cba" class="outline-2">
|
||||
<h2 id="org5bf7cba">Theme colors</h2>
|
||||
<div class="outline-text-2" id="text-org5bf7cba">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">class border backgr. text indic. child_border</span>
|
||||
client.focused $darkaqua $darkaqua $fg $bg
|
||||
@ -133,9 +133,9 @@ client.background $bg
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org18772b2" class="outline-2">
|
||||
<h2 id="org18772b2">Various Config</h2>
|
||||
<div class="outline-text-2" id="text-org18772b2">
|
||||
<div id="outline-container-orge9d5097" class="outline-2">
|
||||
<h2 id="orge9d5097">Various Config</h2>
|
||||
<div class="outline-text-2" id="text-orge9d5097">
|
||||
<p>
|
||||
Layout mode for new containers
|
||||
</p>
|
||||
@ -145,36 +145,37 @@ Layout mode for new containers
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">focus_follows_mouse yes
|
||||
<pre class="src src-conf">focus_follows_mouse no
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf5906b7" class="outline-2">
|
||||
<h2 id="orgf5906b7">Border</h2>
|
||||
<div class="outline-text-2" id="text-orgf5906b7">
|
||||
<div id="outline-container-orgfd9509d" class="outline-2">
|
||||
<h2 id="orgfd9509d">Border</h2>
|
||||
<div class="outline-text-2" id="text-orgfd9509d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">default_border pixel <span class="org-highlight-numbers-number">1</span>
|
||||
<pre class="src src-conf">default_border pixel <span class="org-highlight-numbers-number">2</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org62f5712" class="outline-2">
|
||||
<h2 id="org62f5712">Settings for i3-gaps</h2>
|
||||
<div class="outline-text-2" id="text-org62f5712">
|
||||
<div id="outline-container-org5a45d80" class="outline-2">
|
||||
<h2 id="org5a45d80">Settings for i3-gaps</h2>
|
||||
<div class="outline-text-2" id="text-org5a45d80">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">gaps inner <span class="org-highlight-numbers-number">10</span>
|
||||
gaps outer <span class="org-highlight-numbers-number">2</span>
|
||||
gaps outer <span class="org-highlight-numbers-number">1</span>
|
||||
smart_gaps on
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1cf1b72" class="outline-2">
|
||||
<h2 id="org1cf1b72">Workspace names</h2>
|
||||
<div class="outline-text-2" id="text-org1cf1b72">
|
||||
<div id="outline-container-org1cb95c3" class="outline-2">
|
||||
<h2 id="org1cb95c3">Workspace names</h2>
|
||||
<div class="outline-text-2" id="text-org1cb95c3">
|
||||
<p>
|
||||
To display names or symbols instead of plain workspace numbers you can use something like: <code>set $ws1 1:mail</code> and <code>set $ws2 2:</code>.
|
||||
</p>
|
||||
@ -193,9 +194,9 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf10019f" class="outline-2">
|
||||
<h2 id="orgf10019f">Use Mouse+$mod to drag floating windows</h2>
|
||||
<div class="outline-text-2" id="text-orgf10019f">
|
||||
<div id="outline-container-org121dffd" class="outline-2">
|
||||
<h2 id="org121dffd">Use Mouse+$mod to drag floating windows</h2>
|
||||
<div class="outline-text-2" id="text-org121dffd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">floating_modifier $mod
|
||||
</pre>
|
||||
@ -203,9 +204,9 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfacf655" class="outline-2">
|
||||
<h2 id="orgfacf655">Back and Forth</h2>
|
||||
<div class="outline-text-2" id="text-orgfacf655">
|
||||
<div id="outline-container-org7400aee" class="outline-2">
|
||||
<h2 id="org7400aee">Back and Forth</h2>
|
||||
<div class="outline-text-2" id="text-org7400aee">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">workspace_auto_back_and_forth yes
|
||||
</pre>
|
||||
@ -213,25 +214,26 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4ec8a79" class="outline-2">
|
||||
<h2 id="org4ec8a79">Application Specific</h2>
|
||||
<div class="outline-text-2" id="text-org4ec8a79">
|
||||
<div id="outline-container-org05e035a" class="outline-2">
|
||||
<h2 id="org05e035a">Application Specific</h2>
|
||||
<div class="outline-text-2" id="text-org05e035a">
|
||||
</div>
|
||||
<div id="outline-container-org0d33818" class="outline-3">
|
||||
<h3 id="org0d33818">Open applications on specific workspaces</h3>
|
||||
<div class="outline-text-3" id="text-org0d33818">
|
||||
<div id="outline-container-org7fd2979" class="outline-3">
|
||||
<h3 id="org7fd2979">Open applications on specific workspaces</h3>
|
||||
<div class="outline-text-3" id="text-org7fd2979">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">assign[title</span>=<span class="org-string">"^Fig"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Matlab Figures</span>
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Fig"</span>] layout tabbed
|
||||
<span class="org-variable-name">assign[title</span>=<span class="org-string">"^HG_Peer"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Name of window when export figure with matlab</span>
|
||||
<span class="org-variable-name">assign[class</span>=<span class="org-string">"^RDP"</span>] $ws7 <span class="org-comment-delimiter"># </span><span class="org-comment">Remote</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org859f93b" class="outline-3">
|
||||
<h3 id="org859f93b">Open specific applications in floating mode</h3>
|
||||
<div class="outline-text-3" id="text-org859f93b">
|
||||
<div id="outline-container-org30f565c" class="outline-3">
|
||||
<h3 id="org30f565c">Open specific applications in floating mode</h3>
|
||||
<div class="outline-text-3" id="text-org30f565c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">for_window [title</span>=<span class="org-string">"File Transfer*"</span>] floating enable
|
||||
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"GParted"</span>] floating enable border normal
|
||||
@ -252,15 +254,16 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Sensors"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">400</span>, move position center
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"nmtui"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position center
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Xournal"</span>] floating enable, resize set <span class="org-highlight-numbers-number">1100</span> <span class="org-highlight-numbers-number">750</span>, move position center
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"esrf-phonebook"</span>] floating enable, resize set <span class="org-highlight-numbers-number">1400</span> <span class="org-highlight-numbers-number">400</span>, move position center
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9247875" class="outline-2">
|
||||
<h2 id="org9247875">Scratchpad</h2>
|
||||
<div class="outline-text-2" id="text-org9247875">
|
||||
<div id="outline-container-orgda1e6da" class="outline-2">
|
||||
<h2 id="orgda1e6da">Scratchpad</h2>
|
||||
<div class="outline-text-2" id="text-orgda1e6da">
|
||||
<p>
|
||||
Move the currently focused window to the scratchpad
|
||||
</p>
|
||||
@ -280,9 +283,9 @@ If there are multiple scratchpad windows, this command cycles through them.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org416cf01" class="outline-2">
|
||||
<h2 id="org416cf01">Run Polybar and SXHKD</h2>
|
||||
<div class="outline-text-2" id="text-org416cf01">
|
||||
<div id="outline-container-orgd2b1dda" class="outline-2">
|
||||
<h2 id="orgd2b1dda">Run Polybar and SXHKD</h2>
|
||||
<div class="outline-text-2" id="text-orgd2b1dda">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">exec --no-startup-id sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc.i3
|
||||
exec --no-startup-id polybar top >>/tmp/polybar.log 2>&1 &
|
||||
@ -293,7 +296,7 @@ exec --no-startup-id polybar top >>/tmp/polybar.log 2>&1 &
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>SXIV Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,7 +16,7 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">SXIV Configuration</h1>
|
||||
<p>
|
||||
Press <code>C-x</code> to activate to key handler.
|
||||
@ -39,7 +39,7 @@ done
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:22 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Dotfiles - Manjaro Linux</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -17,7 +17,7 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Dotfiles - Manjaro Linux</h1>
|
||||
<p>
|
||||
The general installation procedure is described <a href="install.html">here</a>.
|
||||
@ -48,7 +48,6 @@ There are Specific configuration files for:
|
||||
<li><b>Terminal File Manager</b>: <a href="ranger.html">Ranger</a></li>
|
||||
<li><b>Calendar and Contacts</b>: <a href="calendar-contact.html">Vdirsyncer, Khal and Khard</a></li>
|
||||
<li><b>Mails</b>: <a href="mail.html">Mbsync, Msmtp, Mu and Neomutt</a></li>
|
||||
<li><b>Contacts</b>: <a href="contacts.html">Khard</a></li>
|
||||
<li><b>RSS-Reader</b>: <a href="newsboat.html">Newsboat</a></li>
|
||||
<li><b>Version Control</b>: <a href="git.html">Git</a></li>
|
||||
<li><b>Scripts</b>: <a href="binaries.html">Scripts</a></li>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Inkscape</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,29 +16,29 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Inkscape</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orge5e47be">Save Selection to SVG extension</a>
|
||||
<li><a href="#org545a7b5">Save Selection to SVG extension</a>
|
||||
<ul>
|
||||
<li><a href="#org74c03e7"><code>ink</code> file</a></li>
|
||||
<li><a href="#org7f93603"><code>py</code> file</a></li>
|
||||
<li><a href="#orgb40377c"><code>ink</code> file</a></li>
|
||||
<li><a href="#orgeae997c"><code>py</code> file</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge5e47be" class="outline-2">
|
||||
<h2 id="orge5e47be">Save Selection to SVG extension</h2>
|
||||
<div class="outline-text-2" id="text-orge5e47be">
|
||||
<div id="outline-container-org545a7b5" class="outline-2">
|
||||
<h2 id="org545a7b5">Save Selection to SVG extension</h2>
|
||||
<div class="outline-text-2" id="text-org545a7b5">
|
||||
</div>
|
||||
<div id="outline-container-org74c03e7" class="outline-3">
|
||||
<h3 id="org74c03e7"><code>ink</code> file</h3>
|
||||
<div class="outline-text-3" id="text-org74c03e7">
|
||||
<div id="outline-container-orgb40377c" class="outline-3">
|
||||
<h3 id="orgb40377c"><code>ink</code> file</h3>
|
||||
<div class="outline-text-3" id="text-orgb40377c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-xml"><span class="org-nxml-processing-instruction-delimiter"><?</span><span class="org-nxml-processing-instruction-target">xml</span> <span class="org-nxml-processing-instruction-content">version="1.0" encoding="utf-8"</span><span class="org-nxml-processing-instruction-delimiter">?></span>
|
||||
<span class="org-nxml-processing-instruction-delimiter"><?</span><span class="org-nxml-processing-instruction-target">xml</span> <span class="org-nxml-processing-instruction-content">version="1.0" encoding="UTF-8"</span><span class="org-nxml-processing-instruction-delimiter">?></span>
|
||||
@ -73,9 +73,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7f93603" class="outline-3">
|
||||
<h3 id="org7f93603"><code>py</code> file</h3>
|
||||
<div class="outline-text-3" id="text-org7f93603">
|
||||
<div id="outline-container-orgeae997c" class="outline-3">
|
||||
<h3 id="orgeae997c"><code>py</code> file</h3>
|
||||
<div class="outline-text-3" id="text-orgeae997c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-keyword">import</span> os
|
||||
<span class="org-keyword">import</span> inkex
|
||||
@ -124,7 +124,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
3209
docs/install.html
3209
docs/install.html
File diff suppressed because it is too large
Load Diff
148
docs/iot.html
148
docs/iot.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>IoT</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,35 +22,35 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgb605813">Smart Bulbs</a></li>
|
||||
<li><a href="#orgbabc09f">Smart Plugs</a></li>
|
||||
<li><a href="#orgbfd8257">ESPHome</a>
|
||||
<li><a href="#org013e4cb">Smart Bulbs</a></li>
|
||||
<li><a href="#org97d1ddc">Smart Plugs</a></li>
|
||||
<li><a href="#org8b9394b">ESPHome</a>
|
||||
<ul>
|
||||
<li><a href="#org1e7eb56">Sonoff S26 - Smart Socket</a>
|
||||
<li><a href="#orgebb3678">Sonoff S26 - Smart Socket</a>
|
||||
<ul>
|
||||
<li><a href="#org4a58ee5">Sonoff S26 1</a></li>
|
||||
<li><a href="#org207ec57">Sonoff S26 2</a></li>
|
||||
<li><a href="#org2c9bfdd">Sonoff S26 3</a></li>
|
||||
<li><a href="#org25259ac">Sonoff S26 4</a></li>
|
||||
<li><a href="#org13fa1b3">Sonoff S26 1</a></li>
|
||||
<li><a href="#org0be5bc5">Sonoff S26 2</a></li>
|
||||
<li><a href="#org7f9f788">Sonoff S26 3</a></li>
|
||||
<li><a href="#org8408ebe">Sonoff S26 4</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgc7cb06f">Anoopsyche SB14 - E27 Smart Bulb (Cold White / Warm White)</a>
|
||||
<li><a href="#orgd8c66d2">Anoopsyche SB14 - E27 Smart Bulb (Cold White / Warm White)</a>
|
||||
<ul>
|
||||
<li><a href="#org8288a83">Anoopsyche CWWW 1</a></li>
|
||||
<li><a href="#org8484933">Anoopsyche CWWW 2</a></li>
|
||||
<li><a href="#org7e841ea">Anoopsyche CWWW 1</a></li>
|
||||
<li><a href="#orge5315a1">Anoopsyche CWWW 2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org13e47c3">Sonoff BasicR2 - DIY Smart Socket</a>
|
||||
<li><a href="#org5ddf023">Sonoff BasicR2 - DIY Smart Socket</a>
|
||||
<ul>
|
||||
<li><a href="#orgd04920e">Sonoff Basic 1</a></li>
|
||||
<li><a href="#orga594994">Sonoff Basic 2</a></li>
|
||||
<li><a href="#orgb5bd748">Sonoff Basic 3</a></li>
|
||||
<li><a href="#org5ba0236">Sonoff Basic 4</a></li>
|
||||
<li><a href="#org73cd204">Sonoff Basic 1</a></li>
|
||||
<li><a href="#org4a84b8d">Sonoff Basic 2</a></li>
|
||||
<li><a href="#orgeb5dbea">Sonoff Basic 3</a></li>
|
||||
<li><a href="#org6cacaf2">Sonoff Basic 4</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org930b61a">Sonoff POWR2 - DIY Power Monitoring Smart Socket</a>
|
||||
<li><a href="#org1eb6f11">Sonoff POWR2 - DIY Power Monitoring Smart Socket</a>
|
||||
<ul>
|
||||
<li><a href="#orgfe15c18">Sonoff POWR2 1</a></li>
|
||||
<li><a href="#org4678c86">Sonoff POWR2 1</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -59,18 +59,18 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb605813" class="outline-2">
|
||||
<h2 id="orgb605813">Smart Bulbs</h2>
|
||||
<div class="outline-text-2" id="text-orgb605813">
|
||||
<div id="outline-container-org013e4cb" class="outline-2">
|
||||
<h2 id="org013e4cb">Smart Bulbs</h2>
|
||||
<div class="outline-text-2" id="text-org013e4cb">
|
||||
<p>
|
||||
<a href="https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/ref=sr_1_4?dchild=1&keywords=Anoopsyche&qid=1626991095&sr=8-4">https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/ref=sr_1_4?dchild=1&keywords=Anoopsyche&qid=1626991095&sr=8-4</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbabc09f" class="outline-2">
|
||||
<h2 id="orgbabc09f">Smart Plugs</h2>
|
||||
<div class="outline-text-2" id="text-orgbabc09f">
|
||||
<div id="outline-container-org97d1ddc" class="outline-2">
|
||||
<h2 id="org97d1ddc">Smart Plugs</h2>
|
||||
<div class="outline-text-2" id="text-org97d1ddc">
|
||||
<p>
|
||||
<a href="https://sonoff.tech/product/smart-plug/s26/">https://sonoff.tech/product/smart-plug/s26/</a>
|
||||
</p>
|
||||
@ -82,21 +82,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbfd8257" class="outline-2">
|
||||
<h2 id="orgbfd8257">ESPHome</h2>
|
||||
<div class="outline-text-2" id="text-orgbfd8257">
|
||||
<div id="outline-container-org8b9394b" class="outline-2">
|
||||
<h2 id="org8b9394b">ESPHome</h2>
|
||||
<div class="outline-text-2" id="text-org8b9394b">
|
||||
</div>
|
||||
<div id="outline-container-org1e7eb56" class="outline-3">
|
||||
<h3 id="org1e7eb56">Sonoff S26 - Smart Socket</h3>
|
||||
<div class="outline-text-3" id="text-org1e7eb56">
|
||||
<div id="outline-container-orgebb3678" class="outline-3">
|
||||
<h3 id="orgebb3678">Sonoff S26 - Smart Socket</h3>
|
||||
<div class="outline-text-3" id="text-orgebb3678">
|
||||
<p>
|
||||
<a href="https://www.amazon.fr/Connect%C3%A9e-Intelligente-Compatible-Assistant-T%C3%A9l%C3%A9command%C3%A9e/dp/B07Y1N5J6Y/">https://www.amazon.fr/Connect%C3%A9e-Intelligente-Compatible-Assistant-T%C3%A9l%C3%A9command%C3%A9e/dp/B07Y1N5J6Y/</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a58ee5" class="outline-4">
|
||||
<h4 id="org4a58ee5">Sonoff S26 1</h4>
|
||||
<div class="outline-text-4" id="text-org4a58ee5">
|
||||
<div id="outline-container-org13fa1b3" class="outline-4">
|
||||
<h4 id="org13fa1b3">Sonoff S26 1</h4>
|
||||
<div class="outline-text-4" id="text-org13fa1b3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffs26_1
|
||||
@ -154,9 +154,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org207ec57" class="outline-4">
|
||||
<h4 id="org207ec57">Sonoff S26 2</h4>
|
||||
<div class="outline-text-4" id="text-org207ec57">
|
||||
<div id="outline-container-org0be5bc5" class="outline-4">
|
||||
<h4 id="org0be5bc5">Sonoff S26 2</h4>
|
||||
<div class="outline-text-4" id="text-org0be5bc5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffs26_2
|
||||
@ -214,9 +214,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c9bfdd" class="outline-4">
|
||||
<h4 id="org2c9bfdd">Sonoff S26 3</h4>
|
||||
<div class="outline-text-4" id="text-org2c9bfdd">
|
||||
<div id="outline-container-org7f9f788" class="outline-4">
|
||||
<h4 id="org7f9f788">Sonoff S26 3</h4>
|
||||
<div class="outline-text-4" id="text-org7f9f788">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffs26_3
|
||||
@ -274,9 +274,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org25259ac" class="outline-4">
|
||||
<h4 id="org25259ac">Sonoff S26 4</h4>
|
||||
<div class="outline-text-4" id="text-org25259ac">
|
||||
<div id="outline-container-org8408ebe" class="outline-4">
|
||||
<h4 id="org8408ebe">Sonoff S26 4</h4>
|
||||
<div class="outline-text-4" id="text-org8408ebe">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffs26_4
|
||||
@ -335,17 +335,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc7cb06f" class="outline-3">
|
||||
<h3 id="orgc7cb06f">Anoopsyche SB14 - E27 Smart Bulb (Cold White / Warm White)</h3>
|
||||
<div class="outline-text-3" id="text-orgc7cb06f">
|
||||
<div id="outline-container-orgd8c66d2" class="outline-3">
|
||||
<h3 id="orgd8c66d2">Anoopsyche SB14 - E27 Smart Bulb (Cold White / Warm White)</h3>
|
||||
<div class="outline-text-3" id="text-orgd8c66d2">
|
||||
<p>
|
||||
<a href="https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/">https://www.amazon.fr/Ecologique-Compatible-T%C3%A9l%C3%A9commande-Smartphone-%C3%A9nerg%C3%A9tique/dp/B07KWPQMHH/</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8288a83" class="outline-4">
|
||||
<h4 id="org8288a83">Anoopsyche CWWW 1</h4>
|
||||
<div class="outline-text-4" id="text-org8288a83">
|
||||
<div id="outline-container-org7e841ea" class="outline-4">
|
||||
<h4 id="org7e841ea">Anoopsyche CWWW 1</h4>
|
||||
<div class="outline-text-4" id="text-org7e841ea">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: anoopsyche_cwww_1
|
||||
@ -393,9 +393,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8484933" class="outline-4">
|
||||
<h4 id="org8484933">Anoopsyche CWWW 2</h4>
|
||||
<div class="outline-text-4" id="text-org8484933">
|
||||
<div id="outline-container-orge5315a1" class="outline-4">
|
||||
<h4 id="orge5315a1">Anoopsyche CWWW 2</h4>
|
||||
<div class="outline-text-4" id="text-orge5315a1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: anoopsyche_cwww_2
|
||||
@ -444,18 +444,18 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org13e47c3" class="outline-3">
|
||||
<h3 id="org13e47c3">Sonoff BasicR2 - DIY Smart Socket</h3>
|
||||
<div class="outline-text-3" id="text-org13e47c3">
|
||||
<div id="outline-container-org5ddf023" class="outline-3">
|
||||
<h3 id="org5ddf023">Sonoff BasicR2 - DIY Smart Socket</h3>
|
||||
<div class="outline-text-3" id="text-org5ddf023">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://esphome.io/devices/sonoff_basic.html">ESPHome documentation</a></li>
|
||||
<li><a href="https://sonoff.tech/product/diy-smart-switch/basicr2/">Sonoff Website</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd04920e" class="outline-4">
|
||||
<h4 id="orgd04920e">Sonoff Basic 1</h4>
|
||||
<div class="outline-text-4" id="text-orgd04920e">
|
||||
<div id="outline-container-org73cd204" class="outline-4">
|
||||
<h4 id="org73cd204">Sonoff Basic 1</h4>
|
||||
<div class="outline-text-4" id="text-org73cd204">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffbasic_1
|
||||
@ -500,9 +500,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga594994" class="outline-4">
|
||||
<h4 id="orga594994">Sonoff Basic 2</h4>
|
||||
<div class="outline-text-4" id="text-orga594994">
|
||||
<div id="outline-container-org4a84b8d" class="outline-4">
|
||||
<h4 id="org4a84b8d">Sonoff Basic 2</h4>
|
||||
<div class="outline-text-4" id="text-org4a84b8d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffbasic_2
|
||||
@ -546,9 +546,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb5bd748" class="outline-4">
|
||||
<h4 id="orgb5bd748">Sonoff Basic 3</h4>
|
||||
<div class="outline-text-4" id="text-orgb5bd748">
|
||||
<div id="outline-container-orgeb5dbea" class="outline-4">
|
||||
<h4 id="orgeb5dbea">Sonoff Basic 3</h4>
|
||||
<div class="outline-text-4" id="text-orgeb5dbea">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffbasic_3
|
||||
@ -592,9 +592,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org5ba0236" class="outline-4">
|
||||
<h4 id="org5ba0236">Sonoff Basic 4</h4>
|
||||
<div class="outline-text-4" id="text-org5ba0236">
|
||||
<div id="outline-container-org6cacaf2" class="outline-4">
|
||||
<h4 id="org6cacaf2">Sonoff Basic 4</h4>
|
||||
<div class="outline-text-4" id="text-org6cacaf2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffbasic_4
|
||||
@ -640,17 +640,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org930b61a" class="outline-3">
|
||||
<h3 id="org930b61a">Sonoff POWR2 - DIY Power Monitoring Smart Socket</h3>
|
||||
<div class="outline-text-3" id="text-org930b61a">
|
||||
<div id="outline-container-org1eb6f11" class="outline-3">
|
||||
<h3 id="org1eb6f11">Sonoff POWR2 - DIY Power Monitoring Smart Socket</h3>
|
||||
<div class="outline-text-3" id="text-org1eb6f11">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://sonoff.tech/product/diy-smart-switch/powr2/">Sonoff Website</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfe15c18" class="outline-4">
|
||||
<h4 id="orgfe15c18">Sonoff POWR2 1</h4>
|
||||
<div class="outline-text-4" id="text-orgfe15c18">
|
||||
<div id="outline-container-org4678c86" class="outline-4">
|
||||
<h4 id="org4678c86">Sonoff POWR2 1</h4>
|
||||
<div class="outline-text-4" id="text-org4678c86">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">esphome</span>:
|
||||
<span class="org-variable-name">name</span>: sonoffpowr2_1
|
||||
@ -713,7 +713,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>LaTeX Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,31 +16,42 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">LaTeX Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org55e901a">Awesome LaTeX</a></li>
|
||||
<li><a href="#orgef9bd32">Learn LaTeX</a></li>
|
||||
<li><a href="#org4efc949">Tools</a></li>
|
||||
<li><a href="#org9043e21">Theme/class</a></li>
|
||||
<li><a href="#orgc77243a">Beamer</a></li>
|
||||
<li><a href="#org07d5f7a">Tikz</a></li>
|
||||
<li><a href="#orgeafcabf">Packages</a></li>
|
||||
<li><a href="#org6238db5">Snippets</a>
|
||||
<li><a href="#org3ae2063">LatexMK</a></li>
|
||||
<li><a href="#org950d499">Awesome LaTeX</a></li>
|
||||
<li><a href="#orge68bc8b">Learn LaTeX</a></li>
|
||||
<li><a href="#org6e7999a">Tools</a></li>
|
||||
<li><a href="#orgcf6851d">Theme/class</a></li>
|
||||
<li><a href="#orgb501bb7">Beamer</a></li>
|
||||
<li><a href="#org5d766dd">Tikz</a></li>
|
||||
<li><a href="#orgf9e795a">Packages</a></li>
|
||||
<li><a href="#org40d8fea">Snippets</a>
|
||||
<ul>
|
||||
<li><a href="#org830279f">Make arrows with text above and bellow</a></li>
|
||||
<li><a href="#org237e524">Make arrows with text above and bellow</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org55e901a" class="outline-2">
|
||||
<h2 id="org55e901a">Awesome LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-org55e901a">
|
||||
<div id="outline-container-org3ae2063" class="outline-2">
|
||||
<h2 id="org3ae2063">LatexMK</h2>
|
||||
<div class="outline-text-2" id="text-org3ae2063">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">$pdf_previewer</span> = <span class="org-string">"zathura %O %S"</span>;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org950d499" class="outline-2">
|
||||
<h2 id="org950d499">Awesome LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-org950d499">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://github.com/cmichi/latex-template-collection">https://github.com/cmichi/latex-template-collection</a></li>
|
||||
<li><a href="https://github.com/latex3/latex3">https://github.com/latex3/latex3</a></li>
|
||||
@ -51,18 +62,18 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgef9bd32" class="outline-2">
|
||||
<h2 id="orgef9bd32">Learn LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-orgef9bd32">
|
||||
<div id="outline-container-orge68bc8b" class="outline-2">
|
||||
<h2 id="orge68bc8b">Learn LaTeX</h2>
|
||||
<div class="outline-text-2" id="text-orge68bc8b">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://www.youtube.com/user/AlainOlivetti/playlists">https://www.youtube.com/user/AlainOlivetti/playlists</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4efc949" class="outline-2">
|
||||
<h2 id="org4efc949">Tools</h2>
|
||||
<div class="outline-text-2" id="text-org4efc949">
|
||||
<div id="outline-container-org6e7999a" class="outline-2">
|
||||
<h2 id="org6e7999a">Tools</h2>
|
||||
<div class="outline-text-2" id="text-org6e7999a">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://tectonic-typesetting.github.io/en-US/">https://tectonic-typesetting.github.io/en-US/</a></li>
|
||||
<li><a href="https://github.com/gpoore/minted">https://github.com/gpoore/minted</a></li>
|
||||
@ -70,9 +81,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9043e21" class="outline-2">
|
||||
<h2 id="org9043e21">Theme/class</h2>
|
||||
<div class="outline-text-2" id="text-org9043e21">
|
||||
<div id="outline-container-orgcf6851d" class="outline-2">
|
||||
<h2 id="orgcf6851d">Theme/class</h2>
|
||||
<div class="outline-text-2" id="text-orgcf6851d">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://github.com/derric/cleanthesis">https://github.com/derric/cleanthesis</a></li>
|
||||
<li><a href="https://github.com/tdehaeze/clean-latex-template">https://github.com/tdehaeze/clean-latex-template</a></li>
|
||||
@ -82,9 +93,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc77243a" class="outline-2">
|
||||
<h2 id="orgc77243a">Beamer</h2>
|
||||
<div class="outline-text-2" id="text-orgc77243a">
|
||||
<div id="outline-container-orgb501bb7" class="outline-2">
|
||||
<h2 id="orgb501bb7">Beamer</h2>
|
||||
<div class="outline-text-2" id="text-orgb501bb7">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://github.com/josephwright/beamer">https://github.com/josephwright/beamer</a></li>
|
||||
</ul>
|
||||
@ -99,9 +110,9 @@ Themes:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org07d5f7a" class="outline-2">
|
||||
<h2 id="org07d5f7a">Tikz</h2>
|
||||
<div class="outline-text-2" id="text-org07d5f7a">
|
||||
<div id="outline-container-org5d766dd" class="outline-2">
|
||||
<h2 id="org5d766dd">Tikz</h2>
|
||||
<div class="outline-text-2" id="text-org5d766dd">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://github.com/walmes/Tikz">https://github.com/walmes/Tikz</a></li>
|
||||
<li><a href="https://github.com/xiaohanyu/awesome-tikz">https://github.com/xiaohanyu/awesome-tikz</a></li>
|
||||
@ -113,27 +124,27 @@ Themes:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeafcabf" class="outline-2">
|
||||
<h2 id="orgeafcabf">Packages</h2>
|
||||
<div class="outline-text-2" id="text-orgeafcabf">
|
||||
<div id="outline-container-orgf9e795a" class="outline-2">
|
||||
<h2 id="orgf9e795a">Packages</h2>
|
||||
<div class="outline-text-2" id="text-orgf9e795a">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://github.com/T-F-S/tcolorbox">https://github.com/T-F-S/tcolorbox</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6238db5" class="outline-2">
|
||||
<h2 id="org6238db5">Snippets</h2>
|
||||
<div class="outline-text-2" id="text-org6238db5">
|
||||
<div id="outline-container-org40d8fea" class="outline-2">
|
||||
<h2 id="org40d8fea">Snippets</h2>
|
||||
<div class="outline-text-2" id="text-org40d8fea">
|
||||
</div>
|
||||
<div id="outline-container-org830279f" class="outline-3">
|
||||
<h3 id="org830279f">Make arrows with text above and bellow</h3>
|
||||
<div id="outline-container-org237e524" class="outline-3">
|
||||
<h3 id="org237e524">Make arrows with text above and bellow</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
825
docs/mail.html
825
docs/mail.html
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>System maintenance</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,16 +22,16 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgffc515a">Update</a>
|
||||
<li><a href="#orgcee4f36">Update</a>
|
||||
<ul>
|
||||
<li><a href="#org1dbb612">System packages</a></li>
|
||||
<li><a href="#orge4759bc">NPM</a></li>
|
||||
<li><a href="#org359ad9e">PIP</a></li>
|
||||
<li><a href="#org4a73361">Emacs and Vim</a></li>
|
||||
<li><a href="#orga1d17d9">System packages</a></li>
|
||||
<li><a href="#org7a43bdd">NPM</a></li>
|
||||
<li><a href="#org1a3938d">PIP</a></li>
|
||||
<li><a href="#org02e5c0d">Emacs and Vim</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org91cdfc6">Check problems in the system</a></li>
|
||||
<li><a href="#org51b97e6">Check orphan and dropped packages</a></li>
|
||||
<li><a href="#org57b56ea">Check problems in the system</a></li>
|
||||
<li><a href="#org04cbee1">Check orphan and dropped packages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -39,13 +39,13 @@
|
||||
<a href="https://wiki.archlinux.org/title/System_maintenance">https://wiki.archlinux.org/title/System_maintenance</a>
|
||||
</p>
|
||||
|
||||
<div id="outline-container-orgffc515a" class="outline-2">
|
||||
<h2 id="orgffc515a">Update</h2>
|
||||
<div class="outline-text-2" id="text-orgffc515a">
|
||||
<div id="outline-container-orgcee4f36" class="outline-2">
|
||||
<h2 id="orgcee4f36">Update</h2>
|
||||
<div class="outline-text-2" id="text-orgcee4f36">
|
||||
</div>
|
||||
<div id="outline-container-org1dbb612" class="outline-3">
|
||||
<h3 id="org1dbb612">System packages</h3>
|
||||
<div class="outline-text-3" id="text-org1dbb612">
|
||||
<div id="outline-container-orga1d17d9" class="outline-3">
|
||||
<h3 id="orga1d17d9">System packages</h3>
|
||||
<div class="outline-text-3" id="text-orga1d17d9">
|
||||
<p>
|
||||
To check packages to update:
|
||||
</p>
|
||||
@ -64,9 +64,9 @@ And then to perform the update:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge4759bc" class="outline-3">
|
||||
<h3 id="orge4759bc">NPM</h3>
|
||||
<div class="outline-text-3" id="text-orge4759bc">
|
||||
<div id="outline-container-org7a43bdd" class="outline-3">
|
||||
<h3 id="org7a43bdd">NPM</h3>
|
||||
<div class="outline-text-3" id="text-org7a43bdd">
|
||||
<p>
|
||||
First update <code>npm</code> itself
|
||||
</p>
|
||||
@ -93,9 +93,9 @@ And finally perform the update:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org359ad9e" class="outline-3">
|
||||
<h3 id="org359ad9e">PIP</h3>
|
||||
<div class="outline-text-3" id="text-org359ad9e">
|
||||
<div id="outline-container-org1a3938d" class="outline-3">
|
||||
<h3 id="org1a3938d">PIP</h3>
|
||||
<div class="outline-text-3" id="text-org1a3938d">
|
||||
<p>
|
||||
First upgrade <code>pip</code> itself:
|
||||
</p>
|
||||
@ -122,9 +122,9 @@ And update everything with:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a73361" class="outline-3">
|
||||
<h3 id="org4a73361">Emacs and Vim</h3>
|
||||
<div class="outline-text-3" id="text-org4a73361">
|
||||
<div id="outline-container-org02e5c0d" class="outline-3">
|
||||
<h3 id="org02e5c0d">Emacs and Vim</h3>
|
||||
<div class="outline-text-3" id="text-org02e5c0d">
|
||||
<p>
|
||||
Update Doom emacs with:
|
||||
</p>
|
||||
@ -144,9 +144,9 @@ And Vim packages with:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org91cdfc6" class="outline-2">
|
||||
<h2 id="org91cdfc6">Check problems in the system</h2>
|
||||
<div class="outline-text-2" id="text-org91cdfc6">
|
||||
<div id="outline-container-org57b56ea" class="outline-2">
|
||||
<h2 id="org57b56ea">Check problems in the system</h2>
|
||||
<div class="outline-text-2" id="text-org57b56ea">
|
||||
<p>
|
||||
First check for failed services:
|
||||
</p>
|
||||
@ -173,9 +173,9 @@ Look for errors in the logs:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org51b97e6" class="outline-2">
|
||||
<h2 id="org51b97e6">Check orphan and dropped packages</h2>
|
||||
<div class="outline-text-2" id="text-org51b97e6">
|
||||
<div id="outline-container-org04cbee1" class="outline-2">
|
||||
<h2 id="org04cbee1">Check orphan and dropped packages</h2>
|
||||
<div class="outline-text-2" id="text-org04cbee1">
|
||||
<p>
|
||||
Run the following to list all orphan packages:
|
||||
</p>
|
||||
@ -204,7 +204,7 @@ Use the <code>ancient-packages</code> (<a href="https://aur.archlinux.org/packag
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
131
docs/matlab.html
131
docs/matlab.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Matlab Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,49 +22,50 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orga81f527">Startup</a>
|
||||
<li><a href="#orgc1c9b6e">Startup</a>
|
||||
<ul>
|
||||
<li><a href="#orgadff39b">Setup LaTeX as a default interpreter</a></li>
|
||||
<li><a href="#orga7cc243">Default Line Width</a></li>
|
||||
<li><a href="#org9bcf5b6">Default grids on all axis</a></li>
|
||||
<li><a href="#orgcda5566">Default Font Size</a></li>
|
||||
<li><a href="#org0a7bfe6">Default Fonts</a></li>
|
||||
<li><a href="#orgced64b8">Make figures into a Box</a></li>
|
||||
<li><a href="#org731843c">Default Colors</a></li>
|
||||
<li><a href="#orgc91b474">Default Plot Colors</a></li>
|
||||
<li><a href="#orgc0980a1">Figure paper and window style</a></li>
|
||||
<li><a href="#org7ed9ec6">Set the display format</a></li>
|
||||
<li><a href="#orgafda72c">Home Path</a></li>
|
||||
<li><a href="#orgfcd649d">Add to path</a></li>
|
||||
<li><a href="#org1b5f37b">Clear</a></li>
|
||||
<li><a href="#org46c0747">Setup LaTeX as a default interpreter</a></li>
|
||||
<li><a href="#org75c8e73">Default Line Width</a></li>
|
||||
<li><a href="#orgd61fc7b">Default grids on all axis</a></li>
|
||||
<li><a href="#orgf3ae289">Default Font Size</a></li>
|
||||
<li><a href="#orgb5d686c">Default Fonts</a></li>
|
||||
<li><a href="#orgcdc2b07">Make figures into a Box</a></li>
|
||||
<li><a href="#org9e8d7a5">Default Colors</a></li>
|
||||
<li><a href="#org140426b">Default Plot Colors</a></li>
|
||||
<li><a href="#org4b4a89b">Figure paper and window style</a></li>
|
||||
<li><a href="#orgf6a9a64">Set the display format</a></li>
|
||||
<li><a href="#org8f8b054">Home Path</a></li>
|
||||
<li><a href="#orgff83ff5">Add to path</a></li>
|
||||
<li><a href="#org03b369c">Clear</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgfcee066">Setup</a></li>
|
||||
<li><a href="#org43c5113">Setup</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga81f527" class="outline-2">
|
||||
<h2 id="orga81f527">Startup</h2>
|
||||
<div class="outline-text-2" id="text-orga81f527">
|
||||
<div id="outline-container-orgc1c9b6e" class="outline-2">
|
||||
<h2 id="orgc1c9b6e">Startup</h2>
|
||||
<div class="outline-text-2" id="text-orgc1c9b6e">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgadff39b" class="outline-3">
|
||||
<h3 id="orgadff39b">Setup LaTeX as a default interpreter</h3>
|
||||
<div class="outline-text-3" id="text-orgadff39b">
|
||||
<div id="outline-container-org46c0747" class="outline-3">
|
||||
<h3 id="org46c0747">Setup LaTeX as a default interpreter</h3>
|
||||
<div class="outline-text-3" id="text-org46c0747">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesTickLabelInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontName'</span>, <span class="org-string">'LaTeX'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultLegendInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultConstantLineInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga7cc243" class="outline-3">
|
||||
<h3 id="orga7cc243">Default Line Width</h3>
|
||||
<div class="outline-text-3" id="text-orga7cc243">
|
||||
<div id="outline-container-org75c8e73" class="outline-3">
|
||||
<h3 id="org75c8e73">Default Line Width</h3>
|
||||
<div class="outline-text-3" id="text-org75c8e73">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultLineLineWidth'</span>, 1.5);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesLineWidth'</span>, 0.5);
|
||||
@ -73,9 +74,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9bcf5b6" class="outline-3">
|
||||
<h3 id="org9bcf5b6">Default grids on all axis</h3>
|
||||
<div class="outline-text-3" id="text-org9bcf5b6">
|
||||
<div id="outline-container-orgd61fc7b" class="outline-3">
|
||||
<h3 id="orgd61fc7b">Default grids on all axis</h3>
|
||||
<div class="outline-text-3" id="text-orgd61fc7b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesXGrid'</span>,<span class="org-string">'on'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesYGrid'</span>,<span class="org-string">'on'</span>);
|
||||
@ -85,34 +86,36 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcda5566" class="outline-3">
|
||||
<h3 id="orgcda5566">Default Font Size</h3>
|
||||
<div class="outline-text-3" id="text-orgcda5566">
|
||||
<div id="outline-container-orgf3ae289" class="outline-3">
|
||||
<h3 id="orgf3ae289">Default Font Size</h3>
|
||||
<div class="outline-text-3" id="text-orgf3ae289">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontUnits'</span>, <span class="org-string">'points'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontSize'</span>, 10);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontUnits'</span>, <span class="org-string">'points'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontSize'</span>, 10);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultUicontrolFontSize'</span>, 10);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultConstantLineFontSize'</span>, 10);
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0a7bfe6" class="outline-3">
|
||||
<h3 id="org0a7bfe6">Default Fonts</h3>
|
||||
<div class="outline-text-3" id="text-org0a7bfe6">
|
||||
<div id="outline-container-orgb5d686c" class="outline-3">
|
||||
<h3 id="orgb5d686c">Default Fonts</h3>
|
||||
<div class="outline-text-3" id="text-orgb5d686c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontName'</span>, <span class="org-string">'Helvetica'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontName'</span>, <span class="org-string">'Helvetica'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultConstantLineFontName'</span>, <span class="org-string">'Helvetica'</span>);
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgced64b8" class="outline-3">
|
||||
<h3 id="orgced64b8">Make figures into a Box</h3>
|
||||
<div class="outline-text-3" id="text-orgced64b8">
|
||||
<div id="outline-container-orgcdc2b07" class="outline-3">
|
||||
<h3 id="orgcdc2b07">Make figures into a Box</h3>
|
||||
<div class="outline-text-3" id="text-orgcdc2b07">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesBox'</span>, <span class="org-string">'on'</span>);
|
||||
</pre>
|
||||
@ -120,9 +123,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org731843c" class="outline-3">
|
||||
<h3 id="org731843c">Default Colors</h3>
|
||||
<div class="outline-text-3" id="text-org731843c">
|
||||
<div id="outline-container-org9e8d7a5" class="outline-3">
|
||||
<h3 id="org9e8d7a5">Default Colors</h3>
|
||||
<div class="outline-text-3" id="text-org9e8d7a5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesColor'</span>, <span class="org-string">'w'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesXColor'</span>, <span class="org-string">'k'</span>);
|
||||
@ -134,9 +137,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc91b474" class="outline-3">
|
||||
<h3 id="orgc91b474">Default Plot Colors</h3>
|
||||
<div class="outline-text-3" id="text-orgc91b474">
|
||||
<div id="outline-container-org140426b" class="outline-3">
|
||||
<h3 id="org140426b">Default Plot Colors</h3>
|
||||
<div class="outline-text-3" id="text-org140426b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab">c1 = [ 0 0.4470 0.7410]; <span class="org-comment-delimiter">% </span><span class="org-comment">Blue</span>
|
||||
c2 = [0.8500 0.3250 0.0980]; <span class="org-comment-delimiter">% </span><span class="org-comment">Orange</span>
|
||||
@ -152,9 +155,9 @@ c7 = [0.6350 0.0780 0.1840]; <span class="org-comment-delimiter">% </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc0980a1" class="outline-3">
|
||||
<h3 id="orgc0980a1">Figure paper and window style</h3>
|
||||
<div class="outline-text-3" id="text-orgc0980a1">
|
||||
<div id="outline-container-org4b4a89b" class="outline-3">
|
||||
<h3 id="org4b4a89b">Figure paper and window style</h3>
|
||||
<div class="outline-text-3" id="text-org4b4a89b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab"><span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigurePaperType'</span>, <span class="org-string">'A4'</span>);
|
||||
<span class="org-builtin">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigureWindowStyle'</span>, <span class="org-string">'normal'</span>);
|
||||
@ -163,9 +166,9 @@ c7 = [0.6350 0.0780 0.1840]; <span class="org-comment-delimiter">% </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7ed9ec6" class="outline-3">
|
||||
<h3 id="org7ed9ec6">Set the display format</h3>
|
||||
<div class="outline-text-3" id="text-org7ed9ec6">
|
||||
<div id="outline-container-orgf6a9a64" class="outline-3">
|
||||
<h3 id="orgf6a9a64">Set the display format</h3>
|
||||
<div class="outline-text-3" id="text-orgf6a9a64">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab">format compact;
|
||||
format long g;
|
||||
@ -174,19 +177,19 @@ format long g;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgafda72c" class="outline-3">
|
||||
<h3 id="orgafda72c">Home Path</h3>
|
||||
<div class="outline-text-3" id="text-orgafda72c">
|
||||
<div id="outline-container-org8f8b054" class="outline-3">
|
||||
<h3 id="org8f8b054">Home Path</h3>
|
||||
<div class="outline-text-3" id="text-org8f8b054">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab">toolboxes_path = <span class="org-string">'~/Cloud/thesis/matlab/toolboxes/'</span>;
|
||||
<pre class="src src-matlab">toolboxes_path = <span class="org-string">'~/Cloud/programming/matlab/'</span>;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfcd649d" class="outline-3">
|
||||
<h3 id="orgfcd649d">Add to path</h3>
|
||||
<div class="outline-text-3" id="text-orgfcd649d">
|
||||
<div id="outline-container-orgff83ff5" class="outline-3">
|
||||
<h3 id="orgff83ff5">Add to path</h3>
|
||||
<div class="outline-text-3" id="text-orgff83ff5">
|
||||
<p>
|
||||
Provides <code>vecfig3</code> for FRF fitting (<a href="https://www.sintef.no/projectweb/vectorfitting/downloads/">link</a>).
|
||||
</p>
|
||||
@ -285,9 +288,9 @@ Toolbox to work with fractional order models (<a href="https://github.com/extall
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1b5f37b" class="outline-3">
|
||||
<h3 id="org1b5f37b">Clear</h3>
|
||||
<div class="outline-text-3" id="text-org1b5f37b">
|
||||
<div id="outline-container-org03b369c" class="outline-3">
|
||||
<h3 id="org03b369c">Clear</h3>
|
||||
<div class="outline-text-3" id="text-org03b369c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab">clear;
|
||||
</pre>
|
||||
@ -296,9 +299,9 @@ Toolbox to work with fractional order models (<a href="https://github.com/extall
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfcee066" class="outline-2">
|
||||
<h2 id="orgfcee066">Setup</h2>
|
||||
<div class="outline-text-2" id="text-orgfcee066">
|
||||
<div id="outline-container-org43c5113" class="outline-2">
|
||||
<h2 id="org43c5113">Setup</h2>
|
||||
<div class="outline-text-2" id="text-org43c5113">
|
||||
<p>
|
||||
This script should be run once after Matlab is installed.
|
||||
</p>
|
||||
@ -307,7 +310,7 @@ This script should be run once after Matlab is installed.
|
||||
Import a nice color scheme.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-matlab">schemer_import(<span class="org-string">'~/Cloud/thesis/matlab/toolboxes/Add-Ons/matlab-schemer/schemes/monokai.prf'</span>);
|
||||
<pre class="src src-matlab">schemer_import(<span class="org-string">'~/Cloud/programming/matlab/matlab-schemer/schemes/monokai.prf'</span>);
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -315,7 +318,7 @@ Import a nice color scheme.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:22 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Music/Sound Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,18 +16,18 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Music/Sound Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#pavucontrol"><code>pavucontrol</code> - Volume Control</a></li>
|
||||
<li><a href="#mopidy"><code>mopidy</code> - Music Server</a></li>
|
||||
<li><a href="#ncmpcpp"><code>ncmpcpp</code> - Ncurses based MPD client</a>
|
||||
<ul>
|
||||
<li><a href="#orga510c77">Config</a></li>
|
||||
<li><a href="#orga43b7ae">Bindings</a></li>
|
||||
<li><a href="#org88dfeba">Config</a></li>
|
||||
<li><a href="#org4ea9864">Bindings</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#beets"><code>beets</code> - Media library management</a></li>
|
||||
@ -106,9 +106,9 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga510c77" class="outline-3">
|
||||
<h3 id="orga510c77">Config</h3>
|
||||
<div class="outline-text-3" id="text-orga510c77">
|
||||
<div id="outline-container-org88dfeba" class="outline-3">
|
||||
<h3 id="org88dfeba">Config</h3>
|
||||
<div class="outline-text-3" id="text-org88dfeba">
|
||||
<p>
|
||||
Configuration directory.
|
||||
</p>
|
||||
@ -131,7 +131,7 @@ MPD Configuration.
|
||||
Notification of song change.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = dunstify --replace=<span class="org-highlight-numbers-number">19845</span> <span class="org-string">"Now Playing ♫"</span> <span class="org-string">"$(mpc current)"</span>
|
||||
<pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = notify-send --hint=string:x-dunst-stack-tag:Z7uCd3ZP <span class="org-string">"Now Playing ♫"</span> <span class="org-string">"$(mpc current)"</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -163,9 +163,9 @@ Sorting by tracking number and then title
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga43b7ae" class="outline-3">
|
||||
<h3 id="orga43b7ae">Bindings</h3>
|
||||
<div class="outline-text-3" id="text-orga43b7ae">
|
||||
<div id="outline-container-org4ea9864" class="outline-3">
|
||||
<h3 id="org4ea9864">Bindings</h3>
|
||||
<div class="outline-text-3" id="text-org4ea9864">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">def_key <span class="org-string">"q"</span>
|
||||
run_external_command <span class="org-string">"sh -c 'if [ $TMUX ] ; then tmux detach; fi'"</span>
|
||||
@ -262,7 +262,7 @@ plugins: fromfilename discogs
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:22</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Newsboat Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,60 +16,60 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Newsboat Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org9f60482">Config</a>
|
||||
<li><a href="#org5f65185">Config</a>
|
||||
<ul>
|
||||
<li><a href="#org15af5e2">Reload configuration</a></li>
|
||||
<li><a href="#org0933803">Basic configuration</a></li>
|
||||
<li><a href="#org5e10a81">Queries</a></li>
|
||||
<li><a href="#org78e6566">Filters</a></li>
|
||||
<li><a href="#orga4e2295">Notifications</a>
|
||||
<li><a href="#org4cabf87">Reload configuration</a></li>
|
||||
<li><a href="#org12b7956">Basic configuration</a></li>
|
||||
<li><a href="#orgc0ab537">Queries</a></li>
|
||||
<li><a href="#orgc255f6d">Filters</a></li>
|
||||
<li><a href="#org523e61b">Notifications</a>
|
||||
<ul>
|
||||
<li><a href="#org1a70b02">Notification Script</a></li>
|
||||
<li><a href="#orge69d0d2">Notification Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgde1cb8f">Bindings</a></li>
|
||||
<li><a href="#org072313d">Bookmarking</a>
|
||||
<li><a href="#org3f0a36a">Bindings</a></li>
|
||||
<li><a href="#orga59b174">Bookmarking</a>
|
||||
<ul>
|
||||
<li><a href="#org3f3350e">Buku Scripts</a></li>
|
||||
<li><a href="#org996f016">Buku Scripts</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgce6d980">Macros - Starts with , key</a></li>
|
||||
<li><a href="#orgc09c767">hide articles matching</a></li>
|
||||
<li><a href="#org3bfe48f">Feedlist and Article Format</a></li>
|
||||
<li><a href="#org11be094">Color Scheme</a></li>
|
||||
<li><a href="#org4816386">Macros - Starts with , key</a></li>
|
||||
<li><a href="#org0a44328">hide articles matching</a></li>
|
||||
<li><a href="#org5ed0270">Feedlist and Article Format</a></li>
|
||||
<li><a href="#org5bbcad7">Color Scheme</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org93d44b0">Colors</a></li>
|
||||
<li><a href="#org59167cc">URLS</a>
|
||||
<li><a href="#org303641b">Colors</a></li>
|
||||
<li><a href="#org44d9fd6">URLS</a>
|
||||
<ul>
|
||||
<li><a href="#org00ecbe1">Queries</a></li>
|
||||
<li><a href="#org4f78bf6">Newsfeeds</a>
|
||||
<li><a href="#org6d2aa41">Queries</a></li>
|
||||
<li><a href="#org2fd9f77">Newsfeeds</a>
|
||||
<ul>
|
||||
<li><a href="#orgeac6141">Matlab and Control</a></li>
|
||||
<li><a href="#org6f1ade4">Audio and Electronics</a></li>
|
||||
<li><a href="#org3fb022a">Science</a></li>
|
||||
<li><a href="#org413eed9">Linux, Emacs and Computer Science</a></li>
|
||||
<li><a href="#org0eceb33">Matlab and Control</a></li>
|
||||
<li><a href="#org6f3cb6b">Audio and Electronics</a></li>
|
||||
<li><a href="#org2815528">Science</a></li>
|
||||
<li><a href="#org78e8293">Linux, Emacs and Computer Science</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf0d875f">Youtube</a>
|
||||
<li><a href="#orgd0a6f4c">Youtube</a>
|
||||
<ul>
|
||||
<li><a href="#orgd0176e2">Matlab and Control</a></li>
|
||||
<li><a href="#orgd531708">Audio and Electronics</a></li>
|
||||
<li><a href="#org1c17af0">Linux, Emacs and Computer Science</a></li>
|
||||
<li><a href="#org91da714">3D-Printing and DIY</a></li>
|
||||
<li><a href="#org6816bbf">Interesting - General</a></li>
|
||||
<li><a href="#orgd15ca0b">Science</a></li>
|
||||
<li><a href="#org5f8cf93">Keyboard</a></li>
|
||||
<li><a href="#org09e27a9">Music</a></li>
|
||||
<li><a href="#org3943d30">Space</a></li>
|
||||
<li><a href="#orgcc26d24">Engineering</a></li>
|
||||
<li><a href="#orgb54aeea">Random - Fun - Others</a></li>
|
||||
<li><a href="#orgd1f5266">Matlab and Control</a></li>
|
||||
<li><a href="#orgd4761c4">Audio and Electronics</a></li>
|
||||
<li><a href="#orgddcfcbe">Linux, Emacs and Computer Science</a></li>
|
||||
<li><a href="#orgb2136de">3D-Printing and DIY</a></li>
|
||||
<li><a href="#org2cb120b">Interesting - General</a></li>
|
||||
<li><a href="#orgbaa45e4">Science</a></li>
|
||||
<li><a href="#orgcc7cd12">Keyboard</a></li>
|
||||
<li><a href="#org6e2501a">Music</a></li>
|
||||
<li><a href="#orgd0779bc">Space</a></li>
|
||||
<li><a href="#org4c6fc79">Engineering</a></li>
|
||||
<li><a href="#org01e5d43">Random - Fun - Others</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -82,14 +82,14 @@
|
||||
<a href="https://newsboat.org/releases/2.12/docs/newsboat.html">https://newsboat.org/releases/2.12/docs/newsboat.html</a>
|
||||
</p>
|
||||
|
||||
<div id="outline-container-org9f60482" class="outline-2">
|
||||
<h2 id="org9f60482">Config</h2>
|
||||
<div class="outline-text-2" id="text-org9f60482">
|
||||
<div id="outline-container-org5f65185" class="outline-2">
|
||||
<h2 id="org5f65185">Config</h2>
|
||||
<div class="outline-text-2" id="text-org5f65185">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org15af5e2" class="outline-3">
|
||||
<h3 id="org15af5e2">Reload configuration</h3>
|
||||
<div class="outline-text-3" id="text-org15af5e2">
|
||||
<div id="outline-container-org4cabf87" class="outline-3">
|
||||
<h3 id="org4cabf87">Reload configuration</h3>
|
||||
<div class="outline-text-3" id="text-org4cabf87">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">All feeds will be automatically reloaded after a certain time has passed</span>
|
||||
auto-reload yes
|
||||
@ -107,9 +107,9 @@ suppress-first-reload yes
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0933803" class="outline-3">
|
||||
<h3 id="org0933803">Basic configuration</h3>
|
||||
<div class="outline-text-3" id="text-org0933803">
|
||||
<div id="outline-container-org12b7956" class="outline-3">
|
||||
<h3 id="org12b7956">Basic configuration</h3>
|
||||
<div class="outline-text-3" id="text-org12b7956">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">confirm-exit no
|
||||
|
||||
@ -130,9 +130,9 @@ player <span class="org-string">"mpv"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5e10a81" class="outline-3">
|
||||
<h3 id="org5e10a81">Queries</h3>
|
||||
<div class="outline-text-3" id="text-org5e10a81">
|
||||
<div id="outline-container-orgc0ab537" class="outline-3">
|
||||
<h3 id="orgc0ab537">Queries</h3>
|
||||
<div class="outline-text-3" id="text-orgc0ab537">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">prepopulate-query-feeds yes
|
||||
</pre>
|
||||
@ -140,9 +140,9 @@ player <span class="org-string">"mpv"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org78e6566" class="outline-3">
|
||||
<h3 id="org78e6566">Filters</h3>
|
||||
<div class="outline-text-3" id="text-org78e6566">
|
||||
<div id="outline-container-orgc255f6d" class="outline-3">
|
||||
<h3 id="orgc255f6d">Filters</h3>
|
||||
<div class="outline-text-3" id="text-orgc255f6d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">define-filter <span class="org-string">"Unread Articles"</span> <span class="org-string">"unread = \"yes\""</span>
|
||||
</pre>
|
||||
@ -150,9 +150,9 @@ player <span class="org-string">"mpv"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga4e2295" class="outline-3">
|
||||
<h3 id="orga4e2295">Notifications</h3>
|
||||
<div class="outline-text-3" id="text-orga4e2295">
|
||||
<div id="outline-container-org523e61b" class="outline-3">
|
||||
<h3 id="org523e61b">Notifications</h3>
|
||||
<div class="outline-text-3" id="text-org523e61b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">notify-format <span class="org-string">"%n unread articles"</span>
|
||||
notify-program ~/.config/newsboat/scripts/newsboat-notify.sh
|
||||
@ -161,20 +161,20 @@ notify-always no
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1a70b02" class="outline-4">
|
||||
<h4 id="org1a70b02">Notification Script</h4>
|
||||
<div class="outline-text-4" id="text-org1a70b02">
|
||||
<div id="outline-container-orge69d0d2" class="outline-4">
|
||||
<h4 id="orge69d0d2">Notification Script</h4>
|
||||
<div class="outline-text-4" id="text-orge69d0d2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">dunstify --replace=<span class="org-highlight-numbers-number">38492</span> <span class="org-string">"Newsboat "</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>
|
||||
<pre class="src src-bash">notify-send <span class="org-string">"Newsboat "</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>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgde1cb8f" class="outline-3">
|
||||
<h3 id="orgde1cb8f">Bindings</h3>
|
||||
<div class="outline-text-3" id="text-orgde1cb8f">
|
||||
<div id="outline-container-org3f0a36a" class="outline-3">
|
||||
<h3 id="org3f0a36a">Bindings</h3>
|
||||
<div class="outline-text-3" id="text-org3f0a36a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind-key j down
|
||||
bind-key k up
|
||||
@ -212,9 +212,9 @@ bind-key R reload-all <span class="org-comment-delimiter"># </span><span class="
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org072313d" class="outline-3">
|
||||
<h3 id="org072313d">Bookmarking</h3>
|
||||
<div class="outline-text-3" id="text-org072313d">
|
||||
<div id="outline-container-orga59b174" class="outline-3">
|
||||
<h3 id="orga59b174">Bookmarking</h3>
|
||||
<div class="outline-text-3" id="text-orga59b174">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bookmark-autopilot no
|
||||
bookmark-cmd <span class="org-string">"~/.config/newsboat/scripts/buku-add.sh"</span>
|
||||
@ -223,12 +223,12 @@ bookmark-interactive no
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3f3350e" class="outline-4">
|
||||
<h4 id="org3f3350e">Buku Scripts</h4>
|
||||
<div class="outline-text-4" id="text-org3f3350e">
|
||||
<div id="outline-container-org996f016" class="outline-4">
|
||||
<h4 id="org996f016">Buku Scripts</h4>
|
||||
<div class="outline-text-4" id="text-org996f016">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> --comment <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">3</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">0</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -236,9 +236,9 @@ bookmark-interactive no
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgce6d980" class="outline-3">
|
||||
<h3 id="orgce6d980">Macros - Starts with , key</h3>
|
||||
<div class="outline-text-3" id="text-orgce6d980">
|
||||
<div id="outline-container-org4816386" class="outline-3">
|
||||
<h3 id="org4816386">Macros - Starts with , key</h3>
|
||||
<div class="outline-text-3" id="text-org4816386">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Default Browser</span>
|
||||
browser linkhandler
|
||||
@ -268,9 +268,9 @@ macro q set browser <span class="org-string">"tmux detach"</span> ; open-in-brow
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc09c767" class="outline-3">
|
||||
<h3 id="orgc09c767">hide articles matching</h3>
|
||||
<div class="outline-text-3" id="text-orgc09c767">
|
||||
<div id="outline-container-org0a44328" class="outline-3">
|
||||
<h3 id="org0a44328">hide articles matching</h3>
|
||||
<div class="outline-text-3" id="text-org0a44328">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">ignore-article <span class="org-string">"*"</span> <span class="org-string">"title =~ \"Sponsor\""</span>
|
||||
ignore-article <span class="org-string">"*"</span> <span class="org-string">"title =~ \"Advertisement\""</span>
|
||||
@ -280,9 +280,9 @@ ignore-mode <span class="org-string">"display"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3bfe48f" class="outline-3">
|
||||
<h3 id="org3bfe48f">Feedlist and Article Format</h3>
|
||||
<div class="outline-text-3" id="text-org3bfe48f">
|
||||
<div id="outline-container-org5ed0270" class="outline-3">
|
||||
<h3 id="org5ed0270">Feedlist and Article Format</h3>
|
||||
<div class="outline-text-3" id="text-org5ed0270">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">feedlist-format <span class="org-string">"%4i %n %11u %t"</span>
|
||||
feedlist-title-format <span class="org-string">"N %V - Your feeds (%u unread, %t total)%?T? - tag `%T'&?"</span>
|
||||
@ -296,9 +296,9 @@ itemview-title-format <span class="org-string">"Article '%T'"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org11be094" class="outline-3">
|
||||
<h3 id="org11be094">Color Scheme</h3>
|
||||
<div class="outline-text-3" id="text-org11be094">
|
||||
<div id="outline-container-org5bbcad7" class="outline-3">
|
||||
<h3 id="org5bbcad7">Color Scheme</h3>
|
||||
<div class="outline-text-3" id="text-org5bbcad7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">include <span class="org-string">"~/.config/newsboat/colors"</span>
|
||||
</pre>
|
||||
@ -307,9 +307,9 @@ itemview-title-format <span class="org-string">"Article '%T'"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org93d44b0" class="outline-2">
|
||||
<h2 id="org93d44b0">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org93d44b0">
|
||||
<div id="outline-container-org303641b" class="outline-2">
|
||||
<h2 id="org303641b">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org303641b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">color background default default
|
||||
color listnormal default default
|
||||
@ -328,14 +328,14 @@ highlight article <span class="org-string">"\\[image\\ [0-9]+\\]"</span> green d
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org59167cc" class="outline-2">
|
||||
<h2 id="org59167cc">URLS</h2>
|
||||
<div class="outline-text-2" id="text-org59167cc">
|
||||
<div id="outline-container-org44d9fd6" class="outline-2">
|
||||
<h2 id="org44d9fd6">URLS</h2>
|
||||
<div class="outline-text-2" id="text-org44d9fd6">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org00ecbe1" class="outline-3">
|
||||
<h3 id="org00ecbe1">Queries</h3>
|
||||
<div class="outline-text-3" id="text-org00ecbe1">
|
||||
<div id="outline-container-org6d2aa41" class="outline-3">
|
||||
<h3 id="org6d2aa41">Queries</h3>
|
||||
<div class="outline-text-3" id="text-org6d2aa41">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-string">"query:Unread:unread = \"yes\""</span>
|
||||
<span class="org-string">"query:Unwatch - Youtube:unread = \"yes\" and tags # \"youtube\""</span>
|
||||
@ -347,13 +347,13 @@ highlight article <span class="org-string">"\\[image\\ [0-9]+\\]"</span> green d
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4f78bf6" class="outline-3">
|
||||
<h3 id="org4f78bf6">Newsfeeds</h3>
|
||||
<div class="outline-text-3" id="text-org4f78bf6">
|
||||
<div id="outline-container-org2fd9f77" class="outline-3">
|
||||
<h3 id="org2fd9f77">Newsfeeds</h3>
|
||||
<div class="outline-text-3" id="text-org2fd9f77">
|
||||
</div>
|
||||
<div id="outline-container-orgeac6141" class="outline-4">
|
||||
<h4 id="orgeac6141">Matlab and Control</h4>
|
||||
<div class="outline-text-4" id="text-orgeac6141">
|
||||
<div id="outline-container-org0eceb33" class="outline-4">
|
||||
<h4 id="org0eceb33">Matlab and Control</h4>
|
||||
<div class="outline-text-4" id="text-org0eceb33">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">https://undocumentedmatlab.com/feed/ <span class="org-string">"~RSS undocumentedmatlab"</span> matlab
|
||||
http://blogs.mathworks.com/seth/feed/ <span class="org-string">"~RSS Guy on Simulink"</span> matlab control
|
||||
@ -368,9 +368,9 @@ https://medium.com/feed/@mithi <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6f1ade4" class="outline-4">
|
||||
<h4 id="org6f1ade4">Audio and Electronics</h4>
|
||||
<div class="outline-text-4" id="text-org6f1ade4">
|
||||
<div id="outline-container-org6f3cb6b" class="outline-4">
|
||||
<h4 id="org6f3cb6b">Audio and Electronics</h4>
|
||||
<div class="outline-text-4" id="text-org6f3cb6b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">http://jipihorn.wordpress.com/feed/ <span class="org-string">"~RSS Jipihorn's Blog"</span> electronics audio
|
||||
https://quantasylum.com/blogs/news.atom <span class="org-string">"~RSS QuantAsylum"</span> audio
|
||||
@ -380,9 +380,9 @@ https://www.scrample.xyz/index.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3fb022a" class="outline-4">
|
||||
<h4 id="org3fb022a">Science</h4>
|
||||
<div class="outline-text-4" id="text-org3fb022a">
|
||||
<div id="outline-container-org2815528" class="outline-4">
|
||||
<h4 id="org2815528">Science</h4>
|
||||
<div class="outline-text-4" id="text-org2815528">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">http://sciencetonnante.wordpress.com/feed/ <span class="org-string">"~RSS Science étonnante"</span> science
|
||||
https://brushingupscience.com/feed/ <span class="org-string">"~RSS Brushing Up Science"</span> science
|
||||
@ -391,9 +391,9 @@ https://brushingupscience.com/feed/ <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org413eed9" class="outline-4">
|
||||
<h4 id="org413eed9">Linux, Emacs and Computer Science</h4>
|
||||
<div class="outline-text-4" id="text-org413eed9">
|
||||
<div id="outline-container-org78e8293" class="outline-4">
|
||||
<h4 id="org78e8293">Linux, Emacs and Computer Science</h4>
|
||||
<div class="outline-text-4" id="text-org78e8293">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">https://yiufung.net/index.xml <span class="org-string">"~RSS yiufung"</span> emacs
|
||||
https://bzg.fr/index.xml <span class="org-string">"~RSS bzg"</span> emacs
|
||||
@ -454,13 +454,13 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf0d875f" class="outline-3">
|
||||
<h3 id="orgf0d875f">Youtube</h3>
|
||||
<div class="outline-text-3" id="text-orgf0d875f">
|
||||
<div id="outline-container-orgd0a6f4c" class="outline-3">
|
||||
<h3 id="orgd0a6f4c">Youtube</h3>
|
||||
<div class="outline-text-3" id="text-orgd0a6f4c">
|
||||
</div>
|
||||
<div id="outline-container-orgd0176e2" class="outline-4">
|
||||
<h4 id="orgd0176e2">Matlab and Control</h4>
|
||||
<div class="outline-text-4" id="text-orgd0176e2">
|
||||
<div id="outline-container-orgd1f5266" class="outline-4">
|
||||
<h4 id="orgd1f5266">Matlab and Control</h4>
|
||||
<div class="outline-text-4" id="text-orgd1f5266">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCm5mt-A4w61lknZ9lCsZtBw <span class="org-string">"~YT Steve Brunton"</span> youtube control science
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCoUOaSVYkTV6W4uLvxvgiFA <span class="org-string">"~YT Nathan Kutz"</span> youtube science control
|
||||
@ -478,9 +478,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd531708" class="outline-4">
|
||||
<h4 id="orgd531708">Audio and Electronics</h4>
|
||||
<div class="outline-text-4" id="text-orgd531708">
|
||||
<div id="outline-container-orgd4761c4" class="outline-4">
|
||||
<h4 id="orgd4761c4">Audio and Electronics</h4>
|
||||
<div class="outline-text-4" id="text-orgd4761c4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCI-FgEdZQxBASsm3HNcWKxQ <span class="org-string">"~YT Red Robbo's Workshop"</span> youtube linux audio
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCtpB66XKjAtFZfZyzmC-_Cg <span class="org-string">"~YT HexiBase"</span> youtube audio
|
||||
@ -503,9 +503,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1c17af0" class="outline-4">
|
||||
<h4 id="org1c17af0">Linux, Emacs and Computer Science</h4>
|
||||
<div class="outline-text-4" id="text-org1c17af0">
|
||||
<div id="outline-container-orgddcfcbe" class="outline-4">
|
||||
<h4 id="orgddcfcbe">Linux, Emacs and Computer Science</h4>
|
||||
<div class="outline-text-4" id="text-orgddcfcbe">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCNqFXwI5gNcyxt2c1zTQAKw <span class="org-string">"~YT Yisrael Dov L"</span> youtube emacs
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2eYFnH61tmytImy1mTYvhA <span class="org-string">"~YT Luke Smith"</span> youtube linux
|
||||
@ -551,9 +551,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org91da714" class="outline-4">
|
||||
<h4 id="org91da714">3D-Printing and DIY</h4>
|
||||
<div class="outline-text-4" id="text-org91da714">
|
||||
<div id="outline-container-orgb2136de" class="outline-4">
|
||||
<h4 id="orgb2136de">3D-Printing and DIY</h4>
|
||||
<div class="outline-text-4" id="text-orgb2136de">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCGEBcDJ7QIY1LuEddDM9x9Q <span class="org-string">"~YT Oldies"</span> youtube 3d-printing
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCqdRx3JV3xRchi4_xwFJUTA <span class="org-string">"~YT 8FabLab"</span> youtube diy
|
||||
@ -574,9 +574,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6816bbf" class="outline-4">
|
||||
<h4 id="org6816bbf">Interesting - General</h4>
|
||||
<div class="outline-text-4" id="text-org6816bbf">
|
||||
<div id="outline-container-org2cb120b" class="outline-4">
|
||||
<h4 id="org2cb120b">Interesting - General</h4>
|
||||
<div class="outline-text-4" id="text-org2cb120b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5eOLQO5VUEFJukNg9cl5jg <span class="org-string">"~YT Histoire Brève"</span> youtube interesting
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCMFcMhePnH4onVHt2-ItPZw <span class="org-string">"~YT Hygiène Mentale"</span> youtube interesting
|
||||
@ -591,9 +591,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd15ca0b" class="outline-4">
|
||||
<h4 id="orgd15ca0b">Science</h4>
|
||||
<div class="outline-text-4" id="text-orgd15ca0b">
|
||||
<div id="outline-container-orgbaa45e4" class="outline-4">
|
||||
<h4 id="orgbaa45e4">Science</h4>
|
||||
<div class="outline-text-4" id="text-orgbaa45e4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCwgqYNmYaij2_8hq_tOFyZw <span class="org-string">"~YT Aurelien Barrau"</span> youtube science
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCeR8BYZS7IHYjk_9Mh5JgkA <span class="org-string">"~YT Scilabus"</span> youtube science
|
||||
@ -620,9 +620,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5f8cf93" class="outline-4">
|
||||
<h4 id="org5f8cf93">Keyboard</h4>
|
||||
<div class="outline-text-4" id="text-org5f8cf93">
|
||||
<div id="outline-container-orgcc7cd12" class="outline-4">
|
||||
<h4 id="orgcc7cd12">Keyboard</h4>
|
||||
<div class="outline-text-4" id="text-orgcc7cd12">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5ClFK9Ko4ACRgXjRZc_GfA <span class="org-string">"~YT Rhinofeed"</span> youtube keyboards
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2yitP8oH86YBRVU4anycoA <span class="org-string">"~YT Quentin Lebastard"</span> youtube keyboards
|
||||
@ -631,9 +631,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org09e27a9" class="outline-4">
|
||||
<h4 id="org09e27a9">Music</h4>
|
||||
<div class="outline-text-4" id="text-org09e27a9">
|
||||
<div id="outline-container-org6e2501a" class="outline-4">
|
||||
<h4 id="org6e2501a">Music</h4>
|
||||
<div class="outline-text-4" id="text-org6e2501a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC3gZqwD45zGCsduBn-Q2lew <span class="org-string">"~YT Gabrielle Grau"</span> youtube music
|
||||
@ -646,9 +646,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3943d30" class="outline-4">
|
||||
<h4 id="org3943d30">Space</h4>
|
||||
<div class="outline-text-4" id="text-org3943d30">
|
||||
<div id="outline-container-orgd0779bc" class="outline-4">
|
||||
<h4 id="orgd0779bc">Space</h4>
|
||||
<div class="outline-text-4" id="text-orgd0779bc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCdL3UpiseRlvxXuORJjmqZw <span class="org-string">"~YT Stardust"</span> youtube space
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5X4e8ScZI2AFd_vkjSoyoQ <span class="org-string">"~YT AstronoGeek"</span> youtube space
|
||||
@ -657,9 +657,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcc26d24" class="outline-4">
|
||||
<h4 id="orgcc26d24">Engineering</h4>
|
||||
<div class="outline-text-4" id="text-orgcc26d24">
|
||||
<div id="outline-container-org4c6fc79" class="outline-4">
|
||||
<h4 id="org4c6fc79">Engineering</h4>
|
||||
<div class="outline-text-4" id="text-org4c6fc79">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCotwjyJnb-4KW7bmsOoLfkg <span class="org-string">"~YT Art of the Problem"</span> youtube engineering
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCR1IuLEqb6UEA_zQ81kwXfg <span class="org-string">"~YT Real Engineering"</span> youtube engineering
|
||||
@ -673,9 +673,9 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb54aeea" class="outline-4">
|
||||
<h4 id="orgb54aeea">Random - Fun - Others</h4>
|
||||
<div class="outline-text-4" id="text-orgb54aeea">
|
||||
<div id="outline-container-org01e5d43" class="outline-4">
|
||||
<h4 id="org01e5d43">Random - Fun - Others</h4>
|
||||
<div class="outline-text-4" id="text-org01e5d43">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCJM10Rp7G0h9j5S92QszJ5Q <span class="org-string">"~YT Tales From The Click"</span> youtube random
|
||||
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCCMxHHciWRBBouzk-PGzmtQ <span class="org-string">"~YT Bazar du Grenier"</span> youtube random
|
||||
@ -718,7 +718,7 @@ https://ag91.github.io/rss.xml <span cla
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Dunst (Notification Manager)</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,39 +16,39 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Dunst (Notification Manager)</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org88c63ea">Global</a>
|
||||
<li><a href="#org84c5b5f">Global</a>
|
||||
<ul>
|
||||
<li><a href="#org5759a6d">Display</a></li>
|
||||
<li><a href="#orgf8f9654">Text</a></li>
|
||||
<li><a href="#org1472558">Icons</a></li>
|
||||
<li><a href="#orgb07bee7">History</a></li>
|
||||
<li><a href="#orgf4f0949">Misc/Advanced</a></li>
|
||||
<li><a href="#org9781f83">Display</a></li>
|
||||
<li><a href="#org10d1cc5">Text</a></li>
|
||||
<li><a href="#org3e063bd">Icons</a></li>
|
||||
<li><a href="#org0cf5fe3">History</a></li>
|
||||
<li><a href="#org121df81">Misc/Advanced</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org515ca97">Shortcuts</a></li>
|
||||
<li><a href="#orgf546c51">Urgency</a></li>
|
||||
<li><a href="#org0d4ceee">Shortcuts</a></li>
|
||||
<li><a href="#org9fa48ff">Urgency</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org88c63ea" class="outline-2">
|
||||
<h2 id="org88c63ea">Global</h2>
|
||||
<div class="outline-text-2" id="text-org88c63ea">
|
||||
<div id="outline-container-org84c5b5f" class="outline-2">
|
||||
<h2 id="org84c5b5f">Global</h2>
|
||||
<div class="outline-text-2" id="text-org84c5b5f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">global</span>]
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5759a6d" class="outline-3">
|
||||
<h3 id="org5759a6d">Display</h3>
|
||||
<div class="outline-text-3" id="text-org5759a6d">
|
||||
<div id="outline-container-org9781f83" class="outline-3">
|
||||
<h3 id="org9781f83">Display</h3>
|
||||
<div class="outline-text-3" id="text-org9781f83">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Which monitor should the notifications be displayed on.</span>
|
||||
<span class="org-variable-name">monitor</span> = <span class="org-highlight-numbers-number">0</span>
|
||||
@ -136,9 +136,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf8f9654" class="outline-3">
|
||||
<h3 id="orgf8f9654">Text</h3>
|
||||
<div class="outline-text-3" id="text-orgf8f9654">
|
||||
<div id="outline-container-org10d1cc5" class="outline-3">
|
||||
<h3 id="org10d1cc5">Text</h3>
|
||||
<div class="outline-text-3" id="text-org10d1cc5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">font</span> = Hack Nerd Font <span class="org-highlight-numbers-number">10</span>
|
||||
|
||||
@ -1961,9 +1961,9 @@ format = "<b>%s</b">"<b>%s</b></a>\n%b"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1472558" class="outline-3">
|
||||
<h3 id="org1472558">Icons</h3>
|
||||
<div class="outline-text-3" id="text-org1472558">
|
||||
<div id="outline-container-org3e063bd" class="outline-3">
|
||||
<h3 id="org3e063bd">Icons</h3>
|
||||
<div class="outline-text-3" id="text-org3e063bd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Align icons left/right/off</span>
|
||||
<span class="org-variable-name">icon_position</span> = off
|
||||
@ -1978,9 +1978,9 @@ format = "<b>%s</b">"<b>%s</b></a>\n%b"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb07bee7" class="outline-3">
|
||||
<h3 id="orgb07bee7">History</h3>
|
||||
<div class="outline-text-3" id="text-orgb07bee7">
|
||||
<div id="outline-container-org0cf5fe3" class="outline-3">
|
||||
<h3 id="org0cf5fe3">History</h3>
|
||||
<div class="outline-text-3" id="text-org0cf5fe3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Should a notification popped up from history be sticky or timeout</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">as if it would normally do.</span>
|
||||
@ -1993,9 +1993,9 @@ format = "<b>%s</b">"<b>%s</b></a>\n%b"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf4f0949" class="outline-3">
|
||||
<h3 id="orgf4f0949">Misc/Advanced</h3>
|
||||
<div class="outline-text-3" id="text-orgf4f0949">
|
||||
<div id="outline-container-org121df81" class="outline-3">
|
||||
<h3 id="org121df81">Misc/Advanced</h3>
|
||||
<div class="outline-text-3" id="text-org121df81">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">dmenu path.</span>
|
||||
<span class="org-variable-name">dmenu</span> = /usr/bin/dmenu -p dunst:
|
||||
@ -2022,23 +2022,23 @@ format = "<b>%s</b">"<b>%s</b></a>\n%b"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org515ca97" class="outline-2">
|
||||
<h2 id="org515ca97">Shortcuts</h2>
|
||||
<div class="outline-text-2" id="text-org515ca97">
|
||||
<div id="outline-container-org0d4ceee" class="outline-2">
|
||||
<h2 id="org0d4ceee">Shortcuts</h2>
|
||||
<div class="outline-text-2" id="text-org0d4ceee">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">shortcuts</span>]
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">"mod3" and "mod4" (windows-key).</span>
|
||||
<span class="org-variable-name">close</span> = mod1+space
|
||||
<span class="org-variable-name">history</span> = mod1+Escape
|
||||
<span class="org-variable-name">history</span> = mod1+BackSpace
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf546c51" class="outline-2">
|
||||
<h2 id="orgf546c51">Urgency</h2>
|
||||
<div class="outline-text-2" id="text-orgf546c51">
|
||||
<div id="outline-container-org9fa48ff" class="outline-2">
|
||||
<h2 id="org9fa48ff">Urgency</h2>
|
||||
<div class="outline-text-2" id="text-org9fa48ff">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">urgency_low</span>]
|
||||
<span class="org-variable-name">background</span> = <span class="org-string">"#32302f"</span>
|
||||
@ -2061,7 +2061,7 @@ format = "<b>%s</b">"<b>%s</b></a>\n%b"</span>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>PCManFM</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,22 +16,22 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">PCManFM</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org0ad1961">Config</a></li>
|
||||
<li><a href="#org9ed27d2">Volume</a></li>
|
||||
<li><a href="#org8c3fa60">UI</a></li>
|
||||
<li><a href="#org979796b">Config</a></li>
|
||||
<li><a href="#orgaa0dcbe">Volume</a></li>
|
||||
<li><a href="#org2485055">UI</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0ad1961" class="outline-2">
|
||||
<h2 id="org0ad1961">Config</h2>
|
||||
<div class="outline-text-2" id="text-org0ad1961">
|
||||
<div id="outline-container-org979796b" class="outline-2">
|
||||
<h2 id="org979796b">Config</h2>
|
||||
<div class="outline-text-2" id="text-org979796b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">config</span>]
|
||||
<span class="org-variable-name">bm_open_method</span>=<span class="org-highlight-numbers-number">0</span>
|
||||
@ -40,9 +40,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9ed27d2" class="outline-2">
|
||||
<h2 id="org9ed27d2">Volume</h2>
|
||||
<div class="outline-text-2" id="text-org9ed27d2">
|
||||
<div id="outline-container-orgaa0dcbe" class="outline-2">
|
||||
<h2 id="orgaa0dcbe">Volume</h2>
|
||||
<div class="outline-text-2" id="text-orgaa0dcbe">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">volume</span>]
|
||||
<span class="org-variable-name">mount_on_startup</span>=<span class="org-highlight-numbers-number">0</span>
|
||||
@ -53,9 +53,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8c3fa60" class="outline-2">
|
||||
<h2 id="org8c3fa60">UI</h2>
|
||||
<div class="outline-text-2" id="text-org8c3fa60">
|
||||
<div id="outline-container-org2485055" class="outline-2">
|
||||
<h2 id="org2485055">UI</h2>
|
||||
<div class="outline-text-2" id="text-org2485055">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">ui</span>]
|
||||
<span class="org-variable-name">always_show_tabs</span>=<span class="org-highlight-numbers-number">0</span>
|
||||
@ -82,7 +82,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:05 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Qutebrowser Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,51 +22,51 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgbf1db67">Import</a></li>
|
||||
<li><a href="#org5c509d0">Auto Config</a></li>
|
||||
<li><a href="#org5c0c4c4">General config</a></li>
|
||||
<li><a href="#org304e1e0">Qt</a></li>
|
||||
<li><a href="#org0471984">Content</a></li>
|
||||
<li><a href="#org9d328f1">Editor</a></li>
|
||||
<li><a href="#org2f9fab8">Downloads</a></li>
|
||||
<li><a href="#orga8ea7ad">File Select</a></li>
|
||||
<li><a href="#org8e4c9d3">Colors</a></li>
|
||||
<li><a href="#org945a9d5">Fonts</a></li>
|
||||
<li><a href="#org9d6e7d9">Input</a></li>
|
||||
<li><a href="#orgf8a9f79">New Instance Options</a></li>
|
||||
<li><a href="#org843b551">Spell Check</a></li>
|
||||
<li><a href="#orgab02456">Status Bar</a></li>
|
||||
<li><a href="#org5603d6f">Tabs</a></li>
|
||||
<li><a href="#orgc00c6db">Urls and Search Engines</a></li>
|
||||
<li><a href="#org5fbacda">Normal Bindings</a></li>
|
||||
<li><a href="#orgd5cf604">Custom Bindings</a></li>
|
||||
<li><a href="#org1668b62">Userscripts</a>
|
||||
<li><a href="#org0f5a5cf">Import</a></li>
|
||||
<li><a href="#orgc57ecfe">Auto Config</a></li>
|
||||
<li><a href="#orgc8e2eaa">General config</a></li>
|
||||
<li><a href="#org07373cc">Qt</a></li>
|
||||
<li><a href="#orgcfd6aff">Content</a></li>
|
||||
<li><a href="#org4dee2d6">Editor</a></li>
|
||||
<li><a href="#org1043812">Downloads</a></li>
|
||||
<li><a href="#org08561a1">File Select</a></li>
|
||||
<li><a href="#orga69da83">Colors</a></li>
|
||||
<li><a href="#org983558a">Fonts</a></li>
|
||||
<li><a href="#orgb9d48fc">Input</a></li>
|
||||
<li><a href="#org2885992">New Instance Options</a></li>
|
||||
<li><a href="#orgf33fe1f">Spell Check</a></li>
|
||||
<li><a href="#org4bf01f4">Status Bar</a></li>
|
||||
<li><a href="#orgb3d46cc">Tabs</a></li>
|
||||
<li><a href="#orgf858a63">Urls and Search Engines</a></li>
|
||||
<li><a href="#org11e854c">Normal Bindings</a></li>
|
||||
<li><a href="#org87cb2b6">Custom Bindings</a></li>
|
||||
<li><a href="#org34d03fb">Userscripts</a>
|
||||
<ul>
|
||||
<li><a href="#org1453ee9">Create a new password</a></li>
|
||||
<li><a href="#orgeb0ef66">Download Youtube Video</a></li>
|
||||
<li><a href="#org38a2899">Password_fill_rc</a></li>
|
||||
<li><a href="#org5b8c3ce">Org-Capture</a></li>
|
||||
<li><a href="#org244788b">Org-Protocol-Capture-HTML</a></li>
|
||||
<li><a href="#org6d745ed">Open Bookmark with Linkding</a></li>
|
||||
<li><a href="#orgb3b6592">Add Url to Linkding</a></li>
|
||||
<li><a href="#org153f69f">Add Url to Buku using Rofi</a></li>
|
||||
<li><a href="#orgfe64fed">Add Url to Buku without asking for information</a></li>
|
||||
<li><a href="#orgf02d7da">Download with aria2c</a></li>
|
||||
<li><a href="#orgfcd3553">Download with aria2c on the Homelab</a></li>
|
||||
<li><a href="#org508f98a">Save to PNG</a></li>
|
||||
<li><a href="#org13f7ed3">Save to PDF</a></li>
|
||||
<li><a href="#orgc2161e6">Get OTP number</a></li>
|
||||
<li><a href="#org0d058a3">Download AES video</a></li>
|
||||
<li><a href="#org8110088">Display URL as a QRcode</a></li>
|
||||
<li><a href="#org1d019e2">Create a new password</a></li>
|
||||
<li><a href="#org240eb0e">Download Youtube Video</a></li>
|
||||
<li><a href="#org9abd12f">Password_fill_rc</a></li>
|
||||
<li><a href="#org560ce97">Org-Capture</a></li>
|
||||
<li><a href="#org4b422b4">Org-Protocol-Capture-HTML</a></li>
|
||||
<li><a href="#orgde3ccfd">Open Bookmark with Linkding</a></li>
|
||||
<li><a href="#orgb3f6fdd">Add Url to Linkding</a></li>
|
||||
<li><a href="#orgde783ef">Add Url to Buku using Rofi</a></li>
|
||||
<li><a href="#orgc511486">Add Url to Buku without asking for information</a></li>
|
||||
<li><a href="#orga8af67b">Download with aria2c</a></li>
|
||||
<li><a href="#org54624ed">Download with aria2c on the Homelab</a></li>
|
||||
<li><a href="#orgedf060f">Save to PNG</a></li>
|
||||
<li><a href="#org97b8e49">Save to PDF</a></li>
|
||||
<li><a href="#orged5f886">Get OTP number</a></li>
|
||||
<li><a href="#org6fe8d72">Download AES video</a></li>
|
||||
<li><a href="#org4c66329">Display URL as a QRcode</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbf1db67" class="outline-2">
|
||||
<h2 id="orgbf1db67">Import</h2>
|
||||
<div class="outline-text-2" id="text-orgbf1db67">
|
||||
<div id="outline-container-org0f5a5cf" class="outline-2">
|
||||
<h2 id="org0f5a5cf">Import</h2>
|
||||
<div class="outline-text-2" id="text-org0f5a5cf">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-keyword">from</span> qutebrowser.config.configfiles <span class="org-keyword">import</span> ConfigAPI
|
||||
<span class="org-keyword">from</span> qutebrowser.config.config <span class="org-keyword">import</span> ConfigContainer
|
||||
@ -77,9 +77,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c509d0" class="outline-2">
|
||||
<h2 id="org5c509d0">Auto Config</h2>
|
||||
<div class="outline-text-2" id="text-org5c509d0">
|
||||
<div id="outline-container-orgc57ecfe" class="outline-2">
|
||||
<h2 id="orgc57ecfe">Auto Config</h2>
|
||||
<div class="outline-text-2" id="text-orgc57ecfe">
|
||||
<p>
|
||||
Do not load config set with <code>:set</code> command in qutebrowser.
|
||||
</p>
|
||||
@ -90,9 +90,9 @@ Do not load config set with <code>:set</code> command in qutebrowser.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c0c4c4" class="outline-2">
|
||||
<h2 id="org5c0c4c4">General config</h2>
|
||||
<div class="outline-text-2" id="text-org5c0c4c4">
|
||||
<div id="outline-container-orgc8e2eaa" class="outline-2">
|
||||
<h2 id="orgc8e2eaa">General config</h2>
|
||||
<div class="outline-text-2" id="text-orgc8e2eaa">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.aliases</span> = {<span class="org-string">'w'</span>: <span class="org-string">'session-save'</span>, <span class="org-string">'q'</span>: <span class="org-string">'quit'</span>, <span class="org-string">'wq'</span>: <span class="org-string">'quit --save'</span>}
|
||||
<span class="org-variable-name">c.auto_save.session</span> = <span class="org-constant">False</span>
|
||||
@ -108,9 +108,9 @@ Do not load config set with <code>:set</code> command in qutebrowser.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org304e1e0" class="outline-2">
|
||||
<h2 id="org304e1e0">Qt</h2>
|
||||
<div class="outline-text-2" id="text-org304e1e0">
|
||||
<div id="outline-container-org07373cc" class="outline-2">
|
||||
<h2 id="org07373cc">Qt</h2>
|
||||
<div class="outline-text-2" id="text-org07373cc">
|
||||
<p>
|
||||
Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue</a>.
|
||||
</p>
|
||||
@ -121,9 +121,9 @@ Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0471984" class="outline-2">
|
||||
<h2 id="org0471984">Content</h2>
|
||||
<div class="outline-text-2" id="text-org0471984">
|
||||
<div id="outline-container-orgcfd6aff" class="outline-2">
|
||||
<h2 id="orgcfd6aff">Content</h2>
|
||||
<div class="outline-text-2" id="text-orgcfd6aff">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.content.autoplay</span> = <span class="org-constant">False</span>
|
||||
<span class="org-variable-name">c.content.notifications.enabled</span> = <span class="org-constant">False</span>
|
||||
@ -139,9 +139,9 @@ Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9d328f1" class="outline-2">
|
||||
<h2 id="org9d328f1">Editor</h2>
|
||||
<div class="outline-text-2" id="text-org9d328f1">
|
||||
<div id="outline-container-org4dee2d6" class="outline-2">
|
||||
<h2 id="org4dee2d6">Editor</h2>
|
||||
<div class="outline-text-2" id="text-org4dee2d6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.editor.command</span> = [<span class="org-string">'/usr/bin/alacritty'</span>, <span class="org-string">'--class'</span>, <span class="org-string">'terminal,Floating'</span>, <span class="org-string">'-e'</span>, <span class="org-string">'nvim'</span>, <span class="org-string">'{}'</span>]
|
||||
</pre>
|
||||
@ -149,9 +149,9 @@ Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2f9fab8" class="outline-2">
|
||||
<h2 id="org2f9fab8">Downloads</h2>
|
||||
<div class="outline-text-2" id="text-org2f9fab8">
|
||||
<div id="outline-container-org1043812" class="outline-2">
|
||||
<h2 id="org1043812">Downloads</h2>
|
||||
<div class="outline-text-2" id="text-org1043812">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.downloads.location.directory</span> = <span class="org-string">'$HOME/Downloads/'</span>
|
||||
<span class="org-variable-name">c.downloads.location.prompt</span> = <span class="org-constant">True</span>
|
||||
@ -165,9 +165,9 @@ Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga8ea7ad" class="outline-2">
|
||||
<h2 id="orga8ea7ad">File Select</h2>
|
||||
<div class="outline-text-2" id="text-orga8ea7ad">
|
||||
<div id="outline-container-org08561a1" class="outline-2">
|
||||
<h2 id="org08561a1">File Select</h2>
|
||||
<div class="outline-text-2" id="text-org08561a1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.fileselect.handler</span> = <span class="org-string">"default"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">c.fileselect.single_file.command = ['termine', '-e', 'ranger', '--choosefile', '{}']</span>
|
||||
@ -177,9 +177,9 @@ Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8e4c9d3" class="outline-2">
|
||||
<h2 id="org8e4c9d3">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org8e4c9d3">
|
||||
<div id="outline-container-orga69da83" class="outline-2">
|
||||
<h2 id="orga69da83">Colors</h2>
|
||||
<div class="outline-text-2" id="text-orga69da83">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">c.colors.webpage.darkmode.enabled = True</span>
|
||||
</pre>
|
||||
@ -187,9 +187,9 @@ Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org945a9d5" class="outline-2">
|
||||
<h2 id="org945a9d5">Fonts</h2>
|
||||
<div class="outline-text-2" id="text-org945a9d5">
|
||||
<div id="outline-container-org983558a" class="outline-2">
|
||||
<h2 id="org983558a">Fonts</h2>
|
||||
<div class="outline-text-2" id="text-org983558a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.fonts.default_family</span> = [<span class="org-string">"Hack Nerd Font Mono"</span>, <span class="org-string">"DejaVu Sans Mono"</span>, <span class="org-string">"Monaco"</span>]
|
||||
<span class="org-variable-name">c.fonts.prompts</span> = <span class="org-string">'10pt monospace'</span>
|
||||
@ -199,9 +199,9 @@ Linked to <a href="https://github.com/qutebrowser/qutebrowser/issues/6401">issue
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9d6e7d9" class="outline-2">
|
||||
<h2 id="org9d6e7d9">Input</h2>
|
||||
<div class="outline-text-2" id="text-org9d6e7d9">
|
||||
<div id="outline-container-orgb9d48fc" class="outline-2">
|
||||
<h2 id="orgb9d48fc">Input</h2>
|
||||
<div class="outline-text-2" id="text-orgb9d48fc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python">c.<span class="org-builtin">input</span>.insert_mode.auto_enter = <span class="org-constant">True</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Very annoying when automatically leave insert mode</span>
|
||||
@ -213,9 +213,9 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf8a9f79" class="outline-2">
|
||||
<h2 id="orgf8a9f79">New Instance Options</h2>
|
||||
<div class="outline-text-2" id="text-orgf8a9f79">
|
||||
<div id="outline-container-org2885992" class="outline-2">
|
||||
<h2 id="org2885992">New Instance Options</h2>
|
||||
<div class="outline-text-2" id="text-org2885992">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.new_instance_open_target</span> = <span class="org-string">'tab'</span>
|
||||
<span class="org-variable-name">c.new_instance_open_target_window</span> = <span class="org-string">'last-focused'</span>
|
||||
@ -224,9 +224,9 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org843b551" class="outline-2">
|
||||
<h2 id="org843b551">Spell Check</h2>
|
||||
<div class="outline-text-2" id="text-org843b551">
|
||||
<div id="outline-container-orgf33fe1f" class="outline-2">
|
||||
<h2 id="orgf33fe1f">Spell Check</h2>
|
||||
<div class="outline-text-2" id="text-orgf33fe1f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.spellcheck.languages</span> = [<span class="org-string">'en-US'</span>, <span class="org-string">'fr-FR'</span>]
|
||||
</pre>
|
||||
@ -234,9 +234,9 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgab02456" class="outline-2">
|
||||
<h2 id="orgab02456">Status Bar</h2>
|
||||
<div class="outline-text-2" id="text-orgab02456">
|
||||
<div id="outline-container-org4bf01f4" class="outline-2">
|
||||
<h2 id="org4bf01f4">Status Bar</h2>
|
||||
<div class="outline-text-2" id="text-org4bf01f4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">Hide the statusbar unless a message is shown.</span>
|
||||
<span class="org-variable-name">c.statusbar.position</span> = <span class="org-string">'bottom'</span>
|
||||
@ -256,9 +256,9 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5603d6f" class="outline-2">
|
||||
<h2 id="org5603d6f">Tabs</h2>
|
||||
<div class="outline-text-2" id="text-org5603d6f">
|
||||
<div id="outline-container-orgb3d46cc" class="outline-2">
|
||||
<h2 id="orgb3d46cc">Tabs</h2>
|
||||
<div class="outline-text-2" id="text-orgb3d46cc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">Open new tabs (middleclick/ctrl+click) in the background.</span>
|
||||
<span class="org-variable-name">c.tabs.background</span> = <span class="org-constant">True</span>
|
||||
@ -267,7 +267,7 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
<span class="org-variable-name">c.tabs.close_mouse_button</span> = <span class="org-string">'right'</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">How to behave when the last tab is closed.</span>
|
||||
<span class="org-variable-name">c.tabs.last_close</span> = <span class="org-string">'close'</span>
|
||||
<span class="org-variable-name">c.tabs.last_close</span> = <span class="org-string">'ignore'</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Switch between tabs using the mouse wheel.</span>
|
||||
<span class="org-variable-name">c.tabs.mousewheel_switching</span> = <span class="org-constant">False</span>
|
||||
@ -304,9 +304,9 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc00c6db" class="outline-2">
|
||||
<h2 id="orgc00c6db">Urls and Search Engines</h2>
|
||||
<div class="outline-text-2" id="text-orgc00c6db">
|
||||
<div id="outline-container-orgf858a63" class="outline-2">
|
||||
<h2 id="orgf858a63">Urls and Search Engines</h2>
|
||||
<div class="outline-text-2" id="text-orgf858a63">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.url.searchengines</span> = {
|
||||
<span class="org-string">'DEFAULT'</span>: <span class="org-string">'https://www.duckduckgo.org/?q={}'</span>,
|
||||
@ -314,8 +314,8 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
<span class="org-string">'go'</span>: <span class="org-string">'https://www.google.com/search?q={}'</span>,
|
||||
<span class="org-string">'gc'</span>: <span class="org-string">'https://scholar.google.fr/scholar?hl=fr&as_sdt=0%2C5&q={}&btnG='</span>,
|
||||
<span class="org-string">'gm'</span>: <span class="org-string">'https://www.google.com/maps/search/{}/'</span>,
|
||||
<span class="org-string">'yt'</span>: <span class="org-string">'https://www.youtube.com/results?search_query={}'</span>,
|
||||
<span class="org-string">'gh'</span>: <span class="org-string">'https://github.com/search?q={}'</span>,
|
||||
<span class="org-string">'yt'</span>: <span class="org-string">'https://www.youtube.com/results?search_query={}'</span>,
|
||||
<span class="org-string">'re'</span>: <span class="org-string">'https://www.reddit.com/search?q={}'</span>,
|
||||
<span class="org-string">'lb'</span>: <span class="org-string">'http://gen.lib.rus.ec/search.php?req={}'</span>,
|
||||
<span class="org-string">'la'</span>: <span class="org-string">'http://gen.lib.rus.ec/scimag/index.php?s={}'</span>,
|
||||
@ -337,9 +337,9 @@ c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5fbacda" class="outline-2">
|
||||
<h2 id="org5fbacda">Normal Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org5fbacda">
|
||||
<div id="outline-container-org11e854c" class="outline-2">
|
||||
<h2 id="org11e854c">Normal Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org11e854c">
|
||||
<p>
|
||||
Zooming
|
||||
</p>
|
||||
@ -442,18 +442,28 @@ config.bind(<span class="org-string">'gf'</span>, <span class="org-string">'open
|
||||
config.bind(<span class="org-string">'gr'</span>, <span class="org-string">'open -t https://www.reddit.com/'</span>)
|
||||
|
||||
config.bind(<span class="org-string">'gh'</span>, <span class="org-string">'open -t https://homer.tdehaeze.xyz/'</span>)
|
||||
config.bind(<span class="org-string">'ge'</span>, <span class="org-string">'open -t http://intranet.esrf.fr/'</span>)
|
||||
config.bind(<span class="org-string">'gc'</span>, <span class="org-string">'open -t https://calendar.esrf.fr/'</span>)
|
||||
|
||||
config.bind(<span class="org-string">'gb'</span>, <span class="org-string">'open -t qute://bookmarks'</span>)
|
||||
config.bind(<span class="org-string">'gH'</span>, <span class="org-string">'open -t qute://history'</span>)
|
||||
config.bind(<span class="org-string">'gs'</span>, <span class="org-string">'open -t qute://settings'</span>)
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Quit.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python">config.bind(<span class="org-string">'D'</span>, <span class="org-string">'close'</span>)
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd5cf604" class="outline-2">
|
||||
<h2 id="orgd5cf604">Custom Bindings</h2>
|
||||
<div class="outline-text-2" id="text-orgd5cf604">
|
||||
<div id="outline-container-org87cb2b6" class="outline-2">
|
||||
<h2 id="org87cb2b6">Custom Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org87cb2b6">
|
||||
<p>
|
||||
Create a Password for the current website
|
||||
</p>
|
||||
@ -463,6 +473,18 @@ config.bind(<span class="org-string">',P'</span>, <span class="org-string">'Pass
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.aliases</span>[<span class="org-string">'proxy_homelab_on'</span>] = <span class="org-string">'set content.proxy socks5://localhost:8080'</span>
|
||||
<span class="org-variable-name">c.aliases</span>[<span class="org-string">'proxy_homelab_off'</span>] = <span class="org-string">'config-unset content.proxy'</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.aliases</span>[<span class="org-string">'proxy_esrf_on'</span>] = <span class="org-string">'set content.proxy socks5://localhost:8081'</span>
|
||||
<span class="org-variable-name">c.aliases</span>[<span class="org-string">'proxy_esrf_off'</span>] = <span class="org-string">'config-unset content.proxy'</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>)
|
||||
</p>
|
||||
@ -615,38 +637,38 @@ config.bind(<span class="org-string">',q'</span>, <span class="org-string">'QRco
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1668b62" class="outline-2">
|
||||
<h2 id="org1668b62">Userscripts</h2>
|
||||
<div class="outline-text-2" id="text-org1668b62">
|
||||
<div id="outline-container-org34d03fb" class="outline-2">
|
||||
<h2 id="org34d03fb">Userscripts</h2>
|
||||
<div class="outline-text-2" id="text-org34d03fb">
|
||||
<p>
|
||||
<a href="https://qutebrowser.org/doc/userscripts.html">Here</a> is the documentation related to userscripts.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1453ee9" class="outline-3">
|
||||
<h3 id="org1453ee9">Create a new password</h3>
|
||||
<div class="outline-text-3" id="text-org1453ee9">
|
||||
<div id="outline-container-org1d019e2" class="outline-3">
|
||||
<h3 id="org1d019e2">Create a new password</h3>
|
||||
<div class="outline-text-3" id="text-org1d019e2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">url</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> | awk -F<span class="org-rainbow-delimiters-depth-2">[</span>/:<span class="org-rainbow-delimiters-depth-2">]</span> <span class="org-string">'{print $4}'</span> | rofi -p <span class="org-string">"URL"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-variable-name">username</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"dehaeze.thomas@gmail.com\nthomas.dehaeze@esrf.fr\ntdehaeze"</span> | rofi -p <span class="org-string">"Username"</span> -dmenu -lines <span class="org-highlight-numbers-number">5</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-variable-name">password</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"Password"</span> -dmenu -password -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> || <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">username</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> || <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">password</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
dunstify --urgency=critical <span class="org-string">"Pass"</span> <span class="org-string">"Failed to Add Password"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:0vRM5AMP --urgency=critical <span class="org-string">"Pass"</span> <span class="org-string">"Failed to Add Password"</span>
|
||||
<span class="org-keyword">else</span>
|
||||
<span class="org-type">echo</span> -e <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">password</span></span><span class="org-string">\nlogin: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">username</span></span><span class="org-string">\nurl: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> > /tmp/add-password.txt
|
||||
pass insert --multiline <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</span></span><span class="org-string">/</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">username</span></span><span class="org-string">"</span> < /tmp/add-password.txt;
|
||||
<span class="org-type">rm</span> /tmp/add-password.txt
|
||||
dunstify <span class="org-string">"Pass "</span> <span class="org-string">"Password Added"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:0vRM5AMP <span class="org-string">"Pass "</span> <span class="org-string">"Password Added"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeb0ef66" class="outline-3">
|
||||
<h3 id="orgeb0ef66">Download Youtube Video</h3>
|
||||
<div class="outline-text-3" id="text-orgeb0ef66">
|
||||
<div id="outline-container-org240eb0e" class="outline-3">
|
||||
<h3 id="org240eb0e">Download Youtube Video</h3>
|
||||
<div class="outline-text-3" id="text-org240eb0e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Documents/to-watch/ || <span class="org-keyword">exit</span>;
|
||||
|
||||
@ -655,24 +677,24 @@ config.bind(<span class="org-string">',q'</span>, <span class="org-string">'QRco
|
||||
<span class="org-keyword">fi</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">choice</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> && <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">choice</span></span><span class="org-string">"</span> = <span class="org-string">"Playlist"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube "</span> <span class="org-string">"Downloading Playlist..."</span>;
|
||||
notify-send --hint=string:x-dunst-stack-tag:iOGRwrDG <span class="org-string">"Youtube "</span> <span class="org-string">"Downloading Playlist..."</span>;
|
||||
youtube-dl -i -f <span class="org-string">'bestvideo[height<=720]+bestaudio/best[height<=720]'</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> -o <span class="org-string">"%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube "</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube "</span> <span class="org-string">"Failed to download"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:iOGRwrDG <span class="org-string">"Youtube "</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:iOGRwrDG --urgency=critical <span class="org-string">"Youtube "</span> <span class="org-string">"Failed to download"</span>
|
||||
<span class="org-keyword">else</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube "</span> <span class="org-string">"Downloading Video..."</span>;
|
||||
notify-send --hint=string:x-dunst-stack-tag:iOGRwrDG <span class="org-string">"Youtube "</span> <span class="org-string">"Downloading Video..."</span>;
|
||||
youtube-dl --no-playlist -f <span class="org-string">'bestvideo[height<=720]+bestaudio/best[height<=720]'</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube "</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube "</span> <span class="org-string">"Failed to download"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:iOGRwrDG <span class="org-string">"Youtube "</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:iOGRwrDG --urgency=critical <span class="org-string">"Youtube "</span> <span class="org-string">"Failed to download"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org38a2899" class="outline-3">
|
||||
<h3 id="org38a2899">Password_fill_rc</h3>
|
||||
<div class="outline-text-3" id="text-org38a2899">
|
||||
<div id="outline-container-org9abd12f" class="outline-3">
|
||||
<h3 id="org9abd12f">Password_fill_rc</h3>
|
||||
<div class="outline-text-3" id="text-org9abd12f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Show all password fields in the menu</span>
|
||||
<span class="org-function-name">query_entries</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
@ -698,9 +720,9 @@ config.bind(<span class="org-string">',q'</span>, <span class="org-string">'QRco
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5b8c3ce" class="outline-3">
|
||||
<h3 id="org5b8c3ce">Org-Capture</h3>
|
||||
<div class="outline-text-3" id="text-org5b8c3ce">
|
||||
<div id="outline-container-org560ce97" class="outline-3">
|
||||
<h3 id="org560ce97">Org-Capture</h3>
|
||||
<div class="outline-text-3" id="text-org560ce97">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">readonly</span> <span class="org-variable-name">CAPTURE_SCRIPT</span>=~/.config/qutebrowser/userscripts/org-protocol-capture-html.sh
|
||||
|
||||
@ -719,9 +741,9 @@ config.bind(<span class="org-string">',q'</span>, <span class="org-string">'QRco
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org244788b" class="outline-3">
|
||||
<h3 id="org244788b">Org-Protocol-Capture-HTML</h3>
|
||||
<div class="outline-text-3" id="text-org244788b">
|
||||
<div id="outline-container-org4b422b4" class="outline-3">
|
||||
<h3 id="org4b422b4">Org-Protocol-Capture-HTML</h3>
|
||||
<div class="outline-text-3" id="text-org4b422b4">
|
||||
<p>
|
||||
Defaults
|
||||
</p>
|
||||
@ -869,9 +891,9 @@ Send to Emacs
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6d745ed" class="outline-3">
|
||||
<h3 id="org6d745ed">Open Bookmark with Linkding</h3>
|
||||
<div class="outline-text-3" id="text-org6d745ed">
|
||||
<div id="outline-container-orgde3ccfd" class="outline-3">
|
||||
<h3 id="orgde3ccfd">Open Bookmark with Linkding</h3>
|
||||
<div class="outline-text-3" id="text-orgde3ccfd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Verify that environment variable are set</span>
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{LINKDING_URL}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
@ -888,9 +910,9 @@ Send to Emacs
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb3b6592" class="outline-3">
|
||||
<h3 id="orgb3b6592">Add Url to Linkding</h3>
|
||||
<div class="outline-text-3" id="text-orgb3b6592">
|
||||
<div id="outline-container-orgb3f6fdd" class="outline-3">
|
||||
<h3 id="orgb3f6fdd">Add Url to Linkding</h3>
|
||||
<div class="outline-text-3" id="text-orgb3f6fdd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Verify that environment variable are set</span>
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{LINKDING_URL}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
@ -908,132 +930,132 @@ Send to Emacs
|
||||
<span class="org-variable-name">formated_tags</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> $<span class="org-variable-name">existing_tags</span> $<span class="org-variable-name">new_tags</span> | sed -E <span class="org-string">'s/(\w+)/"\1"/g;s/\s/,/g'</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-type">curl</span> -H <span class="org-string">"Authorization: Token </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{LINKDING_TOKEN}</span></span><span class="org-string">"</span> -H <span class="org-string">"Content-Type: application/json"</span> -d <span class="org-string">"{\"url\": \"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">\", \"title\": \"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">title</span></span><span class="org-string">\", \"tag_names\": [</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">formated_tags</span></span><span class="org-string">]}"</span> $<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">LINKDING_URL</span><span class="org-rainbow-delimiters-depth-1">}</span>/api/bookmarks/ && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Linkding"</span> <span class="org-string">" Bookmark Added"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify --urgency=critical <span class="org-string">"Linkding"</span> <span class="org-string">"Failed"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:l3gV75RD <span class="org-string">"Linkding"</span> <span class="org-string">" Bookmark Added"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:l3gV75RD --urgency=critical <span class="org-string">"Linkding"</span> <span class="org-string">"Failed"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org153f69f" class="outline-3">
|
||||
<h3 id="org153f69f">Add Url to Buku using Rofi</h3>
|
||||
<div class="outline-text-3" id="text-org153f69f">
|
||||
<div id="outline-container-orgde783ef" class="outline-3">
|
||||
<h3 id="orgde783ef">Add Url to Buku using Rofi</h3>
|
||||
<div class="outline-text-3" id="text-orgde783ef">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">title</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> | rofi -p <span class="org-string">"Title"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-variable-name">tags</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">buku</span> -t --nc --np | sed -e <span class="org-string">'s/\s*[[:digit:]]*\.\s*\(.*\)\s*([[:digit:]]*)\s*/\1/'</span> -e <span class="org-string">'/^\s*$/d'</span> | sort | uniq | rofi -multi-select -p <span class="org-string">"Tags"</span> -dmenu | tr <span class="org-string">"\n"</span> <span class="org-string">","</span> | sed <span class="org-string">'s/\s*,\s*$//'</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> --tag <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">tags</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">title</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify --urgency=critical <span class="org-string">"Buku"</span> <span class="org-string">" Bookmark Added"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:E3TueNZ0 <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:E3TueNZ0 --urgency=critical <span class="org-string">"Buku"</span> <span class="org-string">" Bookmark Added"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfe64fed" class="outline-3">
|
||||
<h3 id="orgfe64fed">Add Url to Buku without asking for information</h3>
|
||||
<div class="outline-text-3" id="text-orgfe64fed">
|
||||
<div id="outline-container-orgc511486" class="outline-3">
|
||||
<h3 id="orgc511486">Add Url to Buku without asking for information</h3>
|
||||
<div class="outline-text-3" id="text-orgc511486">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">buku --add $<span class="org-variable-name">QUTE_URL</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Buku"</span> <span class="org-string">"📑 Bookmark Added"</span>
|
||||
notify-send <span class="org-string">"Buku"</span> <span class="org-string">"📑 Bookmark Added"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf02d7da" class="outline-3">
|
||||
<h3 id="orgf02d7da">Download with aria2c</h3>
|
||||
<div class="outline-text-3" id="text-orgf02d7da">
|
||||
<div id="outline-container-orga8af67b" class="outline-3">
|
||||
<h3 id="orga8af67b">Download with aria2c</h3>
|
||||
<div class="outline-text-3" id="text-orga8af67b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">aria2p add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:2SGClDoI <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:2SGClDoI <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfcd3553" class="outline-3">
|
||||
<h3 id="orgfcd3553">Download with aria2c on the Homelab</h3>
|
||||
<div class="outline-text-3" id="text-orgfcd3553">
|
||||
<div id="outline-container-org54624ed" class="outline-3">
|
||||
<h3 id="org54624ed">Download with aria2c on the Homelab</h3>
|
||||
<div class="outline-text-3" id="text-org54624ed">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">dl-add $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> | sed <span class="org-string">'s/\&af=.*$//g'</span><span class="org-rainbow-delimiters-depth-1">)</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:2SGClDoI <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:2SGClDoI <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org508f98a" class="outline-3">
|
||||
<h3 id="org508f98a">Save to PNG</h3>
|
||||
<div class="outline-text-3" id="text-org508f98a">
|
||||
<div id="outline-container-orgedf060f" class="outline-3">
|
||||
<h3 id="orgedf060f">Save to PNG</h3>
|
||||
<div class="outline-text-3" id="text-orgedf060f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"filename"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-type">cd</span> ~/Pictures/ && <span class="org-sh-escaped-newline">\</span>
|
||||
firefox-developer-edition -P default -headless --screenshot <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.png"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Screenshot"</span> <span class="org-string">"Taken successfully"</span>
|
||||
firefox -P default -headless --screenshot <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.png"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send <span class="org-string">"Screenshot"</span> <span class="org-string">"Taken successfully"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org13f7ed3" class="outline-3">
|
||||
<h3 id="org13f7ed3">Save to PDF</h3>
|
||||
<div class="outline-text-3" id="text-org13f7ed3">
|
||||
<div id="outline-container-org97b8e49" class="outline-3">
|
||||
<h3 id="org97b8e49">Save to PDF</h3>
|
||||
<div class="outline-text-3" id="text-org97b8e49">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-type">cd</span> ~/Pictures/ && <span class="org-sh-escaped-newline">\</span>
|
||||
percollate pdf --css <span class="org-string">"@page { size: A4 portrait }"</span> --output <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.pdf"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Percollate"</span> <span class="org-string">"Successfully saved to pdf"</span>
|
||||
notify-send <span class="org-string">"Percollate"</span> <span class="org-string">"Successfully saved to pdf"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc2161e6" class="outline-3">
|
||||
<h3 id="orgc2161e6">Get OTP number</h3>
|
||||
<div class="outline-text-3" id="text-orgc2161e6">
|
||||
<div id="outline-container-orged5f886" class="outline-3">
|
||||
<h3 id="orged5f886">Get OTP number</h3>
|
||||
<div class="outline-text-3" id="text-orged5f886">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">passname</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">ls</span> ~/.password-store/totp-* | xargs -n <span class="org-highlight-numbers-number">1</span> basename | sed -e <span class="org-string">'s/\..*$//'</span> | rofi -p <span class="org-string">"TOPT"</span> -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">passname</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
pass otp $<span class="org-variable-name">passname</span> | xsel -ib && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">'OTP'</span> <span class="org-string">'copied to clipboard.'</span> &
|
||||
notify-send <span class="org-string">'OTP'</span> <span class="org-string">'copied to clipboard.'</span> &
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0d058a3" class="outline-3">
|
||||
<h3 id="org0d058a3">Download AES video</h3>
|
||||
<div class="outline-text-3" id="text-org0d058a3">
|
||||
<div id="outline-container-org6fe8d72" class="outline-3">
|
||||
<h3 id="org6fe8d72">Download AES video</h3>
|
||||
<div class="outline-text-3" id="text-org6fe8d72">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">m3u8_path</span>=<span class="org-sh-quoted-exec">`</span><span class="org-type"><span class="org-sh-quoted-exec">curl</span></span><span class="org-sh-quoted-exec"> -L -s "$QUTE_URL" | pcregrep -o1 "file = \"\/(.*aes.*mp4)\""`</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">m3u8_path</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
dunstify --urgency=critical <span class="org-string">"Qutebrowser"</span> <span class="org-string">"No m3u8 playlist found"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:ng4iXDxP --urgency=critical <span class="org-string">"Qutebrowser"</span> <span class="org-string">"No m3u8 playlist found"</span>
|
||||
<span class="org-keyword">else</span>
|
||||
dunstify <span class="org-string">"Qutebrowser"</span> <span class="org-string">"Downloads..."</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:ng4iXDxP <span class="org-string">"Qutebrowser"</span> <span class="org-string">"Downloads..."</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
<span class="org-type">cd</span> ~/Downloads/ && <span class="org-sh-escaped-newline">\</span>
|
||||
ffmpeg -user_agent <span class="org-string">"Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"</span> -referer <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> -i <span class="org-string">"https://cdn2.digitellinc.com/play/_definst_/mp4:</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">m3u8_path</span></span><span class="org-string">/playlist.m3u8"</span> -c copy <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">.mp4"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Qutebrowser"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string"> Downloaded"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:ng4iXDxP <span class="org-string">"Qutebrowser"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string"> Downloaded"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8110088" class="outline-3">
|
||||
<h3 id="org8110088">Display URL as a QRcode</h3>
|
||||
<div class="outline-text-3" id="text-org8110088">
|
||||
<div id="outline-container-org4c66329" class="outline-3">
|
||||
<h3 id="org4c66329">Display URL as a QRcode</h3>
|
||||
<div class="outline-text-3" id="text-org4c66329">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">qrencode -o /tmp/qrcode.png <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> && sxiv /tmp/qrcode.png
|
||||
</pre>
|
||||
@ -1044,7 +1066,7 @@ buku --add <span class="org-string">"</span><span class="org-string"><span class
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:05</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
466
docs/ranger.html
466
docs/ranger.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:21 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Ranger</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,87 +16,86 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Ranger</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org55987ce">Documentation</a></li>
|
||||
<li><a href="#org986b109">Config</a>
|
||||
<li><a href="#orgb6407c1">Documentation</a></li>
|
||||
<li><a href="#org4832301">Config</a>
|
||||
<ul>
|
||||
<li><a href="#orgd97cb82">Options</a></li>
|
||||
<li><a href="#org1ba2d9f">Command Aliases in the Console</a></li>
|
||||
<li><a href="#org7bcf949">Some Custom Keybindings</a></li>
|
||||
<li><a href="#orgfc90829">Scripts</a>
|
||||
<li><a href="#org377a61f">Options</a></li>
|
||||
<li><a href="#org1fffbc7">Command Aliases in the Console</a></li>
|
||||
<li><a href="#org678c0de">Some Custom Keybindings</a></li>
|
||||
<li><a href="#orgf29becc">Scripts</a>
|
||||
<ul>
|
||||
<li><a href="#org7681c16">Extract Script</a></li>
|
||||
<li><a href="#orgd110a48">Compress Script</a></li>
|
||||
<li><a href="#org4e182ba">Copy File Content</a></li>
|
||||
<li><a href="#orgb94aa26">Backup to NAS</a></li>
|
||||
<li><a href="#org95969c5">Paste with Rsync</a></li>
|
||||
<li><a href="#orgb1b07bd">Extract Script</a></li>
|
||||
<li><a href="#orgc214a55">Compress Script</a></li>
|
||||
<li><a href="#org24da0c0">Copy File Content</a></li>
|
||||
<li><a href="#orge10239c">Paste with Rsync</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd57ea4e">Define keys for the browser</a>
|
||||
<li><a href="#org90e8bfd">Define keys for the browser</a>
|
||||
<ul>
|
||||
<li><a href="#orgf964ebf">Basic</a></li>
|
||||
<li><a href="#org1c6f91a">Open Shell in current directory</a></li>
|
||||
<li><a href="#orgdf72b75">Open With</a></li>
|
||||
<li><a href="#org8e148cf">Filter</a></li>
|
||||
<li><a href="#org29cf3e5">Tagging / Marking</a></li>
|
||||
<li><a href="#org8818767">VIM-like</a></li>
|
||||
<li><a href="#org093bc04">Jumping around</a></li>
|
||||
<li><a href="#org20acc37">Go to special folders</a></li>
|
||||
<li><a href="#orga3a9ba6">Get size of folders</a></li>
|
||||
<li><a href="#org8fee5b5">Yank path of directory/file</a></li>
|
||||
<li><a href="#orgf653bf2">Drag and Drop</a></li>
|
||||
<li><a href="#orgf520032">Rename files</a></li>
|
||||
<li><a href="#org402e074">Paste files</a></li>
|
||||
<li><a href="#org5c2f844">Delete and move files</a></li>
|
||||
<li><a href="#org8c6e09d">Copy files</a></li>
|
||||
<li><a href="#org9bae784">Searching</a></li>
|
||||
<li><a href="#org179497a">Tabs</a></li>
|
||||
<li><a href="#org9362376">Settings</a></li>
|
||||
<li><a href="#org3d82580">Bookmarks</a></li>
|
||||
<li><a href="#orgc3db4a0">FZF</a></li>
|
||||
<li><a href="#org3d7f0cc">Basic</a></li>
|
||||
<li><a href="#org5811d27">Open Shell in current directory</a></li>
|
||||
<li><a href="#orgf09c04f">Open With</a></li>
|
||||
<li><a href="#orgc9a1e8e">Filter</a></li>
|
||||
<li><a href="#org0eab614">Tagging / Marking</a></li>
|
||||
<li><a href="#orga6c4960">VIM-like</a></li>
|
||||
<li><a href="#orgbaf5bfa">Jumping around</a></li>
|
||||
<li><a href="#orgd438dd9">Go to special folders</a></li>
|
||||
<li><a href="#org614f51e">Get size of folders</a></li>
|
||||
<li><a href="#org9fabfc6">Yank path of directory/file</a></li>
|
||||
<li><a href="#orgd122cc5">Drag and Drop</a></li>
|
||||
<li><a href="#org40d7da9">Rename files</a></li>
|
||||
<li><a href="#orge14bd5c">Paste files</a></li>
|
||||
<li><a href="#orgaa7c2c3">Delete and move files</a></li>
|
||||
<li><a href="#org6a0ab9c">Copy files</a></li>
|
||||
<li><a href="#org96d5c4e">Searching</a></li>
|
||||
<li><a href="#org9a73d6d">Tabs</a></li>
|
||||
<li><a href="#org68a56b0">Settings</a></li>
|
||||
<li><a href="#org0fd03b5">Bookmarks</a></li>
|
||||
<li><a href="#orgb0115a2">FZF</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7e7a4ec">Define keys for the console</a>
|
||||
<li><a href="#orgdefc138">Define keys for the console</a>
|
||||
<ul>
|
||||
<li><a href="#orgef5af30">Basic</a></li>
|
||||
<li><a href="#orga9f3972">Move around</a></li>
|
||||
<li><a href="#org6265874">Line Editing</a></li>
|
||||
<li><a href="#org9a83f87">Basic</a></li>
|
||||
<li><a href="#org1e1bebb">Move around</a></li>
|
||||
<li><a href="#org31fffe9">Line Editing</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#rifle">Rifle</a>
|
||||
<ul>
|
||||
<li><a href="#org1462e63">Documentation</a></li>
|
||||
<li><a href="#org64e62ab">Text Files</a></li>
|
||||
<li><a href="#org72831a4">PDF, Epub and jdvu</a></li>
|
||||
<li><a href="#org2c35566">Archives</a></li>
|
||||
<li><a href="#orga558ade">Websites</a></li>
|
||||
<li><a href="#orgc892be6">Word, Excel and Presentation files</a></li>
|
||||
<li><a href="#org64ef3f5">Images</a></li>
|
||||
<li><a href="#org7d765c1">Audio</a></li>
|
||||
<li><a href="#org82c25f1">Video</a></li>
|
||||
<li><a href="#org85aac1e">Misc</a></li>
|
||||
<li><a href="#orgf43c204">Documentation</a></li>
|
||||
<li><a href="#org23e55de">Text Files</a></li>
|
||||
<li><a href="#orgde2c8c4">PDF, Epub and jdvu</a></li>
|
||||
<li><a href="#org1c7acb5">Archives</a></li>
|
||||
<li><a href="#org76fa21f">Websites</a></li>
|
||||
<li><a href="#org0700123">Word, Excel and Presentation files</a></li>
|
||||
<li><a href="#org384b150">Images</a></li>
|
||||
<li><a href="#org0297fc8">Audio</a></li>
|
||||
<li><a href="#org915f677">Video</a></li>
|
||||
<li><a href="#orgc8412d2">Misc</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org89bf721">Ranger Commands</a>
|
||||
<li><a href="#org0e1d7c0">Ranger Commands</a>
|
||||
<ul>
|
||||
<li><a href="#org58a0d43">Import</a></li>
|
||||
<li><a href="#orgb79cde7">fzf_select</a></li>
|
||||
<li><a href="#orga3bcd54">Import</a></li>
|
||||
<li><a href="#org5e19416">fzf_select</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org55987ce" class="outline-2">
|
||||
<h2 id="org55987ce">Documentation</h2>
|
||||
<div class="outline-text-2" id="text-org55987ce">
|
||||
<div id="outline-container-orgb6407c1" class="outline-2">
|
||||
<h2 id="orgb6407c1">Documentation</h2>
|
||||
<div class="outline-text-2" id="text-orgb6407c1">
|
||||
<blockquote>
|
||||
<p>
|
||||
%f the highlighted file
|
||||
@ -107,17 +106,37 @@
|
||||
%p the full paths of selected files
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
After install, run:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">ranger --copy-config=scope
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
To add <code>scope.sh</code>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
To have image preview:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">sudo</span> pip3 install ueberzug
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org986b109" class="outline-2">
|
||||
<h2 id="org986b109">Config</h2>
|
||||
<div class="outline-text-2" id="text-org986b109">
|
||||
<div id="outline-container-org4832301" class="outline-2">
|
||||
<h2 id="org4832301">Config</h2>
|
||||
<div class="outline-text-2" id="text-org4832301">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd97cb82" class="outline-3">
|
||||
<h3 id="orgd97cb82">Options</h3>
|
||||
<div class="outline-text-3" id="text-orgd97cb82">
|
||||
<div id="outline-container-org377a61f" class="outline-3">
|
||||
<h3 id="org377a61f">Options</h3>
|
||||
<div class="outline-text-3" id="text-org377a61f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Which viewmode should be used? Possible values are:</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">miller: Use miller columns which show multiple levels of the hierarchy</span>
|
||||
@ -269,9 +288,9 @@ set line_numbers false
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1ba2d9f" class="outline-3">
|
||||
<h3 id="org1ba2d9f">Command Aliases in the Console</h3>
|
||||
<div class="outline-text-3" id="text-org1ba2d9f">
|
||||
<div id="outline-container-org1fffbc7" class="outline-3">
|
||||
<h3 id="org1fffbc7">Command Aliases in the Console</h3>
|
||||
<div class="outline-text-3" id="text-org1fffbc7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">alias q quit
|
||||
|
||||
@ -287,9 +306,9 @@ alias travel scout -aefiklst
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7bcf949" class="outline-3">
|
||||
<h3 id="org7bcf949">Some Custom Keybindings</h3>
|
||||
<div class="outline-text-3" id="text-org7bcf949">
|
||||
<div id="outline-container-org678c0de" class="outline-3">
|
||||
<h3 id="org678c0de">Some Custom Keybindings</h3>
|
||||
<div class="outline-text-3" id="text-org678c0de">
|
||||
<p>
|
||||
Extract:
|
||||
</p>
|
||||
@ -350,7 +369,7 @@ Open current folder with PCManFM:
|
||||
Print on Rnice:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map ,p shell print-rnice %f &
|
||||
<pre class="src src-conf">map ,p shell print-esrf %f &
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -369,70 +388,51 @@ Backup to NAS:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfc90829" class="outline-3">
|
||||
<h3 id="orgfc90829">Scripts</h3>
|
||||
<div class="outline-text-3" id="text-orgfc90829">
|
||||
<div id="outline-container-orgf29becc" class="outline-3">
|
||||
<h3 id="orgf29becc">Scripts</h3>
|
||||
<div class="outline-text-3" id="text-orgf29becc">
|
||||
</div>
|
||||
<div id="outline-container-org7681c16" class="outline-4">
|
||||
<h4 id="org7681c16">Extract Script</h4>
|
||||
<div class="outline-text-4" id="text-org7681c16">
|
||||
<div id="outline-container-orgb1b07bd" class="outline-4">
|
||||
<h4 id="orgb1b07bd">Extract Script</h4>
|
||||
<div class="outline-text-4" id="text-orgb1b07bd">
|
||||
<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
|
||||
tmux split -v -l <span class="org-highlight-numbers-number">2</span> atool -x <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> && tmux select-pane -U
|
||||
<span class="org-keyword">else</span>
|
||||
atool -x $<span class="org-highlight-numbers-number">1</span>
|
||||
atool -x <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">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd110a48" class="outline-4">
|
||||
<h4 id="orgd110a48">Compress Script</h4>
|
||||
<div class="outline-text-4" id="text-orgd110a48">
|
||||
<div id="outline-container-orgc214a55" class="outline-4">
|
||||
<h4 id="orgc214a55">Compress Script</h4>
|
||||
<div class="outline-text-4" id="text-orgc214a55">
|
||||
<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
|
||||
tmux split -v -l <span class="org-highlight-numbers-number">2</span> apack <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">.zip"</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> && 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>
|
||||
apack <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">.zip"</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">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org4e182ba" class="outline-4">
|
||||
<h4 id="org4e182ba">Copy File Content</h4>
|
||||
<div class="outline-text-4" id="text-org4e182ba">
|
||||
<div id="outline-container-org24da0c0" class="outline-4">
|
||||
<h4 id="org24da0c0">Copy File Content</h4>
|
||||
<div class="outline-text-4" id="text-org24da0c0">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">xclip -sel c < $<span class="org-highlight-numbers-number">1</span> && dunstify <span class="org-string">"Ranger"</span> <span class="org-string">"Copied to clipboard"</span>
|
||||
<pre class="src src-bash">xclip -sel c < <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> && notify-send <span class="org-string">"Ranger"</span> <span class="org-string">"Copied to clipboard"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb94aa26" class="outline-4">
|
||||
<h4 id="orgb94aa26">Backup to NAS</h4>
|
||||
<div class="outline-text-4" id="text-orgb94aa26">
|
||||
<ul class="org-ul">
|
||||
<li>Arguments are the files to be backup to the NAS</li>
|
||||
</ul>
|
||||
|
||||
<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> rsync -a --inplace --info=progress2 --rsh=<span class="org-string">'ssh '</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> homelab:/srv/storage/Backups/ && tmux select-pane -U
|
||||
<span class="org-keyword">else</span>
|
||||
rsync -a --info=progress2 --inplace --rsh=<span class="org-string">'ssh'</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> homelab:/srv/storage/Backups/
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org95969c5" class="outline-4">
|
||||
<h4 id="org95969c5">Paste with Rsync</h4>
|
||||
<div class="outline-text-4" id="text-org95969c5">
|
||||
<div id="outline-container-orge10239c" class="outline-4">
|
||||
<h4 id="orge10239c">Paste with Rsync</h4>
|
||||
<div class="outline-text-4" id="text-orge10239c">
|
||||
<ul class="org-ul">
|
||||
<li>First argument is the directory where to copy files</li>
|
||||
<li>All other arguments are files that are to be copied</li>
|
||||
@ -440,9 +440,9 @@ Backup to NAS:
|
||||
|
||||
<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> rsync -a --info=progress2 <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{@:2}</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> && tmux select-pane -U
|
||||
tmux split -v -l <span class="org-highlight-numbers-number">1</span> rsync -a --info=progress2 --no-inc-recursive <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{@:2}</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> && tmux select-pane -U
|
||||
<span class="org-keyword">else</span>
|
||||
rsync -a --info=progress2 <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{@:2}</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
|
||||
rsync -a --info=progress2 --no-inc-recursive <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{@:2}</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -450,14 +450,13 @@ Backup to NAS:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgd57ea4e" class="outline-3">
|
||||
<h3 id="orgd57ea4e">Define keys for the browser</h3>
|
||||
<div class="outline-text-3" id="text-orgd57ea4e">
|
||||
<div id="outline-container-org90e8bfd" class="outline-3">
|
||||
<h3 id="org90e8bfd">Define keys for the browser</h3>
|
||||
<div class="outline-text-3" id="text-org90e8bfd">
|
||||
</div>
|
||||
<div id="outline-container-orgf964ebf" class="outline-4">
|
||||
<h4 id="orgf964ebf">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orgf964ebf">
|
||||
<div id="outline-container-org3d7f0cc" class="outline-4">
|
||||
<h4 id="org3d7f0cc">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org3d7f0cc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">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>)
|
||||
@ -494,9 +493,9 @@ map ; console
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1c6f91a" class="outline-4">
|
||||
<h4 id="org1c6f91a">Open Shell in current directory</h4>
|
||||
<div class="outline-text-4" id="text-org1c6f91a">
|
||||
<div id="outline-container-org5811d27" class="outline-4">
|
||||
<h4 id="org5811d27">Open Shell in current directory</h4>
|
||||
<div class="outline-text-4" id="text-org5811d27">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map s shell $SHELL
|
||||
map S shell nohup $TERMINAL &
|
||||
@ -505,9 +504,9 @@ map S shell nohup $TERMINAL &
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdf72b75" class="outline-4">
|
||||
<h4 id="orgdf72b75">Open With</h4>
|
||||
<div class="outline-text-4" id="text-orgdf72b75">
|
||||
<div id="outline-container-orgf09c04f" class="outline-4">
|
||||
<h4 id="orgf09c04f">Open With</h4>
|
||||
<div class="outline-text-4" id="text-orgf09c04f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map O chain draw_possible_programs; console open_with%space
|
||||
</pre>
|
||||
@ -515,9 +514,9 @@ map S shell nohup $TERMINAL &
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8e148cf" class="outline-4">
|
||||
<h4 id="org8e148cf">Filter</h4>
|
||||
<div class="outline-text-4" id="text-org8e148cf">
|
||||
<div id="outline-container-orgc9a1e8e" class="outline-4">
|
||||
<h4 id="orgc9a1e8e">Filter</h4>
|
||||
<div class="outline-text-4" id="text-orgc9a1e8e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map f console filter%space
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Reset filter</span>
|
||||
@ -527,9 +526,9 @@ map F filter
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org29cf3e5" class="outline-4">
|
||||
<h4 id="org29cf3e5">Tagging / Marking</h4>
|
||||
<div class="outline-text-4" id="text-org29cf3e5">
|
||||
<div id="outline-container-org0eab614" class="outline-4">
|
||||
<h4 id="org0eab614">Tagging / Marking</h4>
|
||||
<div class="outline-text-4" id="text-org0eab614">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">map <Space> mark_files toggle</span>=True
|
||||
<span class="org-variable-name">map v mark_files all</span>=True toggle=True
|
||||
@ -538,9 +537,9 @@ map F filter
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8818767" class="outline-4">
|
||||
<h4 id="org8818767">VIM-like</h4>
|
||||
<div class="outline-text-4" id="text-org8818767">
|
||||
<div id="outline-container-orga6c4960" class="outline-4">
|
||||
<h4 id="orga6c4960">VIM-like</h4>
|
||||
<div class="outline-text-4" id="text-orga6c4960">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">copymap <UP> k
|
||||
copymap <DOWN> j
|
||||
@ -553,9 +552,9 @@ copymap <END> G
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org093bc04" class="outline-4">
|
||||
<h4 id="org093bc04">Jumping around</h4>
|
||||
<div class="outline-text-4" id="text-org093bc04">
|
||||
<div id="outline-container-orgbaf5bfa" class="outline-4">
|
||||
<h4 id="orgbaf5bfa">Jumping around</h4>
|
||||
<div class="outline-text-4" id="text-orgbaf5bfa">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map H history_go -1
|
||||
map L history_go <span class="org-highlight-numbers-number">1</span>
|
||||
@ -580,27 +579,28 @@ map [ move_parent -1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org20acc37" class="outline-4">
|
||||
<h4 id="org20acc37">Go to special folders</h4>
|
||||
<div class="outline-text-4" id="text-org20acc37">
|
||||
<div id="outline-container-orgd438dd9" class="outline-4">
|
||||
<h4 id="orgd438dd9">Go to special folders</h4>
|
||||
<div class="outline-text-4" id="text-orgd438dd9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map gh cd ~/
|
||||
map gb cd ~/Cloud/brain
|
||||
map gm cd ~/Cloud/thesis
|
||||
map gw cd ~/Cloud/work-projects
|
||||
map gp cd ~/Pictures
|
||||
map gP cd ~/Cloud/pictures/phone
|
||||
map gT cd ~/.local/share/Trash/files
|
||||
map gd cd ~/Downloads
|
||||
map gD cd ~/Cloud/documents
|
||||
map gc cd ~/Cloud
|
||||
map gV cd ~/.config/literate-dotfiles
|
||||
map gm cd ~/Cloud/meetings
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga3a9ba6" class="outline-4">
|
||||
<h4 id="orga3a9ba6">Get size of folders</h4>
|
||||
<div class="outline-text-4" id="text-orga3a9ba6">
|
||||
<div id="outline-container-org614f51e" class="outline-4">
|
||||
<h4 id="org614f51e">Get size of folders</h4>
|
||||
<div class="outline-text-4" id="text-org614f51e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Get size of all folders</span>
|
||||
<span class="org-variable-name">map du shell -p du --max-depth</span>=<span class="org-highlight-numbers-number">1</span> -h --apparent-size
|
||||
@ -611,9 +611,9 @@ map gV cd ~/.config/literate-dotfiles
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8fee5b5" class="outline-4">
|
||||
<h4 id="org8fee5b5">Yank path of directory/file</h4>
|
||||
<div class="outline-text-4" id="text-org8fee5b5">
|
||||
<div id="outline-container-org9fabfc6" class="outline-4">
|
||||
<h4 id="org9fabfc6">Yank path of directory/file</h4>
|
||||
<div class="outline-text-4" id="text-org9fabfc6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Yank path of current directory/file</span>
|
||||
map yp shell -f echo -n %d/%f | xsel -i; xsel -o | xsel -i -b
|
||||
@ -626,19 +626,19 @@ map yn shell -f echo -n %f | xsel -i; xsel -o | xsel -i -b
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf653bf2" class="outline-4">
|
||||
<h4 id="orgf653bf2">Drag and Drop</h4>
|
||||
<div class="outline-text-4" id="text-orgf653bf2">
|
||||
<div id="outline-container-orgd122cc5" class="outline-4">
|
||||
<h4 id="orgd122cc5">Drag and Drop</h4>
|
||||
<div class="outline-text-4" id="text-orgd122cc5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map D shell dragon-drag-and-drop -a -x %p
|
||||
<pre class="src src-conf">map D shell dragon -a -x %p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf520032" class="outline-4">
|
||||
<h4 id="orgf520032">Rename files</h4>
|
||||
<div class="outline-text-4" id="text-orgf520032">
|
||||
<div id="outline-container-org40d7da9" class="outline-4">
|
||||
<h4 id="org40d7da9">Rename files</h4>
|
||||
<div class="outline-text-4" id="text-org40d7da9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map a rename_append
|
||||
map C eval fm.execute_console(<span class="org-string">"bulkrename"</span>) if fm.thisdir.marked_items else fm.open_console(<span class="org-string">"rename "</span>)
|
||||
@ -649,9 +649,9 @@ map I eval fm.open_console(<span class="org-string">'rename '</span> + fm.thisf
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org402e074" class="outline-4">
|
||||
<h4 id="org402e074">Paste files</h4>
|
||||
<div class="outline-text-4" id="text-org402e074">
|
||||
<div id="outline-container-orge14bd5c" class="outline-4">
|
||||
<h4 id="orge14bd5c">Paste files</h4>
|
||||
<div class="outline-text-4" id="text-orge14bd5c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map pp paste
|
||||
<span class="org-variable-name">map po paste overwrite</span>=True
|
||||
@ -674,9 +674,9 @@ Paste with Rsync
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c2f844" class="outline-4">
|
||||
<h4 id="org5c2f844">Delete and move files</h4>
|
||||
<div class="outline-text-4" id="text-org5c2f844">
|
||||
<div id="outline-container-orgaa7c2c3" class="outline-4">
|
||||
<h4 id="orgaa7c2c3">Delete and move files</h4>
|
||||
<div class="outline-text-4" id="text-orgaa7c2c3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map dD shell -s trash-put %s
|
||||
map dd cut
|
||||
@ -686,9 +686,9 @@ map du uncut
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8c6e09d" class="outline-4">
|
||||
<h4 id="org8c6e09d">Copy files</h4>
|
||||
<div class="outline-text-4" id="text-org8c6e09d">
|
||||
<div id="outline-container-org6a0ab9c" class="outline-4">
|
||||
<h4 id="org6a0ab9c">Copy files</h4>
|
||||
<div class="outline-text-4" id="text-org6a0ab9c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map yy copy
|
||||
map yu uncut
|
||||
@ -697,9 +697,9 @@ map yu uncut
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9bae784" class="outline-4">
|
||||
<h4 id="org9bae784">Searching</h4>
|
||||
<div class="outline-text-4" id="text-org9bae784">
|
||||
<div id="outline-container-org96d5c4e" class="outline-4">
|
||||
<h4 id="org96d5c4e">Searching</h4>
|
||||
<div class="outline-text-4" id="text-org96d5c4e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map / console search%space
|
||||
map n search_next
|
||||
@ -709,9 +709,9 @@ map n search_next
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org179497a" class="outline-4">
|
||||
<h4 id="org179497a">Tabs</h4>
|
||||
<div class="outline-text-4" id="text-org179497a">
|
||||
<div id="outline-container-org9a73d6d" class="outline-4">
|
||||
<h4 id="org9a73d6d">Tabs</h4>
|
||||
<div class="outline-text-4" id="text-org9a73d6d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map <C-n> tab_new ~
|
||||
map <C-w> tab_close
|
||||
@ -726,9 +726,9 @@ map gt tab_move <span class="org-highlight-numbers-number">1</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9362376" class="outline-4">
|
||||
<h4 id="org9362376">Settings</h4>
|
||||
<div class="outline-text-4" id="text-org9362376">
|
||||
<div id="outline-container-org68a56b0" class="outline-4">
|
||||
<h4 id="org68a56b0">Settings</h4>
|
||||
<div class="outline-text-4" id="text-org68a56b0">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map zh set show_hidden!
|
||||
|
||||
@ -739,9 +739,9 @@ map zv set use_preview_script!
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3d82580" class="outline-4">
|
||||
<h4 id="org3d82580">Bookmarks</h4>
|
||||
<div class="outline-text-4" id="text-org3d82580">
|
||||
<div id="outline-container-org0fd03b5" class="outline-4">
|
||||
<h4 id="org0fd03b5">Bookmarks</h4>
|
||||
<div class="outline-text-4" id="text-org0fd03b5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map `<any> enter_bookmark %any
|
||||
map <span class="org-string">'<any> enter_bookmark %any</span>
|
||||
@ -755,9 +755,9 @@ map <span class="org-string">'<any> enter_bookmark %any</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc3db4a0" class="outline-4">
|
||||
<h4 id="orgc3db4a0">FZF</h4>
|
||||
<div class="outline-text-4" id="text-orgc3db4a0">
|
||||
<div id="outline-container-orgb0115a2" class="outline-4">
|
||||
<h4 id="orgb0115a2">FZF</h4>
|
||||
<div class="outline-text-4" id="text-orgb0115a2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map <C-f> fzf_select
|
||||
</pre>
|
||||
@ -766,13 +766,13 @@ map <span class="org-string">'<any> enter_bookmark %any</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7e7a4ec" class="outline-3">
|
||||
<h3 id="org7e7a4ec">Define keys for the console</h3>
|
||||
<div class="outline-text-3" id="text-org7e7a4ec">
|
||||
<div id="outline-container-orgdefc138" class="outline-3">
|
||||
<h3 id="orgdefc138">Define keys for the console</h3>
|
||||
<div class="outline-text-3" id="text-orgdefc138">
|
||||
</div>
|
||||
<div id="outline-container-orgef5af30" class="outline-4">
|
||||
<h4 id="orgef5af30">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orgef5af30">
|
||||
<div id="outline-container-org9a83f87" class="outline-4">
|
||||
<h4 id="org9a83f87">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org9a83f87">
|
||||
<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)
|
||||
@ -790,9 +790,9 @@ copycmap <CR> <C-j>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga9f3972" class="outline-4">
|
||||
<h4 id="orga9f3972">Move around</h4>
|
||||
<div class="outline-text-4" id="text-orga9f3972">
|
||||
<div id="outline-container-org1e1bebb" class="outline-4">
|
||||
<h4 id="org1e1bebb">Move around</h4>
|
||||
<div class="outline-text-4" id="text-org1e1bebb">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">cmap <up> eval fm.ui.console.history_move(-1)
|
||||
cmap <down> eval fm.ui.console.history_move(<span class="org-highlight-numbers-number">1</span>)
|
||||
@ -803,9 +803,9 @@ cmap <down> eval fm.ui.console.history_move(<span class="org-highlight-nu
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6265874" class="outline-4">
|
||||
<h4 id="org6265874">Line Editing</h4>
|
||||
<div class="outline-text-4" id="text-org6265874">
|
||||
<div id="outline-container-org31fffe9" class="outline-4">
|
||||
<h4 id="org31fffe9">Line Editing</h4>
|
||||
<div class="outline-text-4" id="text-org31fffe9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">cmap <backspace> eval fm.ui.console.delete(-1)
|
||||
cmap <delete> eval fm.ui.console.delete(<span class="org-highlight-numbers-number">0</span>)
|
||||
@ -825,9 +825,9 @@ copycmap <end> <C-e>
|
||||
<div class="outline-text-2" id="text-rifle">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1462e63" class="outline-3">
|
||||
<h3 id="org1462e63">Documentation</h3>
|
||||
<div class="outline-text-3" id="text-org1462e63">
|
||||
<div id="outline-container-orgf43c204" class="outline-3">
|
||||
<h3 id="orgf43c204">Documentation</h3>
|
||||
<div class="outline-text-3" id="text-orgf43c204">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">This is the configuration file of "rifle", ranger's file executor/opener.</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Each line consists of conditions and a command. For each line the conditions</span>
|
||||
@ -881,9 +881,9 @@ copycmap <end> <C-e>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64e62ab" class="outline-3">
|
||||
<h3 id="org64e62ab">Text Files</h3>
|
||||
<div class="outline-text-3" id="text-org64e62ab">
|
||||
<div id="outline-container-org23e55de" class="outline-3">
|
||||
<h3 id="org23e55de">Text Files</h3>
|
||||
<div class="outline-text-3" id="text-org23e55de">
|
||||
<p>
|
||||
Define the <code>$EDITOR</code> for text files as first action:
|
||||
</p>
|
||||
@ -924,9 +924,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org72831a4" class="outline-3">
|
||||
<h3 id="org72831a4">PDF, Epub and jdvu</h3>
|
||||
<div class="outline-text-3" id="text-org72831a4">
|
||||
<div id="outline-container-orgde2c8c4" class="outline-3">
|
||||
<h3 id="orgde2c8c4">PDF, Epub and jdvu</h3>
|
||||
<div class="outline-text-3" id="text-orgde2c8c4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext pdf, has zathura, X, flag f</span> = zathura -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext pdf, has mupdf, X, flag f</span> = mupdf <span class="org-string">"$@"</span>
|
||||
@ -949,9 +949,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2c35566" class="outline-3">
|
||||
<h3 id="org2c35566">Archives</h3>
|
||||
<div class="outline-text-3" id="text-org2c35566">
|
||||
<div id="outline-container-org1c7acb5" class="outline-3">
|
||||
<h3 id="org1c7acb5">Archives</h3>
|
||||
<div class="outline-text-3" id="text-org1c7acb5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool</span> = atool -- <span class="org-string">"$@"</span> | <span class="org-string">"$PAGER"</span>
|
||||
<span class="org-variable-name">ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool</span> = atool -- <span class="org-string">"$@"</span> | <span class="org-string">"$PAGER"</span>
|
||||
@ -966,9 +966,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga558ade" class="outline-3">
|
||||
<h3 id="orga558ade">Websites</h3>
|
||||
<div class="outline-text-3" id="text-orga558ade">
|
||||
<div id="outline-container-org76fa21f" class="outline-3">
|
||||
<h3 id="org76fa21f">Websites</h3>
|
||||
<div class="outline-text-3" id="text-org76fa21f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext x?html?, has qutebrowser, X, flag f</span> = qutebrowser -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext x?html?, has firefox, X, flag f</span> = firefox -- <span class="org-string">"$@"</span>
|
||||
@ -979,18 +979,18 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc892be6" class="outline-3">
|
||||
<h3 id="orgc892be6">Word, Excel and Presentation files</h3>
|
||||
<div class="outline-text-3" id="text-orgc892be6">
|
||||
<div id="outline-container-org0700123" class="outline-3">
|
||||
<h3 id="org0700123">Word, Excel and Presentation files</h3>
|
||||
<div class="outline-text-3" id="text-org0700123">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext docx?, has onlyoffice, X, flag f</span> = onlyoffice <span class="org-string">"$@"</span>
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext docx?, has onlyoffice-desktopeditors, X, flag f</span> = onlyoffice-desktopeditors <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext docx?, has wps, X, flag f</span> = wps <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext docx?, has libreoffice, X, flag f</span> = libreoffice <span class="org-string">"$@"</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext pptx?, has onlyoffice, X, flag f</span> = onlyoffice <span class="org-string">"$@"</span>
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext pptx?, has onlyoffice-desktopeditors, X, flag f</span> = onlyoffice-desktopeditors <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext pptx?, has wps, X, flag f</span> = wps <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext pptx?, has libreoffice, X, flag f</span> = libreoffice <span class="org-string">"$@"</span>
|
||||
</pre>
|
||||
@ -998,7 +998,7 @@ Org mode files
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">ext csv|xlsx?, has sc-im</span> = sc-im -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext csv|xlsx?, has onlyoffice, X, flag f</span> = onlyoffice <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext csv|xlsx?, has onlyoffice-desktopeditors, X, flag f</span> = onlyoffice-desktopeditors <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext csv|xlsx?, has wps, X, flag f</span> = wps <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext csv|xlsx?, has libreoffice, X, flag f</span> = libreoffice <span class="org-string">"$@"</span>
|
||||
</pre>
|
||||
@ -1006,9 +1006,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64ef3f5" class="outline-3">
|
||||
<h3 id="org64ef3f5">Images</h3>
|
||||
<div class="outline-text-3" id="text-org64ef3f5">
|
||||
<div id="outline-container-org384b150" class="outline-3">
|
||||
<h3 id="org384b150">Images</h3>
|
||||
<div class="outline-text-3" id="text-org384b150">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">mime ^image/svg, has inkview, X, flag f</span> = inkview -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">mime ^image/svg, has inkscape, X, flag f</span> = inkscape -- <span class="org-string">"$@"</span>
|
||||
@ -1030,9 +1030,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7d765c1" class="outline-3">
|
||||
<h3 id="org7d765c1">Audio</h3>
|
||||
<div class="outline-text-3" id="text-org7d765c1">
|
||||
<div id="outline-container-org0297fc8" class="outline-3">
|
||||
<h3 id="org0297fc8">Audio</h3>
|
||||
<div class="outline-text-3" id="text-org0297fc8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">mime ^audio|ogg$, terminal, has mpv</span> = mpv --no-audio-display -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">mime ^audio|ogg$, X, flag f, has vlc</span> = vlc -- <span class="org-string">"$@"</span>
|
||||
@ -1041,9 +1041,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org82c25f1" class="outline-3">
|
||||
<h3 id="org82c25f1">Video</h3>
|
||||
<div class="outline-text-3" id="text-org82c25f1">
|
||||
<div id="outline-container-org915f677" class="outline-3">
|
||||
<h3 id="org915f677">Video</h3>
|
||||
<div class="outline-text-3" id="text-org915f677">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">mime ^video, has mpv, X, flag f</span> = mpv -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">mime ^video, has vlc, X, flag f</span> = vlc -- <span class="org-string">"$@"</span>
|
||||
@ -1052,9 +1052,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org85aac1e" class="outline-3">
|
||||
<h3 id="org85aac1e">Misc</h3>
|
||||
<div class="outline-text-3" id="text-org85aac1e">
|
||||
<div id="outline-container-orgc8412d2" class="outline-3">
|
||||
<h3 id="orgc8412d2">Misc</h3>
|
||||
<div class="outline-text-3" id="text-orgc8412d2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">ext <span class="org-highlight-numbers-number">1</span> = man <span class="org-string">"$1"</span>
|
||||
<span class="org-variable-name">ext s[wmf]c, has zsnes, X</span> = zsnes <span class="org-string">"$1"</span>
|
||||
@ -1070,20 +1070,20 @@ Org mode files
|
||||
<span class="org-variable-name">!mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php</span> = ask
|
||||
<span class="org-variable-name">label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php</span> = $EDITOR -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php</span> = <span class="org-string">"$PAGER"</span> -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">has dragon-drag-and-drop, X, flag f</span> = dragon-drag-and-drop -a -x <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">has dragon, X, flag f</span> = dragon -a -x <span class="org-string">"$@"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org89bf721" class="outline-2">
|
||||
<h2 id="org89bf721">Ranger Commands</h2>
|
||||
<div class="outline-text-2" id="text-org89bf721">
|
||||
<div id="outline-container-org0e1d7c0" class="outline-2">
|
||||
<h2 id="org0e1d7c0">Ranger Commands</h2>
|
||||
<div class="outline-text-2" id="text-org0e1d7c0">
|
||||
</div>
|
||||
<div id="outline-container-org58a0d43" class="outline-3">
|
||||
<h3 id="org58a0d43">Import</h3>
|
||||
<div class="outline-text-3" id="text-org58a0d43">
|
||||
<div id="outline-container-orga3bcd54" class="outline-3">
|
||||
<h3 id="orga3bcd54">Import</h3>
|
||||
<div class="outline-text-3" id="text-orga3bcd54">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-keyword">from</span> ranger.api.commands <span class="org-keyword">import</span> *
|
||||
|
||||
@ -1093,9 +1093,9 @@ Org mode files
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb79cde7" class="outline-3">
|
||||
<h3 id="orgb79cde7">fzf_select</h3>
|
||||
<div class="outline-text-3" id="text-orgb79cde7">
|
||||
<div id="outline-container-org5e19416" class="outline-3">
|
||||
<h3 id="org5e19416">fzf_select</h3>
|
||||
<div class="outline-text-3" id="text-org5e19416">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-keyword">class</span> <span class="org-type">fzf_select</span>(Command):
|
||||
<span class="org-doc">"""</span>
|
||||
@ -1134,7 +1134,7 @@ Org mode files
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:21</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-04-25 dim. 19:10 -->
|
||||
<!-- 2022-05-09 lun. 10:03 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Rofi Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,21 +16,21 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Rofi Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgcda15fb">Rofi</a></li>
|
||||
<li><a href="#orged85414">Theme</a></li>
|
||||
<li><a href="#orgfd8e08a">Rofi</a></li>
|
||||
<li><a href="#org30eac50">Theme</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcda15fb" class="outline-2">
|
||||
<h2 id="orgcda15fb">Rofi</h2>
|
||||
<div class="outline-text-2" id="text-orgcda15fb">
|
||||
<div id="outline-container-orgfd8e08a" class="outline-2">
|
||||
<h2 id="orgfd8e08a">Rofi</h2>
|
||||
<div class="outline-text-2" id="text-orgfd8e08a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-type">configuration</span> {
|
||||
modi: <span class="org-string">"window,run,ssh"</span>;
|
||||
@ -83,9 +83,9 @@ kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orged85414" class="outline-2">
|
||||
<h2 id="orged85414">Theme</h2>
|
||||
<div class="outline-text-2" id="text-orged85414">
|
||||
<div id="outline-container-org30eac50" class="outline-2">
|
||||
<h2 id="org30eac50">Theme</h2>
|
||||
<div class="outline-text-2" id="text-org30eac50">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-type">configuration</span> {
|
||||
me-select-entry: <span class="org-string">"MouseSecondary"</span>;
|
||||
@ -273,7 +273,7 @@ text-color: @selected-urgent-foreground;
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-04-25 dim. 19:10</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:03</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:05 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Open-WRT Router (Netgear R7000)</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,35 +22,35 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org94a53fe">Installation</a>
|
||||
<li><a href="#org10a62da">Installation</a>
|
||||
<ul>
|
||||
<li><a href="#org160d543">Freebox - Bridge mode</a></li>
|
||||
<li><a href="#org99fb9c5">Enable SSL</a></li>
|
||||
<li><a href="#org68a11a8">Install useful packages</a></li>
|
||||
<li><a href="#orgb0c9c51">Freebox - Bridge mode</a></li>
|
||||
<li><a href="#orgb1bb8d6">Enable SSL</a></li>
|
||||
<li><a href="#org9e54ef4">Install useful packages</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgf6a31ea">Update</a></li>
|
||||
<li><a href="#orgf2ed597">Configuration</a></li>
|
||||
<li><a href="#orgaff4014">Update</a></li>
|
||||
<li><a href="#org71a1575">Configuration</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org94a53fe" class="outline-2">
|
||||
<h2 id="org94a53fe">Installation</h2>
|
||||
<div class="outline-text-2" id="text-org94a53fe">
|
||||
<div id="outline-container-org10a62da" class="outline-2">
|
||||
<h2 id="org10a62da">Installation</h2>
|
||||
<div class="outline-text-2" id="text-org10a62da">
|
||||
</div>
|
||||
<div id="outline-container-org160d543" class="outline-3">
|
||||
<h3 id="org160d543">Freebox - Bridge mode</h3>
|
||||
<div class="outline-text-3" id="text-org160d543">
|
||||
<div id="outline-container-orgb0c9c51" class="outline-3">
|
||||
<h3 id="orgb0c9c51">Freebox - Bridge mode</h3>
|
||||
<div class="outline-text-3" id="text-orgb0c9c51">
|
||||
<p>
|
||||
<a href="https://blog.kulakowski.fr/post/openwrt-derriere-une-freebox-ipv6-dmz-et-bridge">https://blog.kulakowski.fr/post/openwrt-derriere-une-freebox-ipv6-dmz-et-bridge</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org99fb9c5" class="outline-3">
|
||||
<h3 id="org99fb9c5">Enable SSL</h3>
|
||||
<div class="outline-text-3" id="text-org99fb9c5">
|
||||
<div id="outline-container-orgb1bb8d6" class="outline-3">
|
||||
<h3 id="orgb1bb8d6">Enable SSL</h3>
|
||||
<div class="outline-text-3" id="text-orgb1bb8d6">
|
||||
<p>
|
||||
How can I enable SSL for the web admin gui?
|
||||
In an SSH-command line, run opkg update, then install the package opkg install luci-ssl, then restart the router. Then you can access <a href="https://192.168.1.1">https://192.168.1.1</a> or <a href="https://openwrt">https://openwrt</a> with your favorite web browser
|
||||
@ -58,9 +58,9 @@ In an SSH-command line, run opkg update, then install the package opkg install l
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org68a11a8" class="outline-3">
|
||||
<h3 id="org68a11a8">Install useful packages</h3>
|
||||
<div class="outline-text-3" id="text-org68a11a8">
|
||||
<div id="outline-container-org9e54ef4" class="outline-3">
|
||||
<h3 id="org9e54ef4">Install useful packages</h3>
|
||||
<div class="outline-text-3" id="text-org9e54ef4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">opkg update && opkg install luci-ssl-openssl luci-theme-material ipset <span class="org-type">curl</span> diffutils speedtest-netperf kmod-ipt-nat6
|
||||
</pre>
|
||||
@ -69,9 +69,9 @@ In an SSH-command line, run opkg update, then install the package opkg install l
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf6a31ea" class="outline-2">
|
||||
<h2 id="orgf6a31ea">Update</h2>
|
||||
<div class="outline-text-2" id="text-orgf6a31ea">
|
||||
<div id="outline-container-orgaff4014" class="outline-2">
|
||||
<h2 id="orgaff4014">Update</h2>
|
||||
<div class="outline-text-2" id="text-orgaff4014">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">opkg list-upgradable | cut -f <span class="org-highlight-numbers-number">1</span> -d <span class="org-string">' '</span> | xargs -r opkg upgrade
|
||||
</pre>
|
||||
@ -79,9 +79,9 @@ In an SSH-command line, run opkg update, then install the package opkg install l
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf2ed597" class="outline-2">
|
||||
<h2 id="orgf2ed597">Configuration</h2>
|
||||
<div class="outline-text-2" id="text-orgf2ed597">
|
||||
<div id="outline-container-org71a1575" class="outline-2">
|
||||
<h2 id="org71a1575">Configuration</h2>
|
||||
<div class="outline-text-2" id="text-org71a1575">
|
||||
<p>
|
||||
<a href="https://openwrt.org/docs/guide-user/base-system/uci#common_principles">https://openwrt.org/docs/guide-user/base-system/uci#common_principles</a>
|
||||
</p>
|
||||
@ -141,7 +141,7 @@ Configuration files are in <code>/etc/config</code>.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:05</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-04-25 dim. 19:10 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Smart TV</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,21 +16,21 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Smart TV</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgc99bcbe">Hardware</a></li>
|
||||
<li><a href="#orgdcb6edf">Installation</a></li>
|
||||
<li><a href="#orgf7db208">Hardware</a></li>
|
||||
<li><a href="#org04eddfa">Installation</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc99bcbe" class="outline-2">
|
||||
<h2 id="orgc99bcbe">Hardware</h2>
|
||||
<div class="outline-text-2" id="text-orgc99bcbe">
|
||||
<div id="outline-container-orgf7db208" class="outline-2">
|
||||
<h2 id="orgf7db208">Hardware</h2>
|
||||
<div class="outline-text-2" id="text-orgf7db208">
|
||||
<p>
|
||||
MINISFORUM X35G Mini PC
|
||||
</p>
|
||||
@ -69,9 +69,9 @@ MINISFORUM X35G Mini PC
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdcb6edf" class="outline-2">
|
||||
<h2 id="orgdcb6edf">Installation</h2>
|
||||
<div class="outline-text-2" id="text-orgdcb6edf">
|
||||
<div id="outline-container-org04eddfa" class="outline-2">
|
||||
<h2 id="org04eddfa">Installation</h2>
|
||||
<div class="outline-text-2" id="text-org04eddfa">
|
||||
<ul class="org-ul">
|
||||
<li>Manjaro KDE</li>
|
||||
<li>Install <code>paru</code></li>
|
||||
@ -83,7 +83,7 @@ MINISFORUM X35G Mini PC
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-04-25 dim. 19:10</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
336
docs/sxhkd.html
336
docs/sxhkd.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:21 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Simple X Hotkey Daemon</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,52 +16,41 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Simple X Hotkey Daemon</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgc1e18e6">Basic</a></li>
|
||||
<li><a href="#orgeadcbf4">Multimedia keys</a>
|
||||
<li><a href="#org4624078">Basic</a></li>
|
||||
<li><a href="#org90f8a1b">Multimedia keys</a>
|
||||
<ul>
|
||||
<li><a href="#orgd68d181">Sound</a></li>
|
||||
<li><a href="#org24e45ab">Backlight</a></li>
|
||||
<li><a href="#org4c0670a">Change Tracks</a></li>
|
||||
<li><a href="#orgd572bed">Print Screen</a></li>
|
||||
<li><a href="#orga25cc09">Other</a></li>
|
||||
<li><a href="#org99f76b9">Sound</a></li>
|
||||
<li><a href="#org34c6f17">Backlight</a></li>
|
||||
<li><a href="#orgb243371">Change Tracks</a></li>
|
||||
<li><a href="#org7030418">Print Screen</a></li>
|
||||
<li><a href="#orgbf3ca39">Other</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgfa5db4a"><code>Super + key</code> - Start Applications</a></li>
|
||||
<li><a href="#orgda8c5e4"><code>Super + Shift</code> - Managing Applications</a></li>
|
||||
<li><a href="#orgad54cb1"><code>Super + Space</code> - Command Mode</a></li>
|
||||
<li><a href="#org655f822">BSPWM related</a>
|
||||
<li><a href="#org4f74836"><code>Super + key</code> - Start Applications</a></li>
|
||||
<li><a href="#org95c65ac"><code>Super + Shift</code> - Managing Applications</a></li>
|
||||
<li><a href="#orgd3fdbc1"><code>Super + Space</code> - Command Mode</a></li>
|
||||
<li><a href="#orga3d4227">I3 related</a>
|
||||
<ul>
|
||||
<li><a href="#orgb21b9fa">BSPWM hotkeys</a></li>
|
||||
<li><a href="#org7784897">Monocle Layout</a></li>
|
||||
<li><a href="#orgf0e6469">Set the window State</a></li>
|
||||
<li><a href="#org8a5891f">Sticky Window</a></li>
|
||||
<li><a href="#org9363f85">Focus and Swap</a></li>
|
||||
<li><a href="#org1163075">Preselect</a></li>
|
||||
<li><a href="#org523987d">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb8b77ba">I3 related</a>
|
||||
<ul>
|
||||
<li><a href="#orgf0994dd">Kill Window</a></li>
|
||||
<li><a href="#org61f51d5">Set the window State</a></li>
|
||||
<li><a href="#org993d527">focus/swap</a></li>
|
||||
<li><a href="#orgd3c5be6">Preselect</a></li>
|
||||
<li><a href="#org83da401">Resize</a></li>
|
||||
<li><a href="#orgdbe9d37">Kill Window</a></li>
|
||||
<li><a href="#org1423ca3">Set the window State</a></li>
|
||||
<li><a href="#org69184b8">focus/swap</a></li>
|
||||
<li><a href="#orgc5f1368">Preselect</a></li>
|
||||
<li><a href="#org57e5904">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc1e18e6" class="outline-2">
|
||||
<h2 id="orgc1e18e6">Basic</h2>
|
||||
<div class="outline-text-2" id="text-orgc1e18e6">
|
||||
<div id="outline-container-org4624078" class="outline-2">
|
||||
<h2 id="org4624078">Basic</h2>
|
||||
<div class="outline-text-2" id="text-org4624078">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Kill Windows</span>
|
||||
super + ctrl + x
|
||||
@ -107,13 +96,13 @@ super + shift + d
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgeadcbf4" class="outline-2">
|
||||
<h2 id="orgeadcbf4">Multimedia keys</h2>
|
||||
<div class="outline-text-2" id="text-orgeadcbf4">
|
||||
<div id="outline-container-org90f8a1b" class="outline-2">
|
||||
<h2 id="org90f8a1b">Multimedia keys</h2>
|
||||
<div class="outline-text-2" id="text-org90f8a1b">
|
||||
</div>
|
||||
<div id="outline-container-orgd68d181" class="outline-3">
|
||||
<h3 id="orgd68d181">Sound</h3>
|
||||
<div class="outline-text-3" id="text-orgd68d181">
|
||||
<div id="outline-container-org99f76b9" class="outline-3">
|
||||
<h3 id="org99f76b9">Sound</h3>
|
||||
<div class="outline-text-3" id="text-org99f76b9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Mute/Unmute</span>
|
||||
XF86AudioMute
|
||||
@ -131,9 +120,9 @@ XF86AudioLowerVolume
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org24e45ab" class="outline-3">
|
||||
<h3 id="org24e45ab">Backlight</h3>
|
||||
<div class="outline-text-3" id="text-org24e45ab">
|
||||
<div id="outline-container-org34c6f17" class="outline-3">
|
||||
<h3 id="org34c6f17">Backlight</h3>
|
||||
<div class="outline-text-3" id="text-org34c6f17">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Increase Backlight</span>
|
||||
XF86MonBrightnessUp
|
||||
@ -147,9 +136,9 @@ XF86MonBrightnessDown
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4c0670a" class="outline-3">
|
||||
<h3 id="org4c0670a">Change Tracks</h3>
|
||||
<div class="outline-text-3" id="text-org4c0670a">
|
||||
<div id="outline-container-orgb243371" class="outline-3">
|
||||
<h3 id="orgb243371">Change Tracks</h3>
|
||||
<div class="outline-text-3" id="text-orgb243371">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Play/Pause music</span>
|
||||
super + period
|
||||
@ -178,9 +167,9 @@ XF86AudioPrev
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd572bed" class="outline-3">
|
||||
<h3 id="orgd572bed">Print Screen</h3>
|
||||
<div class="outline-text-3" id="text-orgd572bed">
|
||||
<div id="outline-container-org7030418" class="outline-3">
|
||||
<h3 id="org7030418">Print Screen</h3>
|
||||
<div class="outline-text-3" id="text-org7030418">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Screenshot script</span>
|
||||
Print
|
||||
@ -194,9 +183,9 @@ XF86Display
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga25cc09" class="outline-3">
|
||||
<h3 id="orga25cc09">Other</h3>
|
||||
<div class="outline-text-3" id="text-orga25cc09">
|
||||
<div id="outline-container-orgbf3ca39" class="outline-3">
|
||||
<h3 id="orgbf3ca39">Other</h3>
|
||||
<div class="outline-text-3" id="text-orgbf3ca39">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Run Command</span>
|
||||
XF86Search
|
||||
@ -207,9 +196,9 @@ XF86Search
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfa5db4a" class="outline-2">
|
||||
<h2 id="orgfa5db4a"><code>Super + key</code> - Start Applications</h2>
|
||||
<div class="outline-text-2" id="text-orgfa5db4a">
|
||||
<div id="outline-container-org4f74836" class="outline-2">
|
||||
<h2 id="org4f74836"><code>Super + key</code> - Start Applications</h2>
|
||||
<div class="outline-text-2" id="text-org4f74836">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Switch Windows</span>
|
||||
super + w
|
||||
@ -250,15 +239,11 @@ super + e
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgda8c5e4" class="outline-2">
|
||||
<h2 id="orgda8c5e4"><code>Super + Shift</code> - Managing Applications</h2>
|
||||
<div class="outline-text-2" id="text-orgda8c5e4">
|
||||
<div id="outline-container-org95c65ac" class="outline-2">
|
||||
<h2 id="org95c65ac"><code>Super + Shift</code> - Managing Applications</h2>
|
||||
<div class="outline-text-2" id="text-org95c65ac">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Network Manager</span>
|
||||
super + shift + w
|
||||
$TERMINAL --title nmtui -e sudo nmtui
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Bluetooth Manager</span>
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Bluetooth Manager</span>
|
||||
super + shift + b
|
||||
blueman-manager
|
||||
|
||||
@ -270,10 +255,6 @@ super + shift + c
|
||||
super + shift + s
|
||||
pavucontrol
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Bookmarks</span>
|
||||
super + shift + f
|
||||
bukurun
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Passwords</span>
|
||||
super + shift + p
|
||||
rofi-pass
|
||||
@ -282,9 +263,9 @@ super + shift + p
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgad54cb1" class="outline-2">
|
||||
<h2 id="orgad54cb1"><code>Super + Space</code> - Command Mode</h2>
|
||||
<div class="outline-text-2" id="text-orgad54cb1">
|
||||
<div id="outline-container-orgd3fdbc1" class="outline-2">
|
||||
<h2 id="orgd3fdbc1"><code>Super + Space</code> - Command Mode</h2>
|
||||
<div class="outline-text-2" id="text-orgd3fdbc1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Command line Calendar Client (khal)</span>
|
||||
super + space ; c
|
||||
@ -292,19 +273,15 @@ super + space ; c
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span>
|
||||
super + space ; o
|
||||
pcmanfm;
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Download with Aria2c</span>
|
||||
super + space ; d
|
||||
$TERMINAL -e tmux new-session -A -s aria2p aria2p --port <span class="org-highlight-numbers-number">6800</span> --host http://dl.tdehaeze.xyz --secret $(pass dl.tdehaeze.xyz/tdehaeze | sed -n 1p)
|
||||
nautilus;
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Run another instance of Neomutt in read-only mode</span>
|
||||
super + space ; m
|
||||
$TERMINAL -e neomutt -R
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">News with newsboat</span>
|
||||
super + space ; n
|
||||
$TERMINAL -e tmux new-session -A -s newsboat newsboat
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span>
|
||||
super + space ; w
|
||||
$TERMINAL -e tmux new-session -A -s gomuks gomuks
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span>
|
||||
super + space ; p
|
||||
@ -314,187 +291,22 @@ super + space ; p
|
||||
super + space ; i
|
||||
$BROWSER;
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Torrent Managaer</span>
|
||||
super + space ; t
|
||||
$TERMINAL -e tremc
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs</span>
|
||||
super + space ; e
|
||||
<span class="org-variable-name">emacsclient -create-frame --alternate-editor</span>=<span class="org-string">""</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Weather</span>
|
||||
super + space ; shift + w
|
||||
weather;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org655f822" class="outline-2">
|
||||
<h2 id="org655f822">BSPWM related</h2>
|
||||
<div class="outline-text-2" id="text-org655f822">
|
||||
<div id="outline-container-orga3d4227" class="outline-2">
|
||||
<h2 id="orga3d4227">I3 related</h2>
|
||||
<div class="outline-text-2" id="text-orga3d4227">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb21b9fa" class="outline-3">
|
||||
<h3 id="orgb21b9fa">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-orgb21b9fa">
|
||||
<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}
|
||||
bspc {quit,wm -r}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
|
||||
super + {_,shift + }q
|
||||
bspc node -{c,k}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7784897" class="outline-3">
|
||||
<h3 id="org7784897">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org7784897">
|
||||
<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
|
||||
bspc desktop -l next
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the next/previous node in the current desktop</span>
|
||||
super + c
|
||||
bspc node -f next.local
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf0e6469" class="outline-3">
|
||||
<h3 id="orgf0e6469">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-orgf0e6469">
|
||||
<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
|
||||
bspc node -t tiled
|
||||
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Fullscreen State</span>
|
||||
super + f
|
||||
if [ -z <span class="org-string">"$(bspc query -N -n focused.fullscreen)"</span> ]; then \
|
||||
bspc node focused -t fullscreen; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
fi
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Floating State</span>
|
||||
super + s
|
||||
if [ -z <span class="org-string">"$(bspc query -N -n focused.floating)"</span> ]; then \
|
||||
bspc node focused -t floating; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
fi
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8a5891f" class="outline-3">
|
||||
<h3 id="org8a5891f">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org8a5891f">
|
||||
<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
|
||||
bspc node -g sticky
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9363f85" class="outline-3">
|
||||
<h3 id="org9363f85">Focus and Swap</h3>
|
||||
<div class="outline-text-3" id="text-org9363f85">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Node</span>
|
||||
super + Tab
|
||||
bspc node -f last
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus the next/previous desktop in the current monitor</span>
|
||||
super + {p,n}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span>
|
||||
super + b
|
||||
bspc desktop -f last
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span>
|
||||
super + {_,ctrl + }{1-9}
|
||||
bspc {desktop -f,node -d} <span class="org-string">'^{1-9}'</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Send and Focus to the given desktop</span>
|
||||
super + shift + {1-9}
|
||||
bspc node -d <span class="org-string">'^{1-9}'</span> --follow
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1163075" class="outline-3">
|
||||
<h3 id="org1163075">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org1163075">
|
||||
<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}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">preselect the ratio</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">super + ctrl + {1-9}</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">bspc node -o 0.{1-9}</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">cancel the preselection for the focused node</span>
|
||||
super + ctrl + space
|
||||
bspc node -p cancel
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org523987d" class="outline-3">
|
||||
<h3 id="org523987d">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org523987d">
|
||||
<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}
|
||||
bspc node -z {left -20 <span class="org-highlight-numbers-number">0</span>,bottom <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,top <span class="org-highlight-numbers-number">0</span> -20,right <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">contract a window by moving one of its side inward</span>
|
||||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 <span class="org-highlight-numbers-number">0</span>,top <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,bottom <span class="org-highlight-numbers-number">0</span> -20,left <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">move a floating window</span>
|
||||
super + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 <span class="org-highlight-numbers-number">0</span>,<span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,<span class="org-highlight-numbers-number">0</span> -20,<span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb8b77ba" class="outline-2">
|
||||
<h2 id="orgb8b77ba">I3 related</h2>
|
||||
<div class="outline-text-2" id="text-orgb8b77ba">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf0994dd" class="outline-3">
|
||||
<h3 id="orgf0994dd">Kill Window</h3>
|
||||
<div class="outline-text-3" id="text-orgf0994dd">
|
||||
<div id="outline-container-orgdbe9d37" class="outline-3">
|
||||
<h3 id="orgdbe9d37">Kill Window</h3>
|
||||
<div class="outline-text-3" id="text-orgdbe9d37">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
|
||||
super + q
|
||||
@ -504,9 +316,9 @@ super + q
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org61f51d5" class="outline-3">
|
||||
<h3 id="org61f51d5">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org61f51d5">
|
||||
<div id="outline-container-org1423ca3" class="outline-3">
|
||||
<h3 id="org1423ca3">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org1423ca3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window to full-screen</span>
|
||||
super + f
|
||||
@ -532,9 +344,9 @@ super + y
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org993d527" class="outline-3">
|
||||
<h3 id="org993d527">focus/swap</h3>
|
||||
<div class="outline-text-3" id="text-org993d527">
|
||||
<div id="outline-container-org69184b8" class="outline-3">
|
||||
<h3 id="org69184b8">focus/swap</h3>
|
||||
<div class="outline-text-3" id="text-org69184b8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
|
||||
super + {_,shift + }{h,Left}
|
||||
@ -573,9 +385,9 @@ super + shift + {1-9}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd3c5be6" class="outline-3">
|
||||
<h3 id="orgd3c5be6">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-orgd3c5be6">
|
||||
<div id="outline-container-orgc5f1368" class="outline-3">
|
||||
<h3 id="orgc5f1368">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-orgc5f1368">
|
||||
<p>
|
||||
Preselect the direction
|
||||
</p>
|
||||
@ -592,9 +404,9 @@ super + ctrl + {j,k,Up,Down}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org83da401" class="outline-3">
|
||||
<h3 id="org83da401">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org83da401">
|
||||
<div id="outline-container-org57e5904" class="outline-3">
|
||||
<h3 id="org57e5904">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org57e5904">
|
||||
<p>
|
||||
Expand/Shrink a window
|
||||
</p>
|
||||
@ -619,7 +431,7 @@ super + alt + l
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:21</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:22 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>=systemd= services and timers</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,64 +16,67 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title"><code>systemd</code> services and timers</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</a>
|
||||
<li><a href="#orgbd1ef92"><code>braingit</code> - Automatic commit and push new brain pages</a>
|
||||
<ul>
|
||||
<li><a href="#org047c23f">Service</a></li>
|
||||
<li><a href="#org057bbfb">Timer</a></li>
|
||||
<li><a href="#orgd21f3b8">Script</a></li>
|
||||
<li><a href="#orgea157a9">Service</a></li>
|
||||
<li><a href="#org37b5dfc">Timer</a></li>
|
||||
<li><a href="#org4da53fa">Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga6ac362"><code>braingit</code> - Automatic commit and push new brain pages</a>
|
||||
<li><a href="#org0122dc5"><code>checkmail</code> - Check new mails</a>
|
||||
<ul>
|
||||
<li><a href="#org5d32354">Service</a></li>
|
||||
<li><a href="#orgaa0d02e">Timer</a></li>
|
||||
<li><a href="#org753a3b1">Script</a></li>
|
||||
<li><a href="#org6104a46">Service</a></li>
|
||||
<li><a href="#orgc84b1eb">Timer</a></li>
|
||||
<li><a href="#org8c26f1e">Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgcd55ae1"><code>checkmail</code> - Check new mails</a>
|
||||
<li><a href="#org290b78f"><code>syncmail</code> - Synchronize all mails</a>
|
||||
<ul>
|
||||
<li><a href="#org3117b0f">Service</a></li>
|
||||
<li><a href="#org31dc560">Timer</a></li>
|
||||
<li><a href="#org33c5284">Script</a></li>
|
||||
<li><a href="#orgefd8c7b">Service</a></li>
|
||||
<li><a href="#org9594653">Timer</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb4148ce"><code>syncmail</code> - Synchronize all mails</a>
|
||||
<li><a href="#orgc224066"><code>vdirsyncer</code> - Synchronize calendar and contacts</a>
|
||||
<ul>
|
||||
<li><a href="#org71deedc">Service</a></li>
|
||||
<li><a href="#org70acd93">Timer</a></li>
|
||||
<li><a href="#orgb44b558">Service</a></li>
|
||||
<li><a href="#org088f759">Timer</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org64a5ff5"><code>vdirsyncer</code> - Synchronize calendar and contacts</a>
|
||||
<li><a href="#org632bc1c"><code>ssh-agent</code> - SSH Agent</a>
|
||||
<ul>
|
||||
<li><a href="#org636594d">Service</a></li>
|
||||
<li><a href="#org263ab05">Timer</a></li>
|
||||
<li><a href="#org9a8f7fb">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgea6990c"><code>ssh-agent</code> - SSH Agent</a>
|
||||
<li><a href="#orga057b5a"><code>emacs</code> - Emacs</a>
|
||||
<ul>
|
||||
<li><a href="#org075df6f">Service</a></li>
|
||||
<li><a href="#org4b91453">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6c316cc"><code>powertop</code> - Powertop</a>
|
||||
<li><a href="#orge6f4a6a"><code>trash-empty</code> - Empty the trash for files older than 30 days</a>
|
||||
<ul>
|
||||
<li><a href="#orgf3e364a">Service</a></li>
|
||||
<li><a href="#orgfa6b7df">Service</a></li>
|
||||
<li><a href="#org17be1c1">Timer</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org4072349"><code>emacs</code> - Emacs</a>
|
||||
<li><a href="#orga1ff028"><code>syncthing</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgec28af9">Service</a></li>
|
||||
<li><a href="#orgcbf786a">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org9dd1459"><code>trash-empty</code> - Empty the trash for files older than 30 days</a>
|
||||
<li><a href="#orgefe060e"><code>homelab-tunnel</code> - SSH Tunnel</a>
|
||||
<ul>
|
||||
<li><a href="#org3ab76b0">Service</a></li>
|
||||
<li><a href="#org79b900d">Timer</a></li>
|
||||
<li><a href="#org1be238b">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgd4332cd"><code>esrf-tunnel</code> - SSH Tunnel</a>
|
||||
<ul>
|
||||
<li><a href="#org02bdf60">Service</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -83,82 +86,13 @@
|
||||
<a href="https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units">https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units</a>
|
||||
</p>
|
||||
|
||||
<div id="outline-container-org9efc12d" class="outline-2">
|
||||
<h2 id="org9efc12d"><code>bukugit</code> - Automatic commit and push new bookmarks</h2>
|
||||
<div class="outline-text-2" id="text-org9efc12d">
|
||||
<div id="outline-container-orgbd1ef92" class="outline-2">
|
||||
<h2 id="orgbd1ef92"><code>braingit</code> - Automatic commit and push new brain pages</h2>
|
||||
<div class="outline-text-2" id="text-orgbd1ef92">
|
||||
</div>
|
||||
<div id="outline-container-org047c23f" class="outline-3">
|
||||
<h3 id="org047c23f">Service</h3>
|
||||
<div class="outline-text-3" id="text-org047c23f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Sync Bookmarks every day
|
||||
<span class="org-variable-name">RefuseManualStart</span>=no
|
||||
<span class="org-variable-name">RefuseManualStop</span>=yes
|
||||
|
||||
[<span class="org-type">Service</span>]
|
||||
<span class="org-variable-name">Type</span>=oneshot
|
||||
<span class="org-variable-name">ExecStart</span>=%h/.local/bin/buku_git_push
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org057bbfb" class="outline-3">
|
||||
<h3 id="org057bbfb">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org057bbfb">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Sync All Mails every x hours
|
||||
<span class="org-variable-name">RefuseManualStart</span>=no
|
||||
<span class="org-variable-name">RefuseManualStop</span>=no
|
||||
<span class="org-variable-name">Wants</span>=network-online.target
|
||||
<span class="org-variable-name">After</span>=network-online.target
|
||||
|
||||
[<span class="org-type">Timer</span>]
|
||||
<span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span>
|
||||
<span class="org-variable-name">Persistent</span>=true
|
||||
<span class="org-variable-name">Unit</span>=bukugit.service
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd21f3b8" class="outline-3">
|
||||
<h3 id="orgd21f3b8">Script</h3>
|
||||
<div class="outline-text-3" id="text-orgd21f3b8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -z $<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-sh-quoted-exec">git</span> status -s bookmarks.db<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-keyword">then</span>
|
||||
<span class="org-type">rm</span> bookmarks.org;
|
||||
buku -e bookmarks.org && <span class="org-sh-escaped-newline">\</span>
|
||||
<span class="org-type">cat</span> header.org bookmarks.org > index.org && <span class="org-sh-escaped-newline">\</span>
|
||||
emacs index.org --batch -f org-html-export-to-html --kill && <span class="org-sh-escaped-newline">\</span>
|
||||
<span class="org-type">git</span> add index.html
|
||||
|
||||
<span class="org-type">git</span> add bookmarks.db && <span class="org-sh-escaped-newline">\</span>
|
||||
<span class="org-type">git</span> commit -m <span class="org-string">"Changed bookmarks - </span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">date</span><span class="org-string"><span class="org-sh-quoted-exec"> +%F)</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
<span class="org-type">git</span> push
|
||||
<span class="org-keyword">exit</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga6ac362" class="outline-2">
|
||||
<h2 id="orga6ac362"><code>braingit</code> - Automatic commit and push new brain pages</h2>
|
||||
<div class="outline-text-2" id="text-orga6ac362">
|
||||
</div>
|
||||
<div id="outline-container-org5d32354" class="outline-3">
|
||||
<h3 id="org5d32354">Service</h3>
|
||||
<div class="outline-text-3" id="text-org5d32354">
|
||||
<div id="outline-container-orgea157a9" class="outline-3">
|
||||
<h3 id="orgea157a9">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgea157a9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Sync Brain Website everyday
|
||||
@ -173,9 +107,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgaa0d02e" class="outline-3">
|
||||
<h3 id="orgaa0d02e">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orgaa0d02e">
|
||||
<div id="outline-container-org37b5dfc" class="outline-3">
|
||||
<h3 id="org37b5dfc">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org37b5dfc">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Sync Brain Website everyday
|
||||
@ -196,11 +130,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org753a3b1" class="outline-3">
|
||||
<h3 id="org753a3b1">Script</h3>
|
||||
<div class="outline-text-3" id="text-org753a3b1">
|
||||
<div id="outline-container-org4da53fa" class="outline-3">
|
||||
<h3 id="org4da53fa">Script</h3>
|
||||
<div class="outline-text-3" id="text-org4da53fa">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/brain-website/
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/programming/brain-website/
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -z $<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-sh-quoted-exec">git</span> status -s content/<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-keyword">then</span>
|
||||
@ -214,13 +148,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgcd55ae1" class="outline-2">
|
||||
<h2 id="orgcd55ae1"><code>checkmail</code> - Check new mails</h2>
|
||||
<div class="outline-text-2" id="text-orgcd55ae1">
|
||||
|
||||
<div id="outline-container-org0122dc5" class="outline-2">
|
||||
<h2 id="org0122dc5"><code>checkmail</code> - Check new mails</h2>
|
||||
<div class="outline-text-2" id="text-org0122dc5">
|
||||
</div>
|
||||
<div id="outline-container-org3117b0f" class="outline-3">
|
||||
<h3 id="org3117b0f">Service</h3>
|
||||
<div class="outline-text-3" id="text-org3117b0f">
|
||||
<div id="outline-container-org6104a46" class="outline-3">
|
||||
<h3 id="org6104a46">Service</h3>
|
||||
<div class="outline-text-3" id="text-org6104a46">
|
||||
<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
|
||||
@ -235,9 +170,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org31dc560" class="outline-3">
|
||||
<h3 id="org31dc560">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org31dc560">
|
||||
<div id="outline-container-orgc84b1eb" class="outline-3">
|
||||
<h3 id="orgc84b1eb">Timer</h3>
|
||||
<div class="outline-text-3" id="text-orgc84b1eb">
|
||||
<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
|
||||
@ -261,9 +196,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33c5284" class="outline-3">
|
||||
<h3 id="org33c5284">Script</h3>
|
||||
<div class="outline-text-3" id="text-org33c5284">
|
||||
<div id="outline-container-org8c26f1e" class="outline-3">
|
||||
<h3 id="org8c26f1e">Script</h3>
|
||||
<div class="outline-text-3" id="text-org8c26f1e">
|
||||
<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>
|
||||
@ -280,33 +215,29 @@
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Count number of mails</span>
|
||||
<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 uliege-Home <span class="org-highlight-numbers-number">2</span>>/tmp/mbsync.log
|
||||
mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variable-name">opt_verbose</span> gmail-Home esrf-Home <span class="org-highlight-numbers-number">2</span>>/tmp/mbsync.log
|
||||
<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">Count number of mails</span>
|
||||
<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 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-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">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">gmail_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">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">gmail_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">'Mails '</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">) new mail(s)"</span>
|
||||
notify-send --hint=string:x-dunst-stack-tag:fV84ivMi <span class="org-string">'Mails '</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"> new mail(s)"</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
|
||||
@ -315,7 +246,7 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
<span class="org-keyword">if</span> <span class="org-type">pgrep</span> -f <span class="org-string">'mu server'</span>; <span class="org-keyword">then</span>
|
||||
emacsclient --eval <span class="org-string">'(mu4e-update-index)'</span>
|
||||
<span class="org-keyword">else</span>
|
||||
mu index $<span class="org-variable-name">opt_verbose</span> $<span class="org-variable-name">opt_quiet</span>
|
||||
mu index -m ~/.mail $<span class="org-variable-name">opt_verbose</span> $<span class="org-variable-name">opt_quiet</span>
|
||||
<span class="org-keyword">fi</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
</pre>
|
||||
@ -324,13 +255,13 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb4148ce" class="outline-2">
|
||||
<h2 id="orgb4148ce"><code>syncmail</code> - Synchronize all mails</h2>
|
||||
<div class="outline-text-2" id="text-orgb4148ce">
|
||||
<div id="outline-container-org290b78f" class="outline-2">
|
||||
<h2 id="org290b78f"><code>syncmail</code> - Synchronize all mails</h2>
|
||||
<div class="outline-text-2" id="text-org290b78f">
|
||||
</div>
|
||||
<div id="outline-container-org71deedc" class="outline-3">
|
||||
<h3 id="org71deedc">Service</h3>
|
||||
<div class="outline-text-3" id="text-org71deedc">
|
||||
<div id="outline-container-orgefd8c7b" class="outline-3">
|
||||
<h3 id="orgefd8c7b">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgefd8c7b">
|
||||
<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
|
||||
@ -345,9 +276,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org70acd93" class="outline-3">
|
||||
<h3 id="org70acd93">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org70acd93">
|
||||
<div id="outline-container-org9594653" class="outline-3">
|
||||
<h3 id="org9594653">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org9594653">
|
||||
<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
|
||||
@ -372,13 +303,13 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64a5ff5" class="outline-2">
|
||||
<h2 id="org64a5ff5"><code>vdirsyncer</code> - Synchronize calendar and contacts</h2>
|
||||
<div class="outline-text-2" id="text-org64a5ff5">
|
||||
<div id="outline-container-orgc224066" class="outline-2">
|
||||
<h2 id="orgc224066"><code>vdirsyncer</code> - Synchronize calendar and contacts</h2>
|
||||
<div class="outline-text-2" id="text-orgc224066">
|
||||
</div>
|
||||
<div id="outline-container-org636594d" class="outline-3">
|
||||
<h3 id="org636594d">Service</h3>
|
||||
<div class="outline-text-3" id="text-org636594d">
|
||||
<div id="outline-container-orgb44b558" class="outline-3">
|
||||
<h3 id="orgb44b558">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgb44b558">
|
||||
<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
|
||||
@ -394,9 +325,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org263ab05" class="outline-3">
|
||||
<h3 id="org263ab05">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org263ab05">
|
||||
<div id="outline-container-org088f759" class="outline-3">
|
||||
<h3 id="org088f759">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org088f759">
|
||||
<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
|
||||
@ -414,13 +345,13 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgea6990c" class="outline-2">
|
||||
<h2 id="orgea6990c"><code>ssh-agent</code> - SSH Agent</h2>
|
||||
<div class="outline-text-2" id="text-orgea6990c">
|
||||
<div id="outline-container-org632bc1c" class="outline-2">
|
||||
<h2 id="org632bc1c"><code>ssh-agent</code> - SSH Agent</h2>
|
||||
<div class="outline-text-2" id="text-org632bc1c">
|
||||
</div>
|
||||
<div id="outline-container-org075df6f" class="outline-3">
|
||||
<h3 id="org075df6f">Service</h3>
|
||||
<div class="outline-text-3" id="text-org075df6f">
|
||||
<div id="outline-container-org9a8f7fb" class="outline-3">
|
||||
<h3 id="org9a8f7fb">Service</h3>
|
||||
<div class="outline-text-3" id="text-org9a8f7fb">
|
||||
<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
|
||||
@ -438,37 +369,13 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6c316cc" class="outline-2">
|
||||
<h2 id="org6c316cc"><code>powertop</code> - Powertop</h2>
|
||||
<div class="outline-text-2" id="text-org6c316cc">
|
||||
<div id="outline-container-orga057b5a" class="outline-2">
|
||||
<h2 id="orga057b5a"><code>emacs</code> - Emacs</h2>
|
||||
<div class="outline-text-2" id="text-orga057b5a">
|
||||
</div>
|
||||
<div id="outline-container-orgf3e364a" class="outline-3">
|
||||
<h3 id="orgf3e364a">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgf3e364a">
|
||||
<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
|
||||
|
||||
[<span class="org-type">Service</span>]
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/powertop --auto-tune
|
||||
<span class="org-variable-name">RemainAfterExit</span>=true
|
||||
|
||||
[<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-org4072349" class="outline-2">
|
||||
<h2 id="org4072349"><code>emacs</code> - Emacs</h2>
|
||||
<div class="outline-text-2" id="text-org4072349">
|
||||
</div>
|
||||
<div id="outline-container-orgec28af9" class="outline-3">
|
||||
<h3 id="orgec28af9">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgec28af9">
|
||||
<div id="outline-container-org4b91453" class="outline-3">
|
||||
<h3 id="org4b91453">Service</h3>
|
||||
<div class="outline-text-3" id="text-org4b91453">
|
||||
<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
|
||||
@ -489,13 +396,13 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9dd1459" class="outline-2">
|
||||
<h2 id="org9dd1459"><code>trash-empty</code> - Empty the trash for files older than 30 days</h2>
|
||||
<div class="outline-text-2" id="text-org9dd1459">
|
||||
<div id="outline-container-orge6f4a6a" class="outline-2">
|
||||
<h2 id="orge6f4a6a"><code>trash-empty</code> - Empty the trash for files older than 30 days</h2>
|
||||
<div class="outline-text-2" id="text-orge6f4a6a">
|
||||
</div>
|
||||
<div id="outline-container-org3ab76b0" class="outline-3">
|
||||
<h3 id="org3ab76b0">Service</h3>
|
||||
<div class="outline-text-3" id="text-org3ab76b0">
|
||||
<div id="outline-container-orgfa6b7df" class="outline-3">
|
||||
<h3 id="orgfa6b7df">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgfa6b7df">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Empty the trash for files older than <span class="org-highlight-numbers-number">30</span> days
|
||||
@ -509,9 +416,9 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org79b900d" class="outline-3">
|
||||
<h3 id="org79b900d">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org79b900d">
|
||||
<div id="outline-container-org17be1c1" class="outline-3">
|
||||
<h3 id="org17be1c1">Timer</h3>
|
||||
<div class="outline-text-3" id="text-org17be1c1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Empty trash
|
||||
@ -528,10 +435,103 @@ mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variabl
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga1ff028" class="outline-2">
|
||||
<h2 id="orga1ff028"><code>syncthing</code></h2>
|
||||
<div class="outline-text-2" id="text-orga1ff028">
|
||||
</div>
|
||||
<div id="outline-container-orgcbf786a" class="outline-3">
|
||||
<h3 id="orgcbf786a">Service</h3>
|
||||
<div class="outline-text-3" id="text-orgcbf786a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Syncthing - Open Source Continuous File Synchronization for %I
|
||||
<span class="org-variable-name">Documentation</span>=man:syncthing(<span class="org-highlight-numbers-number">1</span>)
|
||||
<span class="org-variable-name">After</span>=network.target
|
||||
|
||||
[<span class="org-type">Service</span>]
|
||||
<span class="org-variable-name">Environment</span>=<span class="org-string">"all_proxy=socks5://localhost:8080"</span>
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/syncthing -no-browser -gui-address=<span class="org-string">"0.0.0.0:8384"</span> -no-restart -logflags=<span class="org-highlight-numbers-number">0</span>
|
||||
<span class="org-variable-name">Restart</span>=on-failure
|
||||
<span class="org-variable-name">SuccessExitStatus</span>=<span class="org-highlight-numbers-number">3</span> <span class="org-highlight-numbers-number">4</span>
|
||||
<span class="org-variable-name">RestartForceExitStatus</span>=<span class="org-highlight-numbers-number">3</span> <span class="org-highlight-numbers-number">4</span>
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgefe060e" class="outline-2">
|
||||
<h2 id="orgefe060e"><code>homelab-tunnel</code> - SSH Tunnel</h2>
|
||||
<div class="outline-text-2" id="text-orgefe060e">
|
||||
<p>
|
||||
Useful to bypass firewalls.
|
||||
This can we used on the browser:
|
||||
</p>
|
||||
<ul class="org-ul">
|
||||
<li>for <code>qutebrowser</code>, use <code>:set content.proxy socks5://localhost:8080</code> (can setup a shortcut for that)</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
This is also used for Syncthing.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1be238b" class="outline-3">
|
||||
<h3 id="org1be238b">Service</h3>
|
||||
<div class="outline-text-3" id="text-org1be238b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Setup a secure tunnel with homelab
|
||||
<span class="org-variable-name">After</span>=network.target
|
||||
|
||||
[<span class="org-type">Service</span>]
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/ssh -o ServerAliveInterval=<span class="org-highlight-numbers-number">60</span> -o ExitOnForwardFailure=yes -D <span class="org-highlight-numbers-number">8080</span> -q -N -T homelab
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Restart every >2 seconds to avoid StartLimitInterval failure</span>
|
||||
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">5</span>
|
||||
<span class="org-variable-name">Restart</span>=always
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd4332cd" class="outline-2">
|
||||
<h2 id="orgd4332cd"><code>esrf-tunnel</code> - SSH Tunnel</h2>
|
||||
<div class="outline-text-2" id="text-orgd4332cd">
|
||||
</div>
|
||||
<div id="outline-container-org02bdf60" class="outline-3">
|
||||
<h3 id="org02bdf60">Service</h3>
|
||||
<div class="outline-text-3" id="text-org02bdf60">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Unit</span>]
|
||||
<span class="org-variable-name">Description</span>=Setup a secure tunnel with ESRF
|
||||
<span class="org-variable-name">After</span>=network.target
|
||||
|
||||
[<span class="org-type">Service</span>]
|
||||
<span class="org-variable-name">ExecStart</span>=/usr/bin/ssh -o ServerAliveInterval=<span class="org-highlight-numbers-number">60</span> -o ExitOnForwardFailure=yes -D <span class="org-highlight-numbers-number">8081</span> -q -N -T rnice.esrf.fr
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Restart every >2 seconds to avoid StartLimitInterval failure</span>
|
||||
<span class="org-variable-name">RestartSec</span>=<span class="org-highlight-numbers-number">5</span>
|
||||
<span class="org-variable-name">Restart</span>=always
|
||||
|
||||
[<span class="org-type">Install</span>]
|
||||
<span class="org-variable-name">WantedBy</span>=default.target
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:22</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-04-25 dim. 19:10 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Drawing Tablet - Xournal</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,20 +16,20 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Drawing Tablet - Xournal</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org51f707f"><code>xournalpp</code></a></li>
|
||||
<li><a href="#org8ad035f"><code>xournalpp</code></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org51f707f" class="outline-2">
|
||||
<h2 id="org51f707f"><code>xournalpp</code></h2>
|
||||
<div class="outline-text-2" id="text-org51f707f">
|
||||
<div id="outline-container-org8ad035f" class="outline-2">
|
||||
<h2 id="org8ad035f"><code>xournalpp</code></h2>
|
||||
<div class="outline-text-2" id="text-org8ad035f">
|
||||
<p>
|
||||
<code>toolbar.ini</code>:
|
||||
</p>
|
||||
@ -88,7 +88,7 @@ Special lines in <code>settings.xml</code>:
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-04-25 dim. 19:10</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:33 -->
|
||||
<!-- 2022-05-09 lun. 10:05 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Tmux Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
@ -16,30 +16,30 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Tmux Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org0839f62">Line</a></li>
|
||||
<li><a href="#org38bb482">Bindings</a></li>
|
||||
<li><a href="#org364f2d8">Settings</a></li>
|
||||
<li><a href="#orgabc3f53">Plugins</a>
|
||||
<li><a href="#org3834842">Line</a></li>
|
||||
<li><a href="#org350c399">Bindings</a></li>
|
||||
<li><a href="#org9cb12e3">Settings</a></li>
|
||||
<li><a href="#org0421c9c">Plugins</a>
|
||||
<ul>
|
||||
<li><a href="#org20fa141">Install plugins</a></li>
|
||||
<li><a href="#orgd295864">Configuration</a></li>
|
||||
<li><a href="#org1a6ccf4">Install plugins</a></li>
|
||||
<li><a href="#org16f1d96">Configuration</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org6ad3f07">Colors</a></li>
|
||||
<li><a href="#org1235a26">Initialize TMUX plugin manager</a></li>
|
||||
<li><a href="#orgbf20568">Colors</a></li>
|
||||
<li><a href="#orgf7167a9">Initialize TMUX plugin manager</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0839f62" class="outline-2">
|
||||
<h2 id="org0839f62">Line</h2>
|
||||
<div class="outline-text-2" id="text-org0839f62">
|
||||
<div id="outline-container-org3834842" class="outline-2">
|
||||
<h2 id="org3834842">Line</h2>
|
||||
<div class="outline-text-2" id="text-org3834842">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Activate the status bar</span>
|
||||
set -g status <span class="org-string">"on"</span>
|
||||
@ -94,9 +94,9 @@ set-window-option -g window-status-format <span class="org-string">"#[fg=colour2
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org38bb482" class="outline-2">
|
||||
<h2 id="org38bb482">Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org38bb482">
|
||||
<div id="outline-container-org350c399" class="outline-2">
|
||||
<h2 id="org350c399">Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org350c399">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set prefix to 'C-Space'</span>
|
||||
unbind C-b
|
||||
@ -176,9 +176,9 @@ bind-key -T copy-mode-vi <span class="org-string">'C-v'</span> send-keys -X rect
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org364f2d8" class="outline-2">
|
||||
<h2 id="org364f2d8">Settings</h2>
|
||||
<div class="outline-text-2" id="text-org364f2d8">
|
||||
<div id="outline-container-org9cb12e3" class="outline-2">
|
||||
<h2 id="org9cb12e3">Settings</h2>
|
||||
<div class="outline-text-2" id="text-org9cb12e3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Activity monitoring</span>
|
||||
set -g visual-activity off
|
||||
@ -251,13 +251,13 @@ set-window-option -g aggressive-resize
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgabc3f53" class="outline-2">
|
||||
<h2 id="orgabc3f53">Plugins</h2>
|
||||
<div class="outline-text-2" id="text-orgabc3f53">
|
||||
<div id="outline-container-org0421c9c" class="outline-2">
|
||||
<h2 id="org0421c9c">Plugins</h2>
|
||||
<div class="outline-text-2" id="text-org0421c9c">
|
||||
</div>
|
||||
<div id="outline-container-org20fa141" class="outline-3">
|
||||
<h3 id="org20fa141">Install plugins</h3>
|
||||
<div class="outline-text-3" id="text-org20fa141">
|
||||
<div id="outline-container-org1a6ccf4" class="outline-3">
|
||||
<h3 id="org1a6ccf4">Install plugins</h3>
|
||||
<div class="outline-text-3" id="text-org1a6ccf4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">set -g @plugin <span class="org-string">'tmux-plugins/tpm'</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">set -g @plugin 'tmux-plugins/tmux-sessionist'</span>
|
||||
@ -271,9 +271,9 @@ set -g @plugin <span class="org-string">'seebi/tmux-colors-solarized'</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd295864" class="outline-3">
|
||||
<h3 id="orgd295864">Configuration</h3>
|
||||
<div class="outline-text-3" id="text-orgd295864">
|
||||
<div id="outline-container-org16f1d96" class="outline-3">
|
||||
<h3 id="org16f1d96">Configuration</h3>
|
||||
<div class="outline-text-3" id="text-org16f1d96">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">tmux-resurrect</span>
|
||||
@ -315,9 +315,9 @@ set -g @batt_attached_icon <span class="org-string">"o"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6ad3f07" class="outline-2">
|
||||
<h2 id="org6ad3f07">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org6ad3f07">
|
||||
<div id="outline-container-orgbf20568" class="outline-2">
|
||||
<h2 id="orgbf20568">Colors</h2>
|
||||
<div class="outline-text-2" id="text-orgbf20568">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">set -g @colors-solarized <span class="org-string">'light'</span>
|
||||
</pre>
|
||||
@ -325,9 +325,9 @@ set -g @batt_attached_icon <span class="org-string">"o"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1235a26" class="outline-2">
|
||||
<h2 id="org1235a26">Initialize TMUX plugin manager</h2>
|
||||
<div class="outline-text-2" id="text-org1235a26">
|
||||
<div id="outline-container-orgf7167a9" class="outline-2">
|
||||
<h2 id="orgf7167a9">Initialize TMUX plugin manager</h2>
|
||||
<div class="outline-text-2" id="text-orgf7167a9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">run <span class="org-string">'~/.tmux/plugins/tpm/tpm'</span>
|
||||
</pre>
|
||||
@ -337,7 +337,7 @@ set -g @batt_attached_icon <span class="org-string">"o"</span>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:05</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-05-02 dim. 11:26 -->
|
||||
<!-- 2022-05-09 lun. 10:05 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Torrent Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,27 +16,27 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Torrent Configuration</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgc387510"><code>tremc</code> - Curses interface for Transmission</a></li>
|
||||
<li><a href="#orgcdb4a92"><code>aria2c</code> - Lightweight download utility</a>
|
||||
<li><a href="#org5b408eb"><code>tremc</code> - Curses interface for Transmission</a></li>
|
||||
<li><a href="#orgb8f8777"><code>aria2c</code> - Lightweight download utility</a>
|
||||
<ul>
|
||||
<li><a href="#org1d6cd04">Download Start Script</a></li>
|
||||
<li><a href="#org702c949">Download Complete Script</a></li>
|
||||
<li><a href="#orgc677acc">Download Error Script</a></li>
|
||||
<li><a href="#org13ade1e">Download Start Script</a></li>
|
||||
<li><a href="#orgb41e102">Download Complete Script</a></li>
|
||||
<li><a href="#orgcd9fd24">Download Error Script</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc387510" class="outline-2">
|
||||
<h2 id="orgc387510"><code>tremc</code> - Curses interface for Transmission</h2>
|
||||
<div class="outline-text-2" id="text-orgc387510">
|
||||
<div id="outline-container-org5b408eb" class="outline-2">
|
||||
<h2 id="org5b408eb"><code>tremc</code> - Curses interface for Transmission</h2>
|
||||
<div class="outline-text-2" id="text-org5b408eb">
|
||||
<p>
|
||||
<a href="https://github.com/tremc/tremc">https://github.com/tremc/tremc</a>
|
||||
</p>
|
||||
@ -87,9 +87,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcdb4a92" class="outline-2">
|
||||
<h2 id="orgcdb4a92"><code>aria2c</code> - Lightweight download utility</h2>
|
||||
<div class="outline-text-2" id="text-orgcdb4a92">
|
||||
<div id="outline-container-orgb8f8777" class="outline-2">
|
||||
<h2 id="orgb8f8777"><code>aria2c</code> - Lightweight download utility</h2>
|
||||
<div class="outline-text-2" id="text-orgb8f8777">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">continue
|
||||
<span class="org-variable-name">daemon</span>=true
|
||||
@ -107,31 +107,31 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1d6cd04" class="outline-3">
|
||||
<h3 id="org1d6cd04">Download Start Script</h3>
|
||||
<div class="outline-text-3" id="text-org1d6cd04">
|
||||
<div id="outline-container-org13ade1e" class="outline-3">
|
||||
<h3 id="org13ade1e">Download Start Script</h3>
|
||||
<div class="outline-text-3" id="text-org13ade1e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">dunstify <span class="org-string">"DL Started"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</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">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2> /dev/null)</span></span><span class="org-string">"</span>
|
||||
<pre class="src src-bash">notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW <span class="org-string">"DL Started"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</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">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2> /dev/null)</span></span><span class="org-string">"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org702c949" class="outline-3">
|
||||
<h3 id="org702c949">Download Complete Script</h3>
|
||||
<div class="outline-text-3" id="text-org702c949">
|
||||
<div id="outline-container-orgb41e102" class="outline-3">
|
||||
<h3 id="orgb41e102">Download Complete Script</h3>
|
||||
<div class="outline-text-3" id="text-orgb41e102">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">dunstify <span class="org-string">"DL Completed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</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">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2> /dev/null)</span></span><span class="org-string">"</span>
|
||||
<pre class="src src-bash">notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW <span class="org-string">"DL Completed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</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">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2> /dev/null)</span></span><span class="org-string">"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc677acc" class="outline-3">
|
||||
<h3 id="orgc677acc">Download Error Script</h3>
|
||||
<div class="outline-text-3" id="text-orgc677acc">
|
||||
<div id="outline-container-orgcd9fd24" class="outline-3">
|
||||
<h3 id="orgcd9fd24">Download Error Script</h3>
|
||||
<div class="outline-text-3" id="text-orgcd9fd24">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">dunstify --urgency=critical <span class="org-string">"DL Failed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</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">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2> /dev/null)</span></span><span class="org-string">"</span>
|
||||
<pre class="src src-bash">notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW --urgency=critical <span class="org-string">"DL Failed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</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">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2> /dev/null)</span></span><span class="org-string">"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -140,7 +140,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-05-02 dim. 11:26</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:05</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>MPV Configuration</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,15 +22,15 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org06a0ee3"><code>mpv.conf</code> - MPV Configuration</a></li>
|
||||
<li><a href="#org9b7ebc9"><code>input.conf</code> - MPV Key Bindings</a></li>
|
||||
<li><a href="#org9760c47"><code>mpv.conf</code> - MPV Configuration</a></li>
|
||||
<li><a href="#orgc477e69"><code>input.conf</code> - MPV Key Bindings</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06a0ee3" class="outline-2">
|
||||
<h2 id="org06a0ee3"><code>mpv.conf</code> - MPV Configuration</h2>
|
||||
<div class="outline-text-2" id="text-org06a0ee3">
|
||||
<div id="outline-container-org9760c47" class="outline-2">
|
||||
<h2 id="org9760c47"><code>mpv.conf</code> - MPV Configuration</h2>
|
||||
<div class="outline-text-2" id="text-org9760c47">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">When Floating, put MPV on the bottom right corner</span>
|
||||
<span class="org-variable-name">geometry</span>=99%:98%
|
||||
@ -53,15 +53,15 @@
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Do not close mpv at the end of video</span>
|
||||
<span class="org-variable-name">keep-open</span>=yes
|
||||
|
||||
<span class="org-variable-name">script-opts</span>=ytdl_hook-ytdl_path=/usr/bin/yt-dlp
|
||||
<span class="org-variable-name">script-opts</span>=ytdl_hook-ytdl_path=/home/thomas/miniconda3/bin/yt-dlp
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b7ebc9" class="outline-2">
|
||||
<h2 id="org9b7ebc9"><code>input.conf</code> - MPV Key Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org9b7ebc9">
|
||||
<div id="outline-container-orgc477e69" class="outline-2">
|
||||
<h2 id="orgc477e69"><code>input.conf</code> - MPV Key Bindings</h2>
|
||||
<div class="outline-text-2" id="text-orgc477e69">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Audio</span>
|
||||
@ -269,7 +269,7 @@ Z add sub-delay +0.1 <span class="org-comment-delimiter"># </s
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
735
docs/vim.html
735
docs/vim.html
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-10-25 lun. 14:33 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Windows Config and Install</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -22,29 +22,29 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org9346dc9">Create a bootable USB Key</a></li>
|
||||
<li><a href="#org0143940">Install Windows10 PRO</a></li>
|
||||
<li><a href="#org0cc05f7">Install Software using Chocolatey</a></li>
|
||||
<li><a href="#org0a94edb">Debloat windows10</a></li>
|
||||
<li><a href="#org9192414">SSHFS</a>
|
||||
<li><a href="#org02faf6f">Create a bootable USB Key</a></li>
|
||||
<li><a href="#org6cc7861">Install Windows10 PRO</a></li>
|
||||
<li><a href="#org43015e0">Install Software using Chocolatey</a></li>
|
||||
<li><a href="#orgae07583">Debloat windows10</a></li>
|
||||
<li><a href="#orga44d550">SSHFS</a>
|
||||
<ul>
|
||||
<li><a href="#org46e6091">SSH Setup</a></li>
|
||||
<li><a href="#org432cd75">SSHFS</a></li>
|
||||
<li><a href="#org815076e">SSH Setup</a></li>
|
||||
<li><a href="#orge4d5ab7">SSHFS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb8446e0">Software Setup</a>
|
||||
<li><a href="#org0dadda3">Software Setup</a>
|
||||
<ul>
|
||||
<li><a href="#orge44d00a">Syncthing</a></li>
|
||||
<li><a href="#org796ab09">Cura</a></li>
|
||||
<li><a href="#org0277c2c">Syncthing</a></li>
|
||||
<li><a href="#org37cf1aa">Cura</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9346dc9" class="outline-2">
|
||||
<h2 id="org9346dc9">Create a bootable USB Key</h2>
|
||||
<div class="outline-text-2" id="text-org9346dc9">
|
||||
<div id="outline-container-org02faf6f" class="outline-2">
|
||||
<h2 id="org02faf6f">Create a bootable USB Key</h2>
|
||||
<div class="outline-text-2" id="text-org02faf6f">
|
||||
<ul class="org-ul">
|
||||
<li>Download Windows10 ISO <a href="https://www.microsoft.com/en-us/software-download/windows10ISO">https://www.microsoft.com/en-us/software-download/windows10ISO</a></li>
|
||||
<li>Create bootable USB key using the woeusb utility (<a href="https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/">https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/</a>)</li>
|
||||
@ -61,13 +61,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0143940" class="outline-2">
|
||||
<h2 id="org0143940">Install Windows10 PRO</h2>
|
||||
<div id="outline-container-org6cc7861" class="outline-2">
|
||||
<h2 id="org6cc7861">Install Windows10 PRO</h2>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0cc05f7" class="outline-2">
|
||||
<h2 id="org0cc05f7">Install Software using Chocolatey</h2>
|
||||
<div class="outline-text-2" id="text-org0cc05f7">
|
||||
<div id="outline-container-org43015e0" class="outline-2">
|
||||
<h2 id="org43015e0">Install Software using Chocolatey</h2>
|
||||
<div class="outline-text-2" id="text-org43015e0">
|
||||
<p>
|
||||
First install Chocolatey using a PowerShell as administrator:
|
||||
</p>
|
||||
@ -80,15 +80,15 @@ First install Chocolatey using a PowerShell as administrator:
|
||||
Then, install all required software using one command:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">choco install -y firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder cura ccleaner neovim
|
||||
<pre class="src src-bash">choco install -y firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder cura ccleaner neovim imageglass
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0a94edb" class="outline-2">
|
||||
<h2 id="org0a94edb">Debloat windows10</h2>
|
||||
<div class="outline-text-2" id="text-org0a94edb">
|
||||
<div id="outline-container-orgae07583" class="outline-2">
|
||||
<h2 id="orgae07583">Debloat windows10</h2>
|
||||
<div class="outline-text-2" id="text-orgae07583">
|
||||
<p>
|
||||
<a href="https://github.com/Sycnex/Windows10Debloater">https://github.com/Sycnex/Windows10Debloater</a>
|
||||
</p>
|
||||
@ -103,13 +103,13 @@ Run a PowerShell with administrative rights and run:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9192414" class="outline-2">
|
||||
<h2 id="org9192414">SSHFS</h2>
|
||||
<div class="outline-text-2" id="text-org9192414">
|
||||
<div id="outline-container-orga44d550" class="outline-2">
|
||||
<h2 id="orga44d550">SSHFS</h2>
|
||||
<div class="outline-text-2" id="text-orga44d550">
|
||||
</div>
|
||||
<div id="outline-container-org46e6091" class="outline-3">
|
||||
<h3 id="org46e6091">SSH Setup</h3>
|
||||
<div class="outline-text-3" id="text-org46e6091">
|
||||
<div id="outline-container-org815076e" class="outline-3">
|
||||
<h3 id="org815076e">SSH Setup</h3>
|
||||
<div class="outline-text-3" id="text-org815076e">
|
||||
<p>
|
||||
Install OpenSSH from <code>chocolatey</code> as the one packed with Windows is quite old (<a href="https://blog.frankfu.com.au/2019/03/21/moving-from-windows-1809s-openssh-to-openssh-portable/">link</a>):
|
||||
</p>
|
||||
@ -159,9 +159,9 @@ Finally, it should be possible to ssh to the server.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org432cd75" class="outline-3">
|
||||
<h3 id="org432cd75">SSHFS</h3>
|
||||
<div class="outline-text-3" id="text-org432cd75">
|
||||
<div id="outline-container-orge4d5ab7" class="outline-3">
|
||||
<h3 id="orge4d5ab7">SSHFS</h3>
|
||||
<div class="outline-text-3" id="text-orge4d5ab7">
|
||||
<p>
|
||||
Install <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a>.
|
||||
</p>
|
||||
@ -193,13 +193,13 @@ To un-mount it:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb8446e0" class="outline-2">
|
||||
<h2 id="orgb8446e0">Software Setup</h2>
|
||||
<div class="outline-text-2" id="text-orgb8446e0">
|
||||
<div id="outline-container-org0dadda3" class="outline-2">
|
||||
<h2 id="org0dadda3">Software Setup</h2>
|
||||
<div class="outline-text-2" id="text-org0dadda3">
|
||||
</div>
|
||||
<div id="outline-container-orge44d00a" class="outline-3">
|
||||
<h3 id="orge44d00a">Syncthing</h3>
|
||||
<div class="outline-text-3" id="text-orge44d00a">
|
||||
<div id="outline-container-org0277c2c" class="outline-3">
|
||||
<h3 id="org0277c2c">Syncthing</h3>
|
||||
<div class="outline-text-3" id="text-org0277c2c">
|
||||
<p>
|
||||
<a href="https://docs.syncthing.net/users/autostart.html#autostart-windows-startup">https://docs.syncthing.net/users/autostart.html#autostart-windows-startup</a>
|
||||
</p>
|
||||
@ -214,9 +214,9 @@ Then, Syncthing can be accessed with: <a href="http://localhost:8384/">http://lo
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org796ab09" class="outline-3">
|
||||
<h3 id="org796ab09">Cura</h3>
|
||||
<div class="outline-text-3" id="text-org796ab09">
|
||||
<div id="outline-container-org37cf1aa" class="outline-3">
|
||||
<h3 id="org37cf1aa">Cura</h3>
|
||||
<div class="outline-text-3" id="text-org37cf1aa">
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://github.com/fieldOfView/Cura-OctoPrintPlugin">https://github.com/fieldOfView/Cura-OctoPrintPlugin</a></li>
|
||||
</ul>
|
||||
@ -226,7 +226,7 @@ Then, Syncthing can be accessed with: <a href="http://localhost:8384/">http://lo
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-10-25 lun. 14:33</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:22 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Configuration Files related to Xorg</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,20 +16,19 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Configuration Files related to Xorg</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#xresources"><code>~/.Xresources</code></a>
|
||||
<ul>
|
||||
<li><a href="#orgff42f84">Colors</a></li>
|
||||
<li><a href="#orgabc7947">Fonts</a></li>
|
||||
<li><a href="#org8a5f615">Cursor</a></li>
|
||||
<li><a href="#orga354a1d">Colors</a></li>
|
||||
<li><a href="#org43e483a">Fonts</a></li>
|
||||
<li><a href="#org593b86c">Cursor</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#xmodmap"><code>~/.Xmodmap</code></a></li>
|
||||
<li><a href="#xinitrc"><code>~/.xinitrc</code></a></li>
|
||||
<li><a href="#xprofile"><code>~/.xprofile</code></a></li>
|
||||
</ul>
|
||||
@ -41,69 +40,52 @@
|
||||
<div class="outline-text-2" id="text-xresources">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgff42f84" class="outline-3">
|
||||
<h3 id="orgff42f84">Colors</h3>
|
||||
<div class="outline-text-3" id="text-orgff42f84">
|
||||
<div id="outline-container-orga354a1d" class="outline-3">
|
||||
<h3 id="orga354a1d">Colors</h3>
|
||||
<div class="outline-text-3" id="text-orga354a1d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">define base00 #32302f</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base01 #3c3836</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base02 #504945</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base03 #665c54</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base04 #bdae93</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base05 #d5c4a1</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base06 #ebdbb2</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base07 #fbf1c7</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base08 #fb4934</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base09 #fe8019</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0A #fabd2f</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0B #b8bb26</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0C #8ec07c</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0D #83a598</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0E #d3869b</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">define base0F #d65d0e</span>
|
||||
|
||||
*foreground: base05
|
||||
<pre class="src src-conf">*foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">d5c4a1</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">ifdef background_opacity</span>
|
||||
*background: [background_opacity]base00
|
||||
*background: [background_opacity]<span class="org-comment-delimiter">#</span><span class="org-comment">32302f</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">else</span>
|
||||
*background: base00
|
||||
*background: <span class="org-comment-delimiter">#</span><span class="org-comment">32302f</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">endif</span>
|
||||
*cursorColor: base05
|
||||
*cursorColor: <span class="org-comment-delimiter">#</span><span class="org-comment">d5c4a1</span>
|
||||
|
||||
*color0: base00
|
||||
*color1: base08
|
||||
*color2: base0B
|
||||
*color3: base0A
|
||||
*color4: base0D
|
||||
*color5: base0E
|
||||
*color6: base0C
|
||||
*color7: base05
|
||||
*color0: <span class="org-comment-delimiter">#</span><span class="org-comment">32302f</span>
|
||||
*color1: <span class="org-comment-delimiter">#</span><span class="org-comment">fb4934</span>
|
||||
*color2: <span class="org-comment-delimiter">#</span><span class="org-comment">b8bb26</span>
|
||||
*color3: <span class="org-comment-delimiter">#</span><span class="org-comment">fabd2f</span>
|
||||
*color4: <span class="org-comment-delimiter">#</span><span class="org-comment">83a598</span>
|
||||
*color5: <span class="org-comment-delimiter">#</span><span class="org-comment">d3869b</span>
|
||||
*color6: <span class="org-comment-delimiter">#</span><span class="org-comment">8ec07c</span>
|
||||
*color7: <span class="org-comment-delimiter">#</span><span class="org-comment">d5c4a1</span>
|
||||
|
||||
*color8: base03
|
||||
*color9: base08
|
||||
*color10: base0B
|
||||
*color11: base0A
|
||||
*color12: base0D
|
||||
*color13: base0E
|
||||
*color14: base0C
|
||||
*color15: base07
|
||||
*color8: <span class="org-comment-delimiter">#</span><span class="org-comment">665c54</span>
|
||||
*color9: <span class="org-comment-delimiter">#</span><span class="org-comment">fb4934</span>
|
||||
*color10: <span class="org-comment-delimiter">#</span><span class="org-comment">b8bb26</span>
|
||||
*color11: <span class="org-comment-delimiter">#</span><span class="org-comment">fabd2f</span>
|
||||
*color12: <span class="org-comment-delimiter">#</span><span class="org-comment">83a598</span>
|
||||
*color13: <span class="org-comment-delimiter">#</span><span class="org-comment">d3869b</span>
|
||||
*color14: <span class="org-comment-delimiter">#</span><span class="org-comment">8ec07c</span>
|
||||
*color15: <span class="org-comment-delimiter">#</span><span class="org-comment">fbf1c7</span>
|
||||
|
||||
! Note: colors beyond <span class="org-highlight-numbers-number">15</span> might not be loaded (e.g., xterm, urxvt),
|
||||
! use <span class="org-string">'shell'</span> template to set these if necessary
|
||||
*color16: base09
|
||||
*color17: base0F
|
||||
*color18: base01
|
||||
*color19: base02
|
||||
*color20: base04
|
||||
*color21: base06
|
||||
*color16: <span class="org-comment-delimiter">#</span><span class="org-comment">fe8019</span>
|
||||
*color17: <span class="org-comment-delimiter">#</span><span class="org-comment">d65d0e</span>
|
||||
*color18: <span class="org-comment-delimiter">#</span><span class="org-comment">3c3836</span>
|
||||
*color19: <span class="org-comment-delimiter">#</span><span class="org-comment">504945</span>
|
||||
*color20: <span class="org-comment-delimiter">#</span><span class="org-comment">bdae93</span>
|
||||
*color21: <span class="org-comment-delimiter">#</span><span class="org-comment">ebdbb2</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgabc7947" class="outline-3">
|
||||
<h3 id="orgabc7947">Fonts</h3>
|
||||
<div class="outline-text-3" id="text-orgabc7947">
|
||||
<div id="outline-container-org43e483a" class="outline-3">
|
||||
<h3 id="org43e483a">Fonts</h3>
|
||||
<div class="outline-text-3" id="text-org43e483a">
|
||||
<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>
|
||||
@ -117,9 +99,9 @@ Xft.rgba: rgb
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8a5f615" class="outline-3">
|
||||
<h3 id="org8a5f615">Cursor</h3>
|
||||
<div class="outline-text-3" id="text-org8a5f615">
|
||||
<div id="outline-container-org593b86c" class="outline-3">
|
||||
<h3 id="org593b86c">Cursor</h3>
|
||||
<div class="outline-text-3" id="text-org593b86c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Xcursor.theme: Breeze
|
||||
Xcursor.size: <span class="org-highlight-numbers-number">0</span>
|
||||
@ -129,263 +111,6 @@ Xcursor.size: <span class="org-highlight-numbers-number">0</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-xmodmap" class="outline-2">
|
||||
<h2 id="xmodmap"><code>~/.Xmodmap</code></h2>
|
||||
<div class="outline-text-2" id="text-xmodmap">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">keycode <span class="org-highlight-numbers-number">8</span> =
|
||||
keycode <span class="org-highlight-numbers-number">9</span> = Escape NoSymbol Escape
|
||||
keycode <span class="org-highlight-numbers-number">10</span> = <span class="org-highlight-numbers-number">1</span> exclam <span class="org-highlight-numbers-number">1</span> exclam
|
||||
keycode <span class="org-highlight-numbers-number">11</span> = <span class="org-highlight-numbers-number">2</span> at <span class="org-highlight-numbers-number">2</span> at
|
||||
keycode <span class="org-highlight-numbers-number">12</span> = <span class="org-highlight-numbers-number">3</span> numbersign <span class="org-highlight-numbers-number">3</span> numbersign
|
||||
keycode <span class="org-highlight-numbers-number">13</span> = <span class="org-highlight-numbers-number">4</span> dollar <span class="org-highlight-numbers-number">4</span> dollar
|
||||
keycode <span class="org-highlight-numbers-number">14</span> = <span class="org-highlight-numbers-number">5</span> percent <span class="org-highlight-numbers-number">5</span> percent
|
||||
keycode <span class="org-highlight-numbers-number">15</span> = <span class="org-highlight-numbers-number">6</span> asciicircum <span class="org-highlight-numbers-number">6</span> asciicircum
|
||||
keycode <span class="org-highlight-numbers-number">16</span> = <span class="org-highlight-numbers-number">7</span> ampersand <span class="org-highlight-numbers-number">7</span> ampersand
|
||||
keycode <span class="org-highlight-numbers-number">17</span> = <span class="org-highlight-numbers-number">8</span> asterisk <span class="org-highlight-numbers-number">8</span> asterisk
|
||||
keycode <span class="org-highlight-numbers-number">18</span> = <span class="org-highlight-numbers-number">9</span> parenleft <span class="org-highlight-numbers-number">9</span> parenleft
|
||||
keycode <span class="org-highlight-numbers-number">19</span> = <span class="org-highlight-numbers-number">0</span> parenright <span class="org-highlight-numbers-number">0</span> parenright
|
||||
keycode <span class="org-highlight-numbers-number">20</span> = minus underscore minus underscore
|
||||
keycode <span class="org-highlight-numbers-number">21</span> = equal plus equal plus
|
||||
keycode <span class="org-highlight-numbers-number">22</span> = BackSpace BackSpace BackSpace BackSpace
|
||||
keycode <span class="org-highlight-numbers-number">23</span> = Tab ISO_Left_Tab Tab ISO_Left_Tab
|
||||
keycode <span class="org-highlight-numbers-number">24</span> = q Q q Q
|
||||
keycode <span class="org-highlight-numbers-number">25</span> = w W w W
|
||||
keycode <span class="org-highlight-numbers-number">26</span> = e E e E
|
||||
keycode <span class="org-highlight-numbers-number">27</span> = r R r R
|
||||
keycode <span class="org-highlight-numbers-number">28</span> = t T t T
|
||||
keycode <span class="org-highlight-numbers-number">29</span> = y Y y Y
|
||||
keycode <span class="org-highlight-numbers-number">30</span> = u U u U
|
||||
keycode <span class="org-highlight-numbers-number">31</span> = i I i I
|
||||
keycode <span class="org-highlight-numbers-number">32</span> = o O o O
|
||||
keycode <span class="org-highlight-numbers-number">33</span> = p P p P
|
||||
keycode <span class="org-highlight-numbers-number">34</span> = bracketleft braceleft bracketleft braceleft
|
||||
keycode <span class="org-highlight-numbers-number">35</span> = bracketright braceright bracketright braceright
|
||||
keycode <span class="org-highlight-numbers-number">36</span> = Return NoSymbol Return
|
||||
keycode <span class="org-highlight-numbers-number">37</span> = Control_L NoSymbol Control_L
|
||||
keycode <span class="org-highlight-numbers-number">38</span> = a A a A
|
||||
keycode <span class="org-highlight-numbers-number">39</span> = s S s S
|
||||
keycode <span class="org-highlight-numbers-number">40</span> = d D d D
|
||||
keycode <span class="org-highlight-numbers-number">41</span> = f F f F
|
||||
keycode <span class="org-highlight-numbers-number">42</span> = g G g G
|
||||
keycode <span class="org-highlight-numbers-number">43</span> = h H h H
|
||||
keycode <span class="org-highlight-numbers-number">44</span> = j J j J
|
||||
keycode <span class="org-highlight-numbers-number">45</span> = k K k K
|
||||
keycode <span class="org-highlight-numbers-number">46</span> = l L l L
|
||||
keycode <span class="org-highlight-numbers-number">47</span> = semicolon colon semicolon colon
|
||||
keycode <span class="org-highlight-numbers-number">48</span> = apostrophe quotedbl apostrophe quotedbl
|
||||
keycode <span class="org-highlight-numbers-number">49</span> = grave asciitilde grave asciitilde
|
||||
keycode <span class="org-highlight-numbers-number">50</span> = Shift_L NoSymbol Shift_L
|
||||
keycode <span class="org-highlight-numbers-number">51</span> = backslash bar backslash bar
|
||||
keycode <span class="org-highlight-numbers-number">52</span> = z Z z Z
|
||||
keycode <span class="org-highlight-numbers-number">53</span> = x X x X
|
||||
keycode <span class="org-highlight-numbers-number">54</span> = c C c C
|
||||
keycode <span class="org-highlight-numbers-number">55</span> = v V v V
|
||||
keycode <span class="org-highlight-numbers-number">56</span> = b B b B
|
||||
keycode <span class="org-highlight-numbers-number">57</span> = n N n N
|
||||
keycode <span class="org-highlight-numbers-number">58</span> = m M m M
|
||||
keycode <span class="org-highlight-numbers-number">59</span> = comma less comma less
|
||||
keycode <span class="org-highlight-numbers-number">60</span> = period greater period greater
|
||||
keycode <span class="org-highlight-numbers-number">61</span> = slash question slash question
|
||||
keycode <span class="org-highlight-numbers-number">62</span> = Shift_R NoSymbol Shift_R
|
||||
keycode <span class="org-highlight-numbers-number">63</span> = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
|
||||
keycode <span class="org-highlight-numbers-number">64</span> = Alt_L Meta_L Alt_L Meta_L
|
||||
keycode <span class="org-highlight-numbers-number">65</span> = space NoSymbol space
|
||||
keycode <span class="org-highlight-numbers-number">66</span> = Caps_Lock NoSymbol Caps_Lock
|
||||
keycode <span class="org-highlight-numbers-number">67</span> = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
|
||||
keycode <span class="org-highlight-numbers-number">68</span> = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
|
||||
keycode <span class="org-highlight-numbers-number">69</span> = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
|
||||
keycode <span class="org-highlight-numbers-number">70</span> = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
|
||||
keycode <span class="org-highlight-numbers-number">71</span> = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
|
||||
keycode <span class="org-highlight-numbers-number">72</span> = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
|
||||
keycode <span class="org-highlight-numbers-number">73</span> = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
|
||||
keycode <span class="org-highlight-numbers-number">74</span> = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
|
||||
keycode <span class="org-highlight-numbers-number">75</span> = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
|
||||
keycode <span class="org-highlight-numbers-number">76</span> = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
|
||||
keycode <span class="org-highlight-numbers-number">77</span> = Num_Lock NoSymbol Num_Lock
|
||||
keycode <span class="org-highlight-numbers-number">78</span> = Scroll_Lock NoSymbol Scroll_Lock
|
||||
keycode <span class="org-highlight-numbers-number">79</span> = KP_Home KP_7 KP_Home KP_7
|
||||
keycode <span class="org-highlight-numbers-number">80</span> = KP_Up KP_8 KP_Up KP_8
|
||||
keycode <span class="org-highlight-numbers-number">81</span> = KP_Prior KP_9 KP_Prior KP_9
|
||||
keycode <span class="org-highlight-numbers-number">82</span> = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
|
||||
keycode <span class="org-highlight-numbers-number">83</span> = KP_Left KP_4 KP_Left KP_4
|
||||
keycode <span class="org-highlight-numbers-number">84</span> = KP_Begin KP_5 KP_Begin KP_5
|
||||
keycode <span class="org-highlight-numbers-number">85</span> = KP_Right KP_6 KP_Right KP_6
|
||||
keycode <span class="org-highlight-numbers-number">86</span> = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
|
||||
keycode <span class="org-highlight-numbers-number">87</span> = KP_End KP_1 KP_End KP_1
|
||||
keycode <span class="org-highlight-numbers-number">88</span> = KP_Down KP_2 KP_Down KP_2
|
||||
keycode <span class="org-highlight-numbers-number">89</span> = KP_Next KP_3 KP_Next KP_3
|
||||
keycode <span class="org-highlight-numbers-number">90</span> = KP_Insert KP_0 KP_Insert KP_0
|
||||
keycode <span class="org-highlight-numbers-number">91</span> = KP_Delete KP_Decimal KP_Delete KP_Decimal
|
||||
keycode <span class="org-highlight-numbers-number">92</span> = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
|
||||
keycode <span class="org-highlight-numbers-number">93</span> =
|
||||
keycode <span class="org-highlight-numbers-number">94</span> = less greater less greater bar brokenbar bar
|
||||
keycode <span class="org-highlight-numbers-number">95</span> = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
|
||||
keycode <span class="org-highlight-numbers-number">96</span> = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
|
||||
keycode <span class="org-highlight-numbers-number">97</span> =
|
||||
keycode <span class="org-highlight-numbers-number">98</span> = Katakana NoSymbol Katakana
|
||||
keycode <span class="org-highlight-numbers-number">99</span> = Hiragana NoSymbol Hiragana
|
||||
keycode <span class="org-highlight-numbers-number">100</span> = Henkan_Mode NoSymbol Henkan_Mode
|
||||
keycode <span class="org-highlight-numbers-number">101</span> = Hiragana_Katakana NoSymbol Hiragana_Katakana
|
||||
keycode <span class="org-highlight-numbers-number">102</span> = Muhenkan NoSymbol Muhenkan
|
||||
keycode <span class="org-highlight-numbers-number">103</span> =
|
||||
keycode <span class="org-highlight-numbers-number">104</span> = KP_Enter NoSymbol KP_Enter
|
||||
keycode <span class="org-highlight-numbers-number">105</span> = Control_R NoSymbol Control_R
|
||||
keycode <span class="org-highlight-numbers-number">106</span> = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
|
||||
keycode <span class="org-highlight-numbers-number">107</span> = Print Sys_Req Print Sys_Req
|
||||
keycode <span class="org-highlight-numbers-number">108</span> = Alt_R Meta_R Alt_R Meta_R
|
||||
keycode <span class="org-highlight-numbers-number">109</span> = Linefeed NoSymbol Linefeed
|
||||
keycode <span class="org-highlight-numbers-number">110</span> = Home NoSymbol Home
|
||||
keycode <span class="org-highlight-numbers-number">111</span> = Up NoSymbol Up
|
||||
keycode <span class="org-highlight-numbers-number">112</span> = Prior NoSymbol Prior
|
||||
keycode <span class="org-highlight-numbers-number">113</span> = Left NoSymbol Left
|
||||
keycode <span class="org-highlight-numbers-number">114</span> = Right NoSymbol Right
|
||||
keycode <span class="org-highlight-numbers-number">115</span> = End NoSymbol End
|
||||
keycode <span class="org-highlight-numbers-number">116</span> = Down NoSymbol Down
|
||||
keycode <span class="org-highlight-numbers-number">117</span> = Next NoSymbol Next
|
||||
keycode <span class="org-highlight-numbers-number">118</span> = Insert NoSymbol Insert
|
||||
keycode <span class="org-highlight-numbers-number">119</span> = Delete NoSymbol Delete
|
||||
keycode <span class="org-highlight-numbers-number">120</span> =
|
||||
keycode <span class="org-highlight-numbers-number">121</span> = XF86AudioMute NoSymbol XF86AudioMute
|
||||
keycode <span class="org-highlight-numbers-number">122</span> = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
|
||||
keycode <span class="org-highlight-numbers-number">123</span> = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
|
||||
keycode <span class="org-highlight-numbers-number">124</span> = XF86PowerOff NoSymbol XF86PowerOff
|
||||
keycode <span class="org-highlight-numbers-number">125</span> = KP_Equal NoSymbol KP_Equal
|
||||
keycode <span class="org-highlight-numbers-number">126</span> = plusminus NoSymbol plusminus
|
||||
keycode <span class="org-highlight-numbers-number">127</span> = Pause Break Pause Break
|
||||
keycode <span class="org-highlight-numbers-number">128</span> = XF86LaunchA NoSymbol XF86LaunchA
|
||||
keycode <span class="org-highlight-numbers-number">129</span> = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
|
||||
keycode <span class="org-highlight-numbers-number">130</span> = Hangul NoSymbol Hangul
|
||||
keycode <span class="org-highlight-numbers-number">131</span> = Hangul_Hanja NoSymbol Hangul_Hanja
|
||||
keycode <span class="org-highlight-numbers-number">132</span> =
|
||||
keycode <span class="org-highlight-numbers-number">133</span> =
|
||||
keycode <span class="org-highlight-numbers-number">134</span> = Super_R NoSymbol Super_R
|
||||
keycode <span class="org-highlight-numbers-number">135</span> = Menu NoSymbol Menu
|
||||
keycode <span class="org-highlight-numbers-number">136</span> = Cancel NoSymbol Cancel
|
||||
keycode <span class="org-highlight-numbers-number">137</span> = Redo NoSymbol Redo
|
||||
keycode <span class="org-highlight-numbers-number">138</span> = SunProps NoSymbol SunProps
|
||||
keycode <span class="org-highlight-numbers-number">139</span> = Undo NoSymbol Undo
|
||||
keycode <span class="org-highlight-numbers-number">140</span> = SunFront NoSymbol SunFront
|
||||
keycode <span class="org-highlight-numbers-number">141</span> = XF86Copy NoSymbol XF86Copy
|
||||
keycode <span class="org-highlight-numbers-number">142</span> = XF86Open NoSymbol XF86Open
|
||||
keycode <span class="org-highlight-numbers-number">143</span> = XF86Paste NoSymbol XF86Paste
|
||||
keycode <span class="org-highlight-numbers-number">144</span> = Find NoSymbol Find
|
||||
keycode <span class="org-highlight-numbers-number">145</span> = XF86Cut NoSymbol XF86Cut
|
||||
keycode <span class="org-highlight-numbers-number">146</span> = Help NoSymbol Help
|
||||
keycode <span class="org-highlight-numbers-number">147</span> = xf86menukb nosymbol xf86menukb
|
||||
keycode <span class="org-highlight-numbers-number">148</span> = XF86Calculator NoSymbol XF86Calculator
|
||||
keycode <span class="org-highlight-numbers-number">149</span> =
|
||||
keycode <span class="org-highlight-numbers-number">150</span> = XF86Sleep NoSymbol XF86Sleep
|
||||
keycode <span class="org-highlight-numbers-number">151</span> = XF86WakeUp NoSymbol XF86WakeUp
|
||||
keycode <span class="org-highlight-numbers-number">152</span> = XF86Explorer NoSymbol XF86Explorer
|
||||
keycode <span class="org-highlight-numbers-number">153</span> = XF86Send NoSymbol XF86Send
|
||||
keycode <span class="org-highlight-numbers-number">154</span> =
|
||||
keycode <span class="org-highlight-numbers-number">155</span> = XF86Xfer NoSymbol XF86Xfer
|
||||
keycode <span class="org-highlight-numbers-number">156</span> = XF86Launch1 NoSymbol XF86Launch1
|
||||
keycode <span class="org-highlight-numbers-number">157</span> = XF86Launch2 NoSymbol XF86Launch2
|
||||
keycode <span class="org-highlight-numbers-number">158</span> = XF86WWW NoSymbol XF86WWW
|
||||
keycode <span class="org-highlight-numbers-number">159</span> = XF86DOS NoSymbol XF86DOS
|
||||
keycode <span class="org-highlight-numbers-number">160</span> = XF86ScreenSaver NoSymbol XF86ScreenSaver
|
||||
keycode <span class="org-highlight-numbers-number">161</span> = XF86RotateWindows NoSymbol XF86RotateWindows
|
||||
keycode <span class="org-highlight-numbers-number">162</span> = XF86TaskPane NoSymbol XF86TaskPane
|
||||
keycode <span class="org-highlight-numbers-number">163</span> = XF86Mail NoSymbol XF86Mail
|
||||
keycode <span class="org-highlight-numbers-number">164</span> = XF86Favorites NoSymbol XF86Favorites
|
||||
keycode <span class="org-highlight-numbers-number">165</span> = XF86MyComputer NoSymbol XF86MyComputer
|
||||
keycode <span class="org-highlight-numbers-number">166</span> = XF86Back NoSymbol XF86Back
|
||||
keycode <span class="org-highlight-numbers-number">167</span> = XF86Forward NoSymbol XF86Forward
|
||||
keycode <span class="org-highlight-numbers-number">168</span> =
|
||||
keycode <span class="org-highlight-numbers-number">169</span> = XF86Eject NoSymbol XF86Eject
|
||||
keycode <span class="org-highlight-numbers-number">170</span> = XF86Eject XF86Eject XF86Eject XF86Eject
|
||||
keycode <span class="org-highlight-numbers-number">171</span> = XF86AudioNext NoSymbol XF86AudioNext
|
||||
keycode <span class="org-highlight-numbers-number">172</span> = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
|
||||
keycode <span class="org-highlight-numbers-number">173</span> = XF86AudioPrev NoSymbol XF86AudioPrev
|
||||
keycode <span class="org-highlight-numbers-number">174</span> = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
|
||||
keycode <span class="org-highlight-numbers-number">175</span> = XF86AudioRecord NoSymbol XF86AudioRecord
|
||||
keycode <span class="org-highlight-numbers-number">176</span> = XF86AudioRewind NoSymbol XF86AudioRewind
|
||||
keycode <span class="org-highlight-numbers-number">177</span> = XF86Phone NoSymbol XF86Phone
|
||||
keycode <span class="org-highlight-numbers-number">178</span> =
|
||||
keycode <span class="org-highlight-numbers-number">179</span> = XF86Tools NoSymbol XF86Tools
|
||||
keycode <span class="org-highlight-numbers-number">180</span> = XF86HomePage NoSymbol XF86HomePage
|
||||
keycode <span class="org-highlight-numbers-number">181</span> = XF86Reload NoSymbol XF86Reload
|
||||
keycode <span class="org-highlight-numbers-number">182</span> = XF86Close NoSymbol XF86Close
|
||||
keycode <span class="org-highlight-numbers-number">183</span> =
|
||||
keycode <span class="org-highlight-numbers-number">184</span> =
|
||||
keycode <span class="org-highlight-numbers-number">185</span> = XF86ScrollUp NoSymbol XF86ScrollUp
|
||||
keycode <span class="org-highlight-numbers-number">186</span> = XF86ScrollDown NoSymbol XF86ScrollDown
|
||||
keycode <span class="org-highlight-numbers-number">187</span> = parenleft NoSymbol parenleft
|
||||
keycode <span class="org-highlight-numbers-number">188</span> = parenright NoSymbol parenright
|
||||
keycode <span class="org-highlight-numbers-number">189</span> = XF86New NoSymbol XF86New
|
||||
keycode <span class="org-highlight-numbers-number">190</span> = Redo NoSymbol Redo
|
||||
keycode <span class="org-highlight-numbers-number">191</span> = XF86Tools NoSymbol XF86Tools
|
||||
keycode <span class="org-highlight-numbers-number">192</span> = XF86Launch5 NoSymbol XF86Launch5
|
||||
keycode <span class="org-highlight-numbers-number">193</span> = XF86Launch6 NoSymbol XF86Launch6
|
||||
keycode <span class="org-highlight-numbers-number">194</span> = XF86Launch7 NoSymbol XF86Launch7
|
||||
keycode <span class="org-highlight-numbers-number">195</span> = XF86Launch8 NoSymbol XF86Launch8
|
||||
keycode <span class="org-highlight-numbers-number">196</span> = XF86Launch9 NoSymbol XF86Launch9
|
||||
keycode <span class="org-highlight-numbers-number">197</span> =
|
||||
keycode <span class="org-highlight-numbers-number">198</span> = XF86AudioMicMute NoSymbol XF86AudioMicMute
|
||||
keycode <span class="org-highlight-numbers-number">199</span> = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
|
||||
keycode <span class="org-highlight-numbers-number">200</span> = XF86TouchpadOn NoSymbol XF86TouchpadOn
|
||||
keycode <span class="org-highlight-numbers-number">201</span> = XF86TouchpadOff NoSymbol XF86TouchpadOff
|
||||
keycode <span class="org-highlight-numbers-number">202</span> =
|
||||
keycode <span class="org-highlight-numbers-number">203</span> = Mode_switch NoSymbol Mode_switch
|
||||
keycode <span class="org-highlight-numbers-number">204</span> = NoSymbol Alt_L NoSymbol Alt_L
|
||||
keycode <span class="org-highlight-numbers-number">205</span> = NoSymbol Meta_L NoSymbol Meta_L
|
||||
keycode <span class="org-highlight-numbers-number">206</span> = NoSymbol Super_L NoSymbol Super_L
|
||||
keycode <span class="org-highlight-numbers-number">207</span> = NoSymbol Hyper_L NoSymbol Hyper_L
|
||||
keycode <span class="org-highlight-numbers-number">208</span> = XF86AudioPlay NoSymbol XF86AudioPlay
|
||||
keycode <span class="org-highlight-numbers-number">209</span> = XF86AudioPause NoSymbol XF86AudioPause
|
||||
keycode <span class="org-highlight-numbers-number">210</span> = XF86Launch3 NoSymbol XF86Launch3
|
||||
keycode <span class="org-highlight-numbers-number">211</span> = XF86Launch4 NoSymbol XF86Launch4
|
||||
keycode <span class="org-highlight-numbers-number">212</span> = XF86LaunchB NoSymbol XF86LaunchB
|
||||
keycode <span class="org-highlight-numbers-number">213</span> = XF86Suspend NoSymbol XF86Suspend
|
||||
keycode <span class="org-highlight-numbers-number">214</span> = XF86Close NoSymbol XF86Close
|
||||
keycode <span class="org-highlight-numbers-number">215</span> = XF86AudioPlay NoSymbol XF86AudioPlay
|
||||
keycode <span class="org-highlight-numbers-number">216</span> = XF86AudioForward NoSymbol XF86AudioForward
|
||||
keycode <span class="org-highlight-numbers-number">217</span> =
|
||||
keycode <span class="org-highlight-numbers-number">218</span> = Print NoSymbol Print
|
||||
keycode <span class="org-highlight-numbers-number">219</span> =
|
||||
keycode <span class="org-highlight-numbers-number">220</span> = XF86WebCam NoSymbol XF86WebCam
|
||||
keycode <span class="org-highlight-numbers-number">221</span> =
|
||||
keycode <span class="org-highlight-numbers-number">222</span> =
|
||||
keycode <span class="org-highlight-numbers-number">223</span> = XF86Mail NoSymbol XF86Mail
|
||||
keycode <span class="org-highlight-numbers-number">224</span> = XF86Messenger NoSymbol XF86Messenger
|
||||
keycode <span class="org-highlight-numbers-number">225</span> = XF86Search NoSymbol XF86Search
|
||||
keycode <span class="org-highlight-numbers-number">226</span> = XF86Go NoSymbol XF86Go
|
||||
keycode <span class="org-highlight-numbers-number">227</span> = XF86Finance NoSymbol XF86Finance
|
||||
keycode <span class="org-highlight-numbers-number">228</span> = XF86Game NoSymbol XF86Game
|
||||
keycode <span class="org-highlight-numbers-number">229</span> = XF86Shop NoSymbol XF86Shop
|
||||
keycode <span class="org-highlight-numbers-number">230</span> =
|
||||
keycode <span class="org-highlight-numbers-number">231</span> = Cancel NoSymbol Cancel
|
||||
keycode <span class="org-highlight-numbers-number">232</span> = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
|
||||
keycode <span class="org-highlight-numbers-number">233</span> = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
|
||||
keycode <span class="org-highlight-numbers-number">234</span> = XF86AudioMedia NoSymbol XF86AudioMedia
|
||||
keycode <span class="org-highlight-numbers-number">235</span> = XF86Display NoSymbol XF86Display
|
||||
keycode <span class="org-highlight-numbers-number">236</span> = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
|
||||
keycode <span class="org-highlight-numbers-number">237</span> = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
|
||||
keycode <span class="org-highlight-numbers-number">238</span> = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
|
||||
keycode <span class="org-highlight-numbers-number">239</span> = XF86Send NoSymbol XF86Send
|
||||
keycode <span class="org-highlight-numbers-number">240</span> = XF86Reply NoSymbol XF86Reply
|
||||
keycode <span class="org-highlight-numbers-number">241</span> = XF86MailForward NoSymbol XF86MailForward
|
||||
keycode <span class="org-highlight-numbers-number">242</span> = XF86Save NoSymbol XF86Save
|
||||
keycode <span class="org-highlight-numbers-number">243</span> = XF86Documents NoSymbol XF86Documents
|
||||
keycode <span class="org-highlight-numbers-number">244</span> = XF86Battery NoSymbol XF86Battery
|
||||
keycode <span class="org-highlight-numbers-number">245</span> = XF86Bluetooth NoSymbol XF86Bluetooth
|
||||
keycode <span class="org-highlight-numbers-number">246</span> = XF86WLAN NoSymbol XF86WLAN
|
||||
keycode <span class="org-highlight-numbers-number">247</span> =
|
||||
keycode <span class="org-highlight-numbers-number">248</span> = XF86Display NoSymbol XF86Display
|
||||
keycode <span class="org-highlight-numbers-number">249</span> =
|
||||
keycode <span class="org-highlight-numbers-number">250</span> =
|
||||
keycode <span class="org-highlight-numbers-number">251</span> =
|
||||
keycode <span class="org-highlight-numbers-number">252</span> =
|
||||
keycode <span class="org-highlight-numbers-number">253</span> =
|
||||
keycode <span class="org-highlight-numbers-number">254</span> = XF86WWAN NoSymbol XF86WWAN
|
||||
keycode <span class="org-highlight-numbers-number">255</span> = XF86RFKill NoSymbol XF86RFKill
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-xinitrc" class="outline-2">
|
||||
<h2 id="xinitrc"><code>~/.xinitrc</code></h2>
|
||||
<div class="outline-text-2" id="text-xinitrc">
|
||||
@ -398,7 +123,7 @@ keycode <span class="org-highlight-numbers-number">255</span> = XF86RFKill NoSym
|
||||
Fix for Matlab.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">_JAVA_AWT_WM_NONREPARENTING</span>=<span class="org-highlight-numbers-number">1</span>
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">export _JAVA_AWT_WM_NONREPARENTING=1</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -406,7 +131,7 @@ Fix for Matlab.
|
||||
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 class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">systemctl --user import-environment DISPLAY</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -478,7 +203,7 @@ Start programs related to display:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Screen options</span>
|
||||
xrandr --output eDP1 --mode 1920x1080 --dpi <span class="org-highlight-numbers-number">192</span> &
|
||||
xrandr --output eDP-1 --mode 1920x1200 --dpi <span class="org-highlight-numbers-number">192</span> &
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Set random wallpaper</span>
|
||||
setbg ~/.local/data/wallpapers/ &
|
||||
@ -488,7 +213,7 @@ setbg ~/.local/data/wallpapers/ &
|
||||
unclutter --timeout <span class="org-highlight-numbers-number">5</span> &
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Autolock screen after x minutes</span>
|
||||
xautolock -locker <span class="org-string">"~/.local/bin/lockscreen"</span> -detectsleep -time <span class="org-highlight-numbers-number">30</span> -notify <span class="org-highlight-numbers-number">60</span> -notifier <span class="org-string">"dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'"</span> &
|
||||
xautolock -locker <span class="org-string">"~/.local/bin/lockscreen"</span> -detectsleep -time <span class="org-highlight-numbers-number">30</span> -notify <span class="org-highlight-numbers-number">60</span> -notifier <span class="org-string">"notify-send -u critical -t 10000 -- 'Locking Screen' '60 seconds'"</span> &
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Redshift</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> redshift >/dev/null || <span class="org-sh-escaped-newline">\</span>
|
||||
@ -496,6 +221,9 @@ xautolock -locker <span class="org-string">"~/.local/bin/lockscreen"</span> -det
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Run Picom (compositor)</span>
|
||||
picom --daemon &
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Network Manager Applet</span>
|
||||
nm-applet &
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -508,39 +236,6 @@ mopidy --config ~/.config/mopidy/mopidy.conf >/dev/null <span class="org-high
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Configuration for the HUION Inspiroy Ink H320M graphical tablet (<a href="tablet.html">Tablet config</a>):
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Lock cursor in first display. Change HEAD number to use a different displace</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">xsetwacom set "HUION Huion Tablet_H320M Pen stylus" MapToOutput "HEAD-0"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Pen Buttons</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pen stylus"</span> button <span class="org-highlight-numbers-number">1</span> <span class="org-highlight-numbers-number">1</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Left click</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pen stylus"</span> button <span class="org-highlight-numbers-number">2</span> <span class="org-highlight-numbers-number">2</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Right click</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pen stylus"</span> button <span class="org-highlight-numbers-number">3</span> <span class="org-highlight-numbers-number">3</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Middle click</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Tablet Buttons</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Top Buttons</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">1</span> key Ctrl T <span class="org-comment-delimiter"># </span><span class="org-comment">Tools</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">2</span> key Ctrl Shift A <span class="org-comment-delimiter"># </span><span class="org-comment">Hand Tool</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">3</span> key Ctrl Shift D <span class="org-comment-delimiter"># </span><span class="org-comment">Default Tool</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Round Buttons (Top, Bottom, Middle, Left, Right)</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">8</span> key Ctrl Shift + <span class="org-comment-delimiter"># </span><span class="org-comment">Zoom</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">9</span> key Ctrl - <span class="org-comment-delimiter"># </span><span class="org-comment">Unzoom</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">10</span> key Ctrl S <span class="org-comment-delimiter"># </span><span class="org-comment">Save</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">11</span> key Ctrl Z <span class="org-comment-delimiter"># </span><span class="org-comment">Undo</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">12</span> key Ctrl Shift Z <span class="org-comment-delimiter"># </span><span class="org-comment">Redo</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Bottom Buttons</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">13</span> key Ctrl Shift O <span class="org-comment-delimiter"># </span><span class="org-comment">Select</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">14</span> key Ctrl <span class="org-comment-delimiter"># </span><span class="org-comment">Ctrl (Color Picker, Zoom)</span>
|
||||
xsetwacom set <span class="org-string">"HUION Huion Tablet_H320M Pad pad"</span> button <span class="org-highlight-numbers-number">15</span> key Ctrl Q <span class="org-comment-delimiter"># </span><span class="org-comment">Quit</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Finally, run SXHKD for the key bindings:
|
||||
</p>
|
||||
@ -555,7 +250,7 @@ Finally, run SXHKD for the key bindings:
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:22</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-06-20 dim. 14:22 -->
|
||||
<!-- 2022-05-09 lun. 10:04 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Zathura</title>
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
@ -16,27 +16,27 @@
|
||||
<a accesskey="h" href="./index.html"> UP </a>
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
</div><div id="content" class="content">
|
||||
<h1 class="title">Zathura</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgc0ba73f">Configuration</a></li>
|
||||
<li><a href="#orge5e71df">Bindings</a></li>
|
||||
<li><a href="#orgbe75730">Colors</a></li>
|
||||
<li><a href="#orgc4659f8">Scripts</a>
|
||||
<li><a href="#orga02dabb">Configuration</a></li>
|
||||
<li><a href="#org4b78c7c">Bindings</a></li>
|
||||
<li><a href="#org6728d67">Colors</a></li>
|
||||
<li><a href="#org881ff49">Scripts</a>
|
||||
<ul>
|
||||
<li><a href="#org69796fa">Extract one page as a PDF</a></li>
|
||||
<li><a href="#orgf303b50">Extract one page as a PDF</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc0ba73f" class="outline-2">
|
||||
<h2 id="orgc0ba73f">Configuration</h2>
|
||||
<div class="outline-text-2" id="text-orgc0ba73f">
|
||||
<div id="outline-container-orga02dabb" class="outline-2">
|
||||
<h2 id="orga02dabb">Configuration</h2>
|
||||
<div class="outline-text-2" id="text-orga02dabb">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Use clipboard</span>
|
||||
set selection-clipboard clipboard
|
||||
@ -55,9 +55,9 @@ set synctex true
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge5e71df" class="outline-2">
|
||||
<h2 id="orge5e71df">Bindings</h2>
|
||||
<div class="outline-text-2" id="text-orge5e71df">
|
||||
<div id="outline-container-org4b78c7c" class="outline-2">
|
||||
<h2 id="org4b78c7c">Bindings</h2>
|
||||
<div class="outline-text-2" id="text-org4b78c7c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map u scroll half-up
|
||||
map d scroll half-down
|
||||
@ -85,9 +85,9 @@ map <C-s> feedkeys <span class="org-string">":exec /home/thomas/.config/za
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbe75730" class="outline-2">
|
||||
<h2 id="orgbe75730">Colors</h2>
|
||||
<div class="outline-text-2" id="text-orgbe75730">
|
||||
<div id="outline-container-org6728d67" class="outline-2">
|
||||
<h2 id="org6728d67">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org6728d67">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Base16 Gruvbox dark, soft</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)</span>
|
||||
@ -129,14 +129,14 @@ set recolor-keephue <span class="org-string">"false"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc4659f8" class="outline-2">
|
||||
<h2 id="orgc4659f8">Scripts</h2>
|
||||
<div class="outline-text-2" id="text-orgc4659f8">
|
||||
<div id="outline-container-org881ff49" class="outline-2">
|
||||
<h2 id="org881ff49">Scripts</h2>
|
||||
<div class="outline-text-2" id="text-org881ff49">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org69796fa" class="outline-3">
|
||||
<h3 id="org69796fa">Extract one page as a PDF</h3>
|
||||
<div class="outline-text-3" id="text-org69796fa">
|
||||
<div id="outline-container-orgf303b50" class="outline-3">
|
||||
<h3 id="orgf303b50">Extract one page as a PDF</h3>
|
||||
<div class="outline-text-3" id="text-orgf303b50">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-variable-name">tmpfile</span>=/tmp/pdf_page.pdf
|
||||
|
||||
@ -155,7 +155,7 @@ pdftk <span class="org-string">"</span><span class="org-string"><span class="org
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-06-20 dim. 14:22</p>
|
||||
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user