Nicer home page

This commit is contained in:
Thomas Dehaeze 2021-01-03 22:52:53 +01:00
parent b484e4ddb1
commit a46af90e85
25 changed files with 7377 additions and 8385 deletions

View File

@ -48,6 +48,10 @@
# Line wrap on window resize # Line wrap on window resize
shopt -s checkwinsize shopt -s checkwinsize
# Enable history expansion with space
# E.g. typing !!<space> will replace the !! with your last command
bind Space:magic-space
# Expand Aliases # Expand Aliases
shopt -s expand_aliases shopt -s expand_aliases
@ -56,6 +60,9 @@
# Enable history appending instead of overwriting # Enable history appending instead of overwriting
shopt -s histappend shopt -s histappend
# Save multi-line commands as one command
shopt -s cmdhist
#+END_SRC #+END_SRC
** Prompt - =PS1= ** Prompt - =PS1=
@ -204,9 +211,20 @@ https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-message
Undocumented feature which sets the size to "unlimited". http://stackoverflow.com/questions/9457233/unlimited-bash-history Undocumented feature which sets the size to "unlimited". http://stackoverflow.com/questions/9457233/unlimited-bash-history
#+BEGIN_SRC bash #+BEGIN_SRC bash
export HISTFILESIZE= # Huge history. Doesn't appear to slow things down, so why not?
export HISTSIZE= HISTSIZE=500000
export HISTTIMEFORMAT="[%F %T] " HISTFILESIZE=100000
# Avoid duplicate entries
HISTCONTROL="erasedups:ignoreboth"
# Don't record some commands
export HISTIGNORE="&:[ ]*:exit:ls:bg:fg:history:clear"
# Use standard ISO 8601 timestamp
# %F equivalent to %Y-%m-%d
# %T equivalent to %H:%M:%S (24-hours format)
HISTTIMEFORMAT='%F %T '
#+END_SRC #+END_SRC
Change the file location because certain bash sessions truncate =.bash_history= file upon close. http://superuser.com/questions/575479/bash-history-truncated-to-500-lines-on-each-login Change the file location because certain bash sessions truncate =.bash_history= file upon close. http://superuser.com/questions/575479/bash-history-truncated-to-500-lines-on-each-login
@ -312,7 +330,7 @@ This is important for termite to work when sshing in remote machines.
PATH=$HOME/appimages:$PATH PATH=$HOME/appimages:$PATH
PATH=$HOME/.gem/ruby/2.5.0/bin:$PATH PATH=$HOME/.gem/ruby/2.5.0/bin:$PATH
PATH=$GOPATH:$GOPATH/bin:$PATH PATH=$GOPATH:$GOPATH/bin:$PATH
PATH=~/.emacs.d/bin:$PATH PATH=~/.config/emacs/bin:$PATH
export PATH export PATH
#+END_SRC #+END_SRC

View File

@ -66,7 +66,7 @@
</alias> </alias>
<alias> <alias>
<family>monospace</family> <family>monospace</family>
<prefer><family>SauceCodePro Nerd Font Mono</family></prefer> <prefer><family>Hack Nerd Font Mono</family></prefer>
</alias> </alias>
</fontconfig> </fontconfig>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-03 dim. 22:19 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Bash Configuration</title> <title>Bash Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -90,7 +90,7 @@
<h3 id="orgb8018f7">If not running interactively, don&rsquo;t do anything</h3> <h3 id="orgb8018f7">If not running interactively, don&rsquo;t do anything</h3>
<div class="outline-text-3" id="text-orgb8018f7"> <div class="outline-text-3" id="text-orgb8018f7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-variable-name">-</span> != *i* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-keyword">return</span> <pre class="src src-bash"> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-variable-name">-</span> != *i* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-keyword">return</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -100,7 +100,7 @@
<h3 id="org16d9917">Bash Completion</h3> <h3 id="org16d9917">Bash Completion</h3>
<div class="outline-text-3" id="text-org16d9917"> <div class="outline-text-3" id="text-org16d9917">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span> -r /usr/share/bash-completion/bash_completion <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> /usr/share/bash-completion/bash_completion <pre class="src src-bash"> <span class="org-rainbow-delimiters-depth-1">[</span> -r /usr/share/bash-completion/bash_completion <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> /usr/share/bash-completion/bash_completion
</pre> </pre>
</div> </div>
</div> </div>
@ -110,7 +110,7 @@
<h3 id="org17408fe">FZF</h3> <h3 id="org17408fe">FZF</h3>
<div class="outline-text-3" id="text-org17408fe"> <div class="outline-text-3" id="text-org17408fe">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">source</span> /usr/share/fzf/key-bindings.bash <pre class="src src-bash"> <span class="org-builtin">source</span> /usr/share/fzf/key-bindings.bash
</pre> </pre>
</div> </div>
</div> </div>
@ -120,8 +120,8 @@
<h3 id="org46238bc">Ignore case for auto-completion</h3> <h3 id="org46238bc">Ignore case for auto-completion</h3>
<div class="outline-text-3" id="text-org46238bc"> <div class="outline-text-3" id="text-org46238bc">
<div class="org-src-container"> <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> <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> <span class="org-builtin">bind</span> <span class="org-string">"set show-all-if-ambiguous on"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -131,7 +131,7 @@
<h3 id="org53c6a26">Use Color</h3> <h3 id="org53c6a26">Use Color</h3>
<div class="outline-text-3" id="text-org53c6a26"> <div class="outline-text-3" id="text-org53c6a26">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">use_color</span>=true <pre class="src src-bash"> <span class="org-variable-name">use_color</span>=true
</pre> </pre>
</div> </div>
</div> </div>
@ -141,26 +141,33 @@
<h3 id="org5664e96">Some config</h3> <h3 id="org5664e96">Some config</h3>
<div class="outline-text-3" id="text-org5664e96"> <div class="outline-text-3" id="text-org5664e96">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Unset some variables</span> <pre class="src src-bash"> <span class="org-comment-delimiter"># </span><span class="org-comment">Unset some variables</span>
<span class="org-builtin">unset</span> use_color safe_term match_lhs sh <span class="org-builtin">unset</span> use_color safe_term match_lhs sh
<span class="org-comment-delimiter"># </span><span class="org-comment">Allow local processes with root privileges to connect to the locally running X server</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Allow local processes with root privileges to connect to the locally running X server</span>
xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Autocomplete </span><span class="org-type"><span class="org-comment">sudo</span></span><span class="org-comment"> commands</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Autocomplete </span><span class="org-type"><span class="org-comment">sudo</span></span><span class="org-comment"> commands</span>
<span class="org-builtin">complete</span> -cf <span class="org-type">sudo</span> <span class="org-builtin">complete</span> -cf <span class="org-type">sudo</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Line wrap on window resize</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Line wrap on window resize</span>
<span class="org-builtin">shopt</span> -s checkwinsize <span class="org-builtin">shopt</span> -s checkwinsize
<span class="org-comment-delimiter"># </span><span class="org-comment">Expand Aliases</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Enable history expansion with space</span>
<span class="org-builtin">shopt</span> -s expand_aliases <span class="org-comment-delimiter"># </span><span class="org-comment">E.g. typing !!&lt;space&gt; will replace the !! with your last command</span>
<span class="org-builtin">bind</span> Space:magic-space
<span class="org-comment-delimiter"># </span><span class="org-comment">Auto "</span><span class="org-type"><span class="org-comment">cd</span></span><span class="org-comment">" when entering just a path</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Expand Aliases</span>
<span class="org-builtin">shopt</span> -s autocd <span class="org-builtin">shopt</span> -s expand_aliases
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable history appending instead of overwriting</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Auto "</span><span class="org-type"><span class="org-comment">cd</span></span><span class="org-comment">" when entering just a path</span>
<span class="org-builtin">shopt</span> -s histappend <span class="org-builtin">shopt</span> -s autocd
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable history appending instead of overwriting</span>
<span class="org-builtin">shopt</span> -s histappend
<span class="org-comment-delimiter"># </span><span class="org-comment">Save multi-line commands as one command</span>
<span class="org-builtin">shopt</span> -s cmdhist
</pre> </pre>
</div> </div>
</div> </div>
@ -170,7 +177,7 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h3 id="org26dcd39">Prompt - <code>PS1</code></h3> <h3 id="org26dcd39">Prompt - <code>PS1</code></h3>
<div class="outline-text-3" id="text-org26dcd39"> <div class="outline-text-3" id="text-org26dcd39">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">PS1</span>=<span class="org-string">"\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> bold)</span></span><span class="org-string">\]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\][\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 3)</span></span><span class="org-string">\]\u\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 2)</span></span><span class="org-string">\]@\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 4)</span></span><span class="org-string">\]\h \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 5)</span></span><span class="org-string">\]\W\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\]]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 7)</span></span><span class="org-string">\]\\$ \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> sgr0)</span></span><span class="org-string">\]"</span> <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">PS1</span>=<span class="org-string">"\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> bold)</span></span><span class="org-string">\]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\][\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 3)</span></span><span class="org-string">\]\u\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 2)</span></span><span class="org-string">\]@\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 4)</span></span><span class="org-string">\]\h \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 5)</span></span><span class="org-string">\]\W\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\]]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 7)</span></span><span class="org-string">\]\\$ \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> sgr0)</span></span><span class="org-string">\]"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -180,8 +187,8 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h3 id="org7dc0b98">Rebind up and down arrow keys to search through bash history</h3> <h3 id="org7dc0b98">Rebind up and down arrow keys to search through bash history</h3>
<div class="outline-text-3" id="text-org7dc0b98"> <div class="outline-text-3" id="text-org7dc0b98">
<div class="org-src-container"> <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> <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> <span class="org-builtin">bind</span> <span class="org-string">'"\e[B": history-search-forward'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -195,13 +202,13 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h4 id="orgad8f6ac">Better defaults for some commands</h4> <h4 id="orgad8f6ac">Better defaults for some commands</h4>
<div class="outline-text-4" id="text-orgad8f6ac"> <div class="outline-text-4" id="text-orgad8f6ac">
<div class="org-src-container"> <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> <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">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-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">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">free</span>=<span class="org-string">'free -m'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">show sizes in MB</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">mutt</span>=<span class="org-string">"neomutt"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">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> <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> </pre>
</div> </div>
</div> </div>
@ -211,13 +218,13 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h4 id="orgd2723b6">One letter aliases</h4> <h4 id="orgd2723b6">One letter aliases</h4>
<div class="outline-text-4" id="text-orgd2723b6"> <div class="outline-text-4" id="text-orgd2723b6">
<div class="org-src-container"> <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> <pre class="src src-bash"> <span class="org-builtin">alias</span> <span class="org-variable-name">r</span>=<span class="org-string">"ranger"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">t</span>=<span class="org-string">"tmux"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">t</span>=<span class="org-string">"tmux"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">v</span>=<span class="org-string">"nvim"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">v</span>=<span class="org-string">"nvim"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">sv</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">sudo</span></span><span class="org-string"> -E nvim'</span> <span class="org-builtin">alias</span> <span class="org-variable-name">sv</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">sudo</span></span><span class="org-string"> -E nvim'</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">g</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">git</span></span><span class="org-string">"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">g</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">git</span></span><span class="org-string">"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">m</span>=<span class="org-string">"neomutt"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">m</span>=<span class="org-string">"neomutt"</span>
<span class="org-builtin">alias</span> <span class="org-variable-name">o</span>=<span class="org-string">"xdg-open"</span> <span class="org-builtin">alias</span> <span class="org-variable-name">o</span>=<span class="org-string">"xdg-open"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -227,7 +234,7 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h4 id="org785c2af">Neovim</h4> <h4 id="org785c2af">Neovim</h4>
<div class="outline-text-4" id="text-org785c2af"> <div class="outline-text-4" id="text-org785c2af">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">command</span> -v nvim &gt;/dev/null &amp;&amp; <span class="org-builtin">alias</span> <span class="org-variable-name">vim</span>=<span class="org-string">"nvim"</span> <span class="org-variable-name">vimdiff</span>=<span class="org-string">"nvim -d"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use neovim for vim if present.</span> <pre class="src src-bash"> <span class="org-builtin">command</span> -v nvim &gt;/dev/null &amp;&amp; <span class="org-builtin">alias</span> <span class="org-variable-name">vim</span>=<span class="org-string">"nvim"</span> <span class="org-variable-name">vimdiff</span>=<span class="org-string">"nvim -d"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use neovim for vim if present.</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -237,8 +244,8 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h4 id="org61be992">Vim-like</h4> <h4 id="org61be992">Vim-like</h4>
<div class="outline-text-4" id="text-org61be992"> <div class="outline-text-4" id="text-org61be992">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">alias</span> :<span class="org-variable-name">q</span>=exit <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 <span class="org-builtin">alias</span> :<span class="org-variable-name">e</span>=nvim
</pre> </pre>
</div> </div>
</div> </div>
@ -248,7 +255,7 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h4 id="org6f5c44a">Print each PATH entry on a separate line</h4> <h4 id="org6f5c44a">Print each PATH entry on a separate line</h4>
<div class="outline-text-4" id="text-org6f5c44a"> <div class="outline-text-4" id="text-org6f5c44a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">path</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">echo</span></span><span class="org-string"> -e ${PATH//:/\\n}'</span> <pre class="src src-bash"> <span class="org-builtin">alias</span> <span class="org-variable-name">path</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">echo</span></span><span class="org-string"> -e ${PATH//:/\\n}'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -263,32 +270,32 @@ xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</s
<h4 id="org716962c"><code>colors</code> - Display colors</h4> <h4 id="org716962c"><code>colors</code> - Display colors</h4>
<div class="outline-text-4" id="text-org716962c"> <div class="outline-text-4" id="text-org716962c">
<div class="org-src-container"> <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> <pre class="src src-bash"> colors<span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-builtin">local</span> fgc bgc vals seq0 <span class="org-builtin">local</span> fgc bgc vals seq0
<span class="org-builtin">printf</span> <span class="org-string">"Color escapes are %s\n"</span> <span class="org-string">'\e[${value};...;${value}m'</span> <span class="org-builtin">printf</span> <span class="org-string">"Color escapes are %s\n"</span> <span class="org-string">'\e[${value};...;${value}m'</span>
<span class="org-builtin">printf</span> <span class="org-string">"Values 30..37 are \e[33mforeground colors\e[m\n"</span> <span class="org-builtin">printf</span> <span class="org-string">"Values 30..37 are \e[33mforeground colors\e[m\n"</span>
<span class="org-builtin">printf</span> <span class="org-string">"Values 40..47 are \e[43mbackground colors\e[m\n"</span> <span class="org-builtin">printf</span> <span class="org-string">"Values 40..47 are \e[43mbackground colors\e[m\n"</span>
<span class="org-builtin">printf</span> <span class="org-string">"Value 1 gives a \e[1mbold-faced look\e[m\n\n"</span> <span class="org-builtin">printf</span> <span class="org-string">"Value 1 gives a \e[1mbold-faced look\e[m\n\n"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">foreground colors</span> <span class="org-comment-delimiter"># </span><span class="org-comment">foreground colors</span>
<span class="org-keyword">for</span> fgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>30..37<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span> <span class="org-keyword">for</span> fgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>30..37<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">background colors</span> <span class="org-comment-delimiter"># </span><span class="org-comment">background colors</span>
<span class="org-keyword">for</span> bgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>40..47<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span> <span class="org-keyword">for</span> bgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>40..47<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
<span class="org-variable-name">fgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">fgc</span>#37<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">white</span> <span class="org-variable-name">fgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">fgc</span>#37<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">white</span>
<span class="org-variable-name">bgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">bgc</span>#40<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">black</span> <span class="org-variable-name">bgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">bgc</span>#40<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">black</span>
<span class="org-variable-name">vals</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{fgc:+$fgc;}</span></span><span class="org-string">${bgc}"</span> <span class="org-variable-name">vals</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{fgc:+$fgc;}</span></span><span class="org-string">${bgc}"</span>
<span class="org-variable-name">vals</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">vals</span>%%;<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-variable-name">vals</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">vals</span>%%;<span class="org-rainbow-delimiters-depth-2">}</span>
<span class="org-variable-name">seq0</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+\e[${vals}</span></span><span class="org-string">m}"</span> <span class="org-variable-name">seq0</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+\e[${vals}</span></span><span class="org-string">m}"</span>
<span class="org-builtin">printf</span> <span class="org-string">" %-9s"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{seq0:-(default)}</span></span><span class="org-string">"</span> <span class="org-builtin">printf</span> <span class="org-string">" %-9s"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{seq0:-(default)}</span></span><span class="org-string">"</span>
<span class="org-builtin">printf</span> <span class="org-string">" </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{seq0}</span></span><span class="org-string">TEXT\e[m"</span> <span class="org-builtin">printf</span> <span class="org-string">" </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{seq0}</span></span><span class="org-string">TEXT\e[m"</span>
<span class="org-builtin">printf</span> <span class="org-string">" \e[</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+${vals+$vals;}</span></span><span class="org-string">}1mBOLD\e[m"</span> <span class="org-builtin">printf</span> <span class="org-string">" \e[</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+${vals+$vals;}</span></span><span class="org-string">}1mBOLD\e[m"</span>
<span class="org-keyword">done</span> <span class="org-keyword">done</span>
<span class="org-type">echo</span>; <span class="org-type">echo</span> <span class="org-type">echo</span>; <span class="org-type">echo</span>
<span class="org-keyword">done</span> <span class="org-keyword">done</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -305,9 +312,9 @@ small enough for one screen.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">tre</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span> <pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">tre</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
tree -aC -I <span class="org-string">'.git|node_modules|bower_components'</span> --dirsfirst <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> | <span class="org-type">less</span> -FRNX; tree -aC -I <span class="org-string">'.git|node_modules|bower_components'</span> --dirsfirst <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> | <span class="org-type">less</span> -FRNX;
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -317,9 +324,9 @@ small enough for one screen.
<h4 id="org7b0ff56"><code>mkd</code> - Create a new directory and enter it</h4> <h4 id="org7b0ff56"><code>mkd</code> - Create a new directory and enter it</h4>
<div class="outline-text-4" id="text-org7b0ff56"> <div class="outline-text-4" id="text-org7b0ff56">
<div class="org-src-container"> <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> <pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">mkd</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-type">mkdir</span> -p <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-type">cd</span> <span class="org-string">"$_"</span>; <span class="org-type">mkdir</span> -p <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-type">cd</span> <span class="org-string">"$_"</span>;
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -329,18 +336,18 @@ small enough for one screen.
<h4 id="org78520b0"><code>fs</code> - Filesize of directory</h4> <h4 id="org78520b0"><code>fs</code> - Filesize of directory</h4>
<div class="outline-text-4" id="text-org78520b0"> <div class="outline-text-4" id="text-org78520b0">
<div class="org-src-container"> <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> <pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">fs</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-keyword">if</span> du -b /dev/null &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span> <span class="org-keyword">if</span> du -b /dev/null &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
<span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sbh; <span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sbh;
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
<span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sh; <span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sh;
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
du $<span class="org-variable-name">arg</span> -- <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>; du $<span class="org-variable-name">arg</span> -- <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>;
<span class="org-keyword">else</span> <span class="org-keyword">else</span>
du $<span class="org-variable-name">arg</span> .<span class="org-rainbow-delimiters-depth-2">[</span>^.<span class="org-rainbow-delimiters-depth-2">]</span>* ./*; du $<span class="org-variable-name">arg</span> .<span class="org-rainbow-delimiters-depth-2">[</span>^.<span class="org-rainbow-delimiters-depth-2">]</span>* ./*;
<span class="org-keyword">fi</span>; <span class="org-keyword">fi</span>;
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -350,9 +357,9 @@ small enough for one screen.
<h4 id="orgfc72283"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</h4> <h4 id="orgfc72283"><code>nullify</code> - Redirect both standard output and standard error, as well as sending to background</h4>
<div class="outline-text-4" id="text-orgfc72283"> <div class="outline-text-4" id="text-orgfc72283">
<div class="org-src-container"> <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> <pre class="src src-bash"> <span class="org-keyword">function</span> <span class="org-function-name">nullify</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -366,18 +373,18 @@ small enough for one screen.
</p> </p>
<div class="org-src-container"> <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> <pre class="src src-bash"> sms<span class="org-rainbow-delimiters-depth-1">(){</span>
<span class="org-builtin">local</span> <span class="org-variable-name">args</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> <span class="org-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">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-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-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-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{phone_number}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>; <span class="org-keyword">then</span>
<span class="org-type">echo</span> No recipient was chosen &gt;&amp;<span class="org-highlight-numbers-number">2</span> <span class="org-type">echo</span> No recipient was chosen &gt;&amp;<span class="org-highlight-numbers-number">2</span>
<span class="org-keyword">return</span> <span class="org-keyword">return</span>
<span class="org-keyword">else</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 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-keyword">fi</span>
<span class="org-rainbow-delimiters-depth-1">}</span> <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
@ -393,9 +400,20 @@ Undocumented feature which sets the size to &ldquo;unlimited&rdquo;. <a href="ht
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">HISTFILESIZE</span>= <pre class="src src-bash"> <span class="org-comment-delimiter"># </span><span class="org-comment">Huge history. Doesn't appear to slow things down, so why not?</span>
<span class="org-builtin">export</span> <span class="org-variable-name">HISTSIZE</span>= <span class="org-variable-name">HISTSIZE</span>=<span class="org-highlight-numbers-number">500000</span>
<span class="org-builtin">export</span> <span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">"[%F %T] "</span> <span class="org-variable-name">HISTFILESIZE</span>=<span class="org-highlight-numbers-number">100000</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Avoid duplicate entries</span>
<span class="org-variable-name">HISTCONTROL</span>=<span class="org-string">"erasedups:ignoreboth"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Don't record some commands</span>
<span class="org-builtin">export</span> <span class="org-variable-name">HISTIGNORE</span>=<span class="org-string">"&amp;:[ ]*:exit:ls:bg:fg:history:clear"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Use standard ISO 8601 timestamp</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">%F equivalent to %Y-%m-%d</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">%T equivalent to %H:%M:%S (24-hours format)</span>
<span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">'%F %T '</span>
</pre> </pre>
</div> </div>
@ -404,7 +422,7 @@ Change the file location because certain bash sessions truncate <code>.bash_hist
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">HISTFILE</span>=~/.bash_eternal_history <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">HISTFILE</span>=~/.bash_eternal_history
</pre> </pre>
</div> </div>
@ -413,7 +431,7 @@ Force prompt to write history after every command. <a href="http://superuser.com
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">PROMPT_COMMAND</span>=<span class="org-string">"history -a; </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PROMPT_COMMAND</span></span><span class="org-string">"</span> <pre class="src src-bash"> <span class="org-variable-name">PROMPT_COMMAND</span>=<span class="org-string">"history -a; </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PROMPT_COMMAND</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -424,8 +442,8 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h2 id="bash_profile"><code>~/.bash_profile</code></h2> <h2 id="bash_profile"><code>~/.bash_profile</code></h2>
<div class="outline-text-2" id="text-bash_profile"> <div class="outline-text-2" id="text-bash_profile">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.profile <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.profile <pre class="src src-bash"> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.profile <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.profile
<span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.bashrc <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.bashrc <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.bashrc <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.bashrc
</pre> </pre>
</div> </div>
</div> </div>
@ -440,8 +458,8 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h3 id="org15952b2">QT And GTK Themes</h3> <h3 id="org15952b2">QT And GTK Themes</h3>
<div class="outline-text-3" id="text-org15952b2"> <div class="outline-text-3" id="text-org15952b2">
<div class="org-src-container"> <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> <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> <span class="org-builtin">export</span> <span class="org-variable-name">GTK2_RC_FILES</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.gtkrc-2.0"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -451,7 +469,7 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h3 id="org6c38c79">Gui program to ask for sudo password</h3> <h3 id="org6c38c79">Gui program to ask for sudo password</h3>
<div class="outline-text-3" id="text-org6c38c79"> <div class="outline-text-3" id="text-org6c38c79">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi
</pre> </pre>
</div> </div>
</div> </div>
@ -464,10 +482,10 @@ Force prompt to write history after every command. <a href="http://superuser.com
Enable the keyring for applications run through the terminal Enable the keyring for applications run through the terminal
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">DESKTOP_SESSION</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>;<span class="org-keyword">then</span> <pre class="src src-bash"> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">DESKTOP_SESSION</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>;<span class="org-keyword">then</span>
<span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">gnome-keyring-daemon</span> --start<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">gnome-keyring-daemon</span> --start<span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-builtin">export</span> SSH_AUTH_SOCK <span class="org-builtin">export</span> SSH_AUTH_SOCK
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -477,11 +495,11 @@ Enable the keyring for applications run through the terminal
<h3 id="org10b40b3">Export some default applications</h3> <h3 id="org10b40b3">Export some default applications</h3>
<div class="outline-text-3" id="text-org10b40b3"> <div class="outline-text-3" id="text-org10b40b3">
<div class="org-src-container"> <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> <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">EDITOR</span>=<span class="org-string">"nvim"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">TERMINAL</span>=<span class="org-string">"termite"</span> <span class="org-builtin">export</span> <span class="org-variable-name">TERMINAL</span>=<span class="org-string">"termite"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">BROWSER</span>=<span class="org-string">"qutebrowser"</span> <span class="org-builtin">export</span> <span class="org-variable-name">BROWSER</span>=<span class="org-string">"qutebrowser"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">READER</span>=<span class="org-string">"zathura"</span> <span class="org-builtin">export</span> <span class="org-variable-name">READER</span>=<span class="org-string">"zathura"</span>
<span class="org-builtin">export</span> <span class="org-variable-name">FILE</span>=<span class="org-string">"ranger"</span> <span class="org-builtin">export</span> <span class="org-variable-name">FILE</span>=<span class="org-string">"ranger"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -498,7 +516,7 @@ Enable the keyring for applications run through the terminal
This is important for termite to work when sshing in remote machines. This is important for termite to work when sshing in remote machines.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">TERM</span>=xterm-color <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">TERM</span>=xterm-color
</pre> </pre>
</div> </div>
</div> </div>
@ -508,7 +526,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org0fa2d26">XDG Default</h4> <h4 id="org0fa2d26">XDG Default</h4>
<div class="outline-text-4" id="text-org0fa2d26"> <div class="outline-text-4" id="text-org0fa2d26">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">XDG_CONFIG_HOME</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.config"</span> <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">XDG_CONFIG_HOME</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.config"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -518,8 +536,8 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org51055fb">Use Ripgrep for FZF</h4> <h4 id="org51055fb">Use Ripgrep for FZF</h4>
<div class="outline-text-4" id="text-org51055fb"> <div class="outline-text-4" id="text-org51055fb">
<div class="org-src-container"> <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> <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> <span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_OPTS</span>=<span class="org-string">'--layout=reverse --height=20'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -529,7 +547,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org08d14fc">Goland</h4> <h4 id="org08d14fc">Goland</h4>
<div class="outline-text-4" id="text-org08d14fc"> <div class="outline-text-4" id="text-org08d14fc">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">GOPATH</span>=$<span class="org-variable-name">HOME</span>/go <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">GOPATH</span>=$<span class="org-variable-name">HOME</span>/go
</pre> </pre>
</div> </div>
</div> </div>
@ -539,7 +557,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org18f49cf">Latex Path</h4> <h4 id="org18f49cf">Latex Path</h4>
<div class="outline-text-4" id="text-org18f49cf"> <div class="outline-text-4" id="text-org18f49cf">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">TEXMFHOME</span>=$<span class="org-variable-name">HOME</span>/.local/share/texmf <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">TEXMFHOME</span>=$<span class="org-variable-name">HOME</span>/.local/share/texmf
</pre> </pre>
</div> </div>
</div> </div>
@ -549,7 +567,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org992e4cf">Bitwarden Session</h4> <h4 id="org992e4cf">Bitwarden Session</h4>
<div class="outline-text-4" id="text-org992e4cf"> <div class="outline-text-4" id="text-org992e4cf">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">BW_SESSION</span>=<span class="org-string">"HH0yycfocRSuGtq/iW1e6v13PQ1sShMXbMhdb/En94S6OcIXFnJlLEyU+dySsmf2YShY4CImoB5FrxgdPsY9Qw=="</span> <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">BW_SESSION</span>=<span class="org-string">"HH0yycfocRSuGtq/iW1e6v13PQ1sShMXbMhdb/En94S6OcIXFnJlLEyU+dySsmf2YShY4CImoB5FrxgdPsY9Qw=="</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -559,7 +577,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org6bdbd18">Python Path</h4> <h4 id="org6bdbd18">Python Path</h4>
<div class="outline-text-4" id="text-org6bdbd18"> <div class="outline-text-4" id="text-org6bdbd18">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">PYTHONPATH</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{PYTHONPATH}</span></span><span class="org-string">:/usr/lib/python3.9/site-packages/configobj"</span> <pre class="src src-bash"> <span class="org-builtin">export</span> <span class="org-variable-name">PYTHONPATH</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{PYTHONPATH}</span></span><span class="org-string">:/usr/lib/python3.9/site-packages/configobj"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -570,11 +588,11 @@ This is important for termite to work when sshing in remote machines.
<h3 id="org8a10d32">Path</h3> <h3 id="org8a10d32">Path</h3>
<div class="outline-text-3" id="text-org8a10d32"> <div class="outline-text-3" id="text-org8a10d32">
<div class="org-src-container"> <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> <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">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>=$<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>=~/.emacs.d/bin:$<span class="org-variable-name">PATH</span> <span class="org-variable-name">PATH</span>=~/.config/emacs/bin:$<span class="org-variable-name">PATH</span>
<span class="org-builtin">export</span> PATH <span class="org-builtin">export</span> PATH
</pre> </pre>
</div> </div>
</div> </div>
@ -584,9 +602,9 @@ This is important for termite to work when sshing in remote machines.
<h3 id="orgda5e48a">Automatically run <code>startx</code></h3> <h3 id="orgda5e48a">Automatically run <code>startx</code></h3>
<div class="outline-text-3" id="text-orgda5e48a"> <div class="outline-text-3" id="text-orgda5e48a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{DISPLAY}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{XDG_VTNR}</span></span><span class="org-string">"</span> -eq <span class="org-highlight-numbers-number">1</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span> <pre class="src src-bash"> <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{DISPLAY}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{XDG_VTNR}</span></span><span class="org-string">"</span> -eq <span class="org-highlight-numbers-number">1</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-keyword">exec</span> startx <span class="org-keyword">exec</span> startx
<span class="org-keyword">fi</span> <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -600,11 +618,11 @@ This is important for termite to work when sshing in remote machines.
Completion: Completion:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Single tab for autocompletion</span> <pre class="src src-conf"> <span class="org-comment-delimiter"># </span><span class="org-comment">Single tab for autocompletion</span>
set show-all-if-ambiguous on set show-all-if-ambiguous on
<span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span>
set completion-ignore-case on set completion-ignore-case on
</pre> </pre>
</div> </div>
@ -612,15 +630,15 @@ set completion-ignore-case on
vi mode: vi mode:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">VI mode (works in bash and zsh)</span> <pre class="src src-conf"> <span class="org-comment-delimiter"># </span><span class="org-comment">VI mode (works in bash and zsh)</span>
set editing-mode vi set editing-mode vi
<span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span>
set show-mode-in-prompt on set show-mode-in-prompt on
<span class="org-comment-delimiter"># </span><span class="org-comment">Show the mode by changing the cursor</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Show the mode by changing the cursor</span>
set vi-ins-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">6</span> q\<span class="org-highlight-numbers-number">2</span> set vi-ins-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">6</span> q\<span class="org-highlight-numbers-number">2</span>
set vi-cmd-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">2</span> q\<span class="org-highlight-numbers-number">2</span> set vi-cmd-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">2</span> q\<span class="org-highlight-numbers-number">2</span>
</pre> </pre>
</div> </div>
@ -628,19 +646,19 @@ set vi-cmd-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<s
Key-bindings for vi-mode: Key-bindings for vi-mode:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">set keymap vi-command <pre class="src src-conf"> set keymap vi-command
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-command mode</span> <span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-command mode</span>
Control-l: clear-screen Control-l: clear-screen
Control-a: beginning-of-line Control-a: beginning-of-line
Control-e: end-of-line Control-e: end-of-line
Control-w: <span class="org-string">"\C-aisudo \C-e"</span> Control-w: <span class="org-string">"\C-aisudo \C-e"</span>
set keymap vi-insert set keymap vi-insert
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span> <span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span>
Control-l: clear-screen Control-l: clear-screen
Control-a: beginning-of-line Control-a: beginning-of-line
Control-e: end-of-line Control-e: end-of-line
Control-w: <span class="org-string">"\C-asudo \C-e"</span> Control-w: <span class="org-string">"\C-asudo \C-e"</span>
</pre> </pre>
</div> </div>
@ -648,16 +666,16 @@ Control-w: <span class="org-string">"\C-asudo \C-e"</span>
Colorized completion Colorized completion
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color files by types</span> <pre class="src src-conf"> <span class="org-comment-delimiter"># </span><span class="org-comment">Color files by types</span>
set colored-stats On set colored-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span>
set visible-stats On set visible-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span>
set mark-symlinked-directories On set mark-symlinked-directories On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span>
set colored-completion-prefix On set colored-completion-prefix On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span>
set menu-complete-display-prefix On set menu-complete-display-prefix On
</pre> </pre>
</div> </div>
@ -665,7 +683,7 @@ set menu-complete-display-prefix On
Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed. Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">set echo-control-characters off <pre class="src src-conf"> set echo-control-characters off
</pre> </pre>
</div> </div>
</div> </div>
@ -673,7 +691,7 @@ Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-03 dim. 22:19</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-03 dim. 22:25 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files</title> <title>Configuration Files</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -37,37 +37,37 @@
<h2 id="org3f17b04">SSH</h2> <h2 id="org3f17b04">SSH</h2>
<div class="outline-text-2" id="text-org3f17b04"> <div class="outline-text-2" id="text-org3f17b04">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">AddKeysToAgent yes <pre class="src src-conf"> AddKeysToAgent yes
Host grenoble Host grenoble
hostname 82.64.103.2 hostname 82.64.103.2
Port <span class="org-highlight-numbers-number">10022</span> Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host wingaudio Host wingaudio
hostname 207.154.251.241 hostname 207.154.251.241
Port <span class="org-highlight-numbers-number">22</span> Port <span class="org-highlight-numbers-number">22</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host octoprint Host octoprint
hostname 192.168.1.56 hostname 192.168.1.56
Port <span class="org-highlight-numbers-number">22</span> Port <span class="org-highlight-numbers-number">22</span>
user pi user pi
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host hassio Host hassio
hostname 192.168.1.101 hostname 192.168.1.101
Port <span class="org-highlight-numbers-number">10022</span> Port <span class="org-highlight-numbers-number">10022</span>
user root user root
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host nas Host nas
hostname 192.168.1.50 hostname 192.168.1.50
Port <span class="org-highlight-numbers-number">10022</span> Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
</pre> </pre>
</div> </div>
</div> </div>
@ -77,28 +77,28 @@ Host nas
<h2 id="org10b81df">Font</h2> <h2 id="org10b81df">Font</h2>
<div class="outline-text-2" id="text-org10b81df"> <div class="outline-text-2" id="text-org10b81df">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">&lt;?xml version</span>=<span class="org-string">'1.0'</span>?&gt; <pre class="src src-conf"> <span class="org-variable-name">&lt;?xml version</span>=<span class="org-string">'1.0'</span>?&gt;
&lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt; &lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt;
&lt;fontconfig&gt; &lt;fontconfig&gt;
&lt;alias&gt;
&lt;family&gt;serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Libertine&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;alias&gt; &lt;alias&gt;
&lt;family&gt;sans-serif&lt;/family&gt; &lt;family&gt;serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt; &lt;prefer&gt;&lt;family&gt;Linux Libertine&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt; &lt;/alias&gt;
&lt;alias&gt; &lt;alias&gt;
&lt;family&gt;sans&lt;/family&gt; &lt;family&gt;sans-serif&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt; &lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt; &lt;/alias&gt;
&lt;alias&gt; &lt;alias&gt;
&lt;family&gt;monospace&lt;/family&gt; &lt;family&gt;sans&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;SauceCodePro Nerd Font Mono&lt;/family&gt;&lt;/prefer&gt; &lt;prefer&gt;&lt;family&gt;Linux Biolinum&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt; &lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;monospace&lt;/family&gt;
&lt;prefer&gt;&lt;family&gt;Hack Nerd Font Mono&lt;/family&gt;&lt;/prefer&gt;
&lt;/alias&gt;
&lt;/fontconfig&gt; &lt;/fontconfig&gt;
</pre> </pre>
</div> </div>
</div> </div>
@ -108,8 +108,8 @@ Host nas
<h2 id="orge8ba5b4">GnuPG</h2> <h2 id="orge8ba5b4">GnuPG</h2>
<div class="outline-text-2" id="text-orge8ba5b4"> <div class="outline-text-2" id="text-orge8ba5b4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">default-cache-ttl <span class="org-highlight-numbers-number">60480000</span> <pre class="src src-conf"> default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
max-cache-ttl <span class="org-highlight-numbers-number">60480000</span> max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -119,22 +119,22 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="org3a8118a">Redshift</h2> <h2 id="org3a8118a">Redshift</h2>
<div class="outline-text-2" id="text-org3a8118a"> <div class="outline-text-2" id="text-org3a8118a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">redshift</span>] <pre class="src src-conf"> [<span class="org-type">redshift</span>]
<span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span> <span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span>
<span class="org-variable-name">temp-night</span>=<span class="org-highlight-numbers-number">3500</span> <span class="org-variable-name">temp-night</span>=<span class="org-highlight-numbers-number">3500</span>
<span class="org-variable-name">transition</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">transition</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">;brightness-day</span>=<span class="org-highlight-numbers-number">0.7</span> <span class="org-variable-name">;brightness-day</span>=<span class="org-highlight-numbers-number">0.7</span>
<span class="org-variable-name">;brightness-night</span>=<span class="org-highlight-numbers-number">0.4</span> <span class="org-variable-name">;brightness-night</span>=<span class="org-highlight-numbers-number">0.4</span>
<span class="org-variable-name">location-provider</span>=manual <span class="org-variable-name">location-provider</span>=manual
<span class="org-variable-name">adjustment-method</span>=randr <span class="org-variable-name">adjustment-method</span>=randr
[<span class="org-type">manual</span>] [<span class="org-type">manual</span>]
<span class="org-variable-name">lat</span>=<span class="org-highlight-numbers-number">45.1</span> <span class="org-variable-name">lat</span>=<span class="org-highlight-numbers-number">45.1</span>
<span class="org-variable-name">lon</span>=<span class="org-highlight-numbers-number">5.7</span> <span class="org-variable-name">lon</span>=<span class="org-highlight-numbers-number">5.7</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -144,26 +144,26 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="org91a7258">dmenu</h2> <h2 id="org91a7258">dmenu</h2>
<div class="outline-text-2" id="text-org91a7258"> <div class="outline-text-2" id="text-org91a7258">
<div class="org-src-container"> <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> <pre class="src src-conf"> <span class="org-comment-delimiter"># </span><span class="org-comment">define the font for dmenu to be used</span>
<span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span> <span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for unselected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">background colour for unselected menu-items</span>
<span class="org-variable-name">DMENU_NB</span>=<span class="org-string">"#222D31"</span> <span class="org-variable-name">DMENU_NB</span>=<span class="org-string">"#222D31"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for unselected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for unselected menu-items</span>
<span class="org-variable-name">DMENU_NF</span>=<span class="org-string">"#F9FAF9"</span> <span class="org-variable-name">DMENU_NF</span>=<span class="org-string">"#F9FAF9"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for selected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">background colour for selected menu-items</span>
<span class="org-variable-name">DMENU_SB</span>=<span class="org-string">"#16A085"</span> <span class="org-variable-name">DMENU_SB</span>=<span class="org-string">"#16A085"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for selected menu-items</span> <span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for selected menu-items</span>
<span class="org-variable-name">DMENU_SF</span>=<span class="org-string">"#F9FAF9"</span> <span class="org-variable-name">DMENU_SF</span>=<span class="org-string">"#F9FAF9"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">command for the terminal application to be used:</span> <span class="org-comment-delimiter"># </span><span class="org-comment">command for the terminal application to be used:</span>
<span class="org-variable-name">TERMINAL_CMD</span>=<span class="org-string">"terminal -e"</span> <span class="org-variable-name">TERMINAL_CMD</span>=<span class="org-string">"terminal -e"</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">export our variables</span> <span class="org-comment-delimiter"># </span><span class="org-comment">export our variables</span>
<span class="org-variable-name">DMENU_OPTIONS</span>=<span class="org-string">"-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"</span> <span class="org-variable-name">DMENU_OPTIONS</span>=<span class="org-string">"-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -173,20 +173,20 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="orge5eb33f">Locale</h2> <h2 id="orge5eb33f">Locale</h2>
<div class="outline-text-2" id="text-orge5eb33f"> <div class="outline-text-2" id="text-orge5eb33f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">LANG</span>=en_US.UTF-8 <pre class="src src-conf"> <span class="org-variable-name">LANG</span>=en_US.UTF-8
<span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span> <span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_NUMERIC</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_NUMERIC</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_TIME</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_TIME</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_COLLATE</span>=<span class="org-string">"en_US.UTF-8"</span> <span class="org-variable-name">LC_COLLATE</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_MONETARY</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_MONETARY</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_MESSAGES</span>=<span class="org-string">"en_US.UTF-8"</span> <span class="org-variable-name">LC_MESSAGES</span>=<span class="org-string">"en_US.UTF-8"</span>
<span class="org-variable-name">LC_PAPER</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_PAPER</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_NAME</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_NAME</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_ADDRESS</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_ADDRESS</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_TELEPHONE</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_TELEPHONE</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_MEASUREMENT</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_MEASUREMENT</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_IDENTIFICATION</span>=fr_FR.UTF-8 <span class="org-variable-name">LC_IDENTIFICATION</span>=fr_FR.UTF-8
<span class="org-variable-name">LC_ALL</span>= <span class="org-variable-name">LC_ALL</span>=
</pre> </pre>
</div> </div>
</div> </div>
@ -196,9 +196,9 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</h2> <h2 id="orgd31ca2a"><code>bukurun</code> Rofi Frontend for Buku (Bookmark Manager)</h2>
<div class="outline-text-2" id="text-orgd31ca2a"> <div class="outline-text-2" id="text-orgd31ca2a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-type">_rofi ()</span> { <pre class="src src-conf"> <span class="org-type">_rofi ()</span> {
rofi -dmenu -i -no-levenshtein-sort -width <span class="org-highlight-numbers-number">1000</span> <span class="org-string">"$@"</span> rofi -dmenu -i -no-levenshtein-sort -width <span class="org-highlight-numbers-number">1000</span> <span class="org-string">"$@"</span>
} }
</pre> </pre>
</div> </div>
@ -206,8 +206,8 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
Display settings Display settings
</p> </p>
<div class="org-src-container"> <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> <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> <span class="org-variable-name">max_str_width</span>=<span class="org-highlight-numbers-number">80</span>
</pre> </pre>
</div> </div>
@ -215,11 +215,11 @@ Display settings
Keybindings Keybindings
</p> </p>
<div class="org-src-container"> <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> <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">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">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">edit</span>=<span class="org-string">"Alt+e"</span>
<span class="org-variable-name">delete</span>=<span class="org-string">"Alt+d"</span> <span class="org-variable-name">delete</span>=<span class="org-string">"Alt+d"</span>
</pre> </pre>
</div> </div>
@ -227,7 +227,7 @@ Keybindings
Colors Colors
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">help_color</span>=<span class="org-string">"#2d7ed8"</span> <pre class="src src-conf"> <span class="org-variable-name">help_color</span>=<span class="org-string">"#2d7ed8"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -235,7 +235,7 @@ Colors
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-03 dim. 22:25</p>
</div> </div>
</body> </body>
</html> </html>

2
docs/dist/style.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -3,13 +3,14 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2021-01-01 ven. 21:59 --> <!-- 2021-01-03 dim. 22:51 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Dotfiles - Manjaro Linux</title> <title>Dotfiles - Manjaro Linux</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="./dist/style.css"/> <link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script> <script type="text/javascript" src="./dist/script.js"></script>
<style> #content {margin: auto;} </style>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -18,29 +19,13 @@
<a accesskey="H" href="./index.html"> HOME </a> <a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content"> </div><div id="content">
<h1 class="title">Dotfiles - Manjaro Linux</h1> <h1 class="title">Dotfiles - Manjaro Linux</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#orgd79ce2e">Desktop Configuration</a></li>
<li><a href="#org462d26f">Editors</a></li>
<li><a href="#org18da288">Command Line</a></li>
<li><a href="#org44757cd">Multimedia</a></li>
<li><a href="#org4d5c16c">Internet Related</a></li>
<li><a href="#org573d686">PDF Reader</a></li>
<li><a href="#org868e93b">File Managers</a></li>
<li><a href="#org63ac801">Organization</a></li>
<li><a href="#orgd2e1086">Others</a></li>
</ul>
</div>
</div>
<p> <p>
The general installation process is described <a href="install.html">here</a>. The general installation procedure is described <a href="install.html">here</a>.
</p> </p>
<div id="outline-container-orgd79ce2e" class="outline-2"> <p>
<h2 id="orgd79ce2e">Desktop Configuration</h2> There are Specific configuration files for:
<div class="outline-text-2" id="text-orgd79ce2e"> </p>
<ul class="org-ul"> <ul class="org-ul">
<li><b>Windows Manager</b>: <a href="bspwm.html">BSPWM</a> and <a href="i3.html">I3</a></li> <li><b>Windows Manager</b>: <a href="bspwm.html">BSPWM</a> and <a href="i3.html">I3</a></li>
<li><b>Hotkey Manager</b>: <a href="sxhkd.html">SXHKD</a></li> <li><b>Hotkey Manager</b>: <a href="sxhkd.html">SXHKD</a></li>
@ -49,101 +34,29 @@ The general installation process is described <a href="install.html">here</a>.
<li><b>Compositor</b>: <a href="compositor.html">Picom</a></li> <li><b>Compositor</b>: <a href="compositor.html">Picom</a></li>
<li><b>Notification Manager</b>: <a href="notifications.html">Dunst</a></li> <li><b>Notification Manager</b>: <a href="notifications.html">Dunst</a></li>
<li><b>Service Manager</b>: <a href="systemd.html">Systemd</a></li> <li><b>Service Manager</b>: <a href="systemd.html">Systemd</a></li>
<li><a href="xconfig.html">X configuration</a></li> <li><b>Display Server</b>: <a href="xconfig.html">Xorg</a></li>
</ul> <li><b>Editors</b>: <a href="vim.html">Neovim</a> and <a href="./doom.html">Emacs (Doom)</a> (<a href="emacs-library-babel.html">library of babel</a>, <a href="emacs-snippets.html">snippets</a>)</li>
</div> <li><b>Shell</b>: <a href="bash.html">Bash</a></li>
</div> <li><b>Terminal Emulator</b>: <a href="termite.html">Termite</a></li>
<li><b>Terminal Multiplexer</b> <a href="tmux.html">TMUX</a></li>
<div id="outline-container-org462d26f" class="outline-2"> <li><b>Image Setup</b>: <a href="image.html">SXIV</a></li>
<h2 id="org462d26f">Editors</h2> <li><b>Music Setup</b>: <a href="music.html">NCMPCPP, Mopidy and Beets</a></li>
<div class="outline-text-2" id="text-org462d26f"> <li><b>Video Setup</b>: <a href="video.html">MPV</a></li>
<ul class="org-ul"> <li><b>Web Browser</b>: <a href="qutebrowser.html">Qutebrowser</a></li>
<li><a href="vim.html">Vim</a></li> <li><b>PDF Reader</b>: <a href="zathura.html">Zathura</a></li>
<li><a href="./doom.html">Doom Emacs</a> (<a href="emacs-library-babel.html">library of babel</a>, <a href="emacs-snippets.html">snippets</a>)</li> <li><b>GUI File Manager</b>: <a href="pcmanfm.html">Pcmanfm</a></li>
</ul> <li><b>Terminal File Manager</b>: <a href="ranger.html">Ranger</a></li>
</div> <li><b>Calendar</b>: <a href="calendar.html">Vdirsyncer and Khal</a></li>
</div> <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>
<div id="outline-container-org18da288" class="outline-2"> <li><b>RSS-Reader</b>: <a href="newsboat.html">Newsboat</a></li>
<h2 id="org18da288">Command Line</h2> <li><b>Version Control</b>: <a href="git.html">Git</a></li>
<div class="outline-text-2" id="text-org18da288"> <li><b>Scripts</b>: <a href="binaries.html">Scripts</a></li>
<ul class="org-ul"> <li><b>Desktop Applications</b>: <a href="applications.html">.desktop files</a></li>
<li><a href="bash.html">Bash</a> and <a href="zsh.html">ZSH</a></li> <li><b>Computation</b>: <a href="matlab.html">Matlab</a></li>
<li>Terminal: <a href="termite.html">Termite</a></li> <li><b>GUI Toolkit</b>: <a href="gtk.html">GTK</a></li>
<li>Terminal Multiplexer <a href="tmux.html">TMUX</a></li>
</ul>
</div>
</div>
<div id="outline-container-org44757cd" class="outline-2">
<h2 id="org44757cd">Multimedia</h2>
<div class="outline-text-2" id="text-org44757cd">
<ul class="org-ul">
<li><a href="image.html">Image</a></li>
<li><a href="music.html">Music</a></li>
<li><a href="video.html">Video</a></li>
</ul>
</div>
</div>
<div id="outline-container-org4d5c16c" class="outline-2">
<h2 id="org4d5c16c">Internet Related</h2>
<div class="outline-text-2" id="text-org4d5c16c">
<ul class="org-ul">
<li>Web Browser: <a href="qutebrowser.html">Qutebrowser</a></li>
<li>Bookmark Manager: <a href="bookmarks.html">Buku</a></li>
</ul>
</div>
</div>
<div id="outline-container-org573d686" class="outline-2">
<h2 id="org573d686">PDF Reader</h2>
<div class="outline-text-2" id="text-org573d686">
<ul class="org-ul">
<li><a href="zathura.html">Zathura</a></li>
</ul>
</div>
</div>
<div id="outline-container-org868e93b" class="outline-2">
<h2 id="org868e93b">File Managers</h2>
<div class="outline-text-2" id="text-org868e93b">
<ul class="org-ul">
<li>GUI: <a href="pcmanfm.html">Pcmanfm</a></li>
<li>Terminal based: <a href="ranger.html">Ranger</a></li>
</ul>
</div>
</div>
<div id="outline-container-org63ac801" class="outline-2">
<h2 id="org63ac801">Organization</h2>
<div class="outline-text-2" id="text-org63ac801">
<ul class="org-ul">
<li><a href="calendar.html">Calendar</a></li>
<li><a href="mail.html">Mail</a></li>
<li><a href="contacts.html">Contacts</a></li>
<li>RSS-Reader: <a href="newsboat.html">Newsboat</a></li>
</ul>
</div>
</div>
<div id="outline-container-orgd2e1086" class="outline-2">
<h2 id="orgd2e1086">Others</h2>
<div class="outline-text-2" id="text-orgd2e1086">
<ul class="org-ul">
<li><a href="applications.html">Desktop Applications</a></li>
<li><a href="matlab.html">Matlab</a></li>
<li>Some useful <a href="binaries.html">Binaries</a></li>
<li><a href="git.html">Git</a> Configuration</li>
<li><a href="gtk.html">GTK</a></li>
<li><a href="config.html">Other Config</a></li> <li><a href="config.html">Other Config</a></li>
</ul> </ul>
</div> </div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 21:59</p>
</div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-03 dim. 22:25 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Music/Sound Configuration</title> <title>Music/Sound Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -40,14 +40,14 @@
<h2 id="pavucontrol"><code>pavucontrol</code> - Volume Control</h2> <h2 id="pavucontrol"><code>pavucontrol</code> - Volume Control</h2>
<div class="outline-text-2" id="text-pavucontrol"> <div class="outline-text-2" id="text-pavucontrol">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">window</span>] <pre class="src src-conf"> [<span class="org-type">window</span>]
<span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span> <span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span>
<span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span> <span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span>
<span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -57,47 +57,47 @@
<h2 id="mopidy"><code>mopidy</code> - Music Server</h2> <h2 id="mopidy"><code>mopidy</code> - Music Server</h2>
<div class="outline-text-2" id="text-mopidy"> <div class="outline-text-2" id="text-mopidy">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">spotify</span>] <pre class="src src-conf"> [<span class="org-type">spotify</span>]
<span class="org-variable-name">username</span> = dehaeze.thomas@gmail.com <span class="org-variable-name">username</span> = dehaeze.thomas@gmail.com
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt; <span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt;
<span class="org-variable-name">client_id</span> = 9dd02534-f038-46d8-946e-bfe72498204e <span class="org-variable-name">client_id</span> = 9dd02534-f038-46d8-946e-bfe72498204e
<span class="org-variable-name">client_secret</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify/client_secret"</span>)&gt;&gt; <span class="org-variable-name">client_secret</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify/client_secret"</span>)&gt;&gt;
<span class="org-variable-name">bitrate</span> = <span class="org-highlight-numbers-number">320</span> <span class="org-variable-name">bitrate</span> = <span class="org-highlight-numbers-number">320</span>
[<span class="org-type">mpd</span>] [<span class="org-type">mpd</span>]
<span class="org-variable-name">enabled</span> = true <span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">hostname</span> = 127.0.0.1 <span class="org-variable-name">hostname</span> = 127.0.0.1
<span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span> <span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">password</span> = <span class="org-variable-name">password</span> =
<span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span> <span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span>
<span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span> <span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span>
<span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname <span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname
<span class="org-variable-name">command_blacklist</span> = listall,listallinfo <span class="org-variable-name">command_blacklist</span> = listall,listallinfo
<span class="org-variable-name">default_playlist_scheme</span> = m3u <span class="org-variable-name">default_playlist_scheme</span> = m3u
[<span class="org-type">jellyfin</span>] [<span class="org-type">jellyfin</span>]
<span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz/ <span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz/
<span class="org-variable-name">username</span> = tdehaeze <span class="org-variable-name">username</span> = tdehaeze
<span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"music.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt; <span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"music.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
<span class="org-variable-name">libraries</span> = Music <span class="org-variable-name">libraries</span> = Music
<span class="org-variable-name">albumartistsort</span> = True <span class="org-variable-name">albumartistsort</span> = True
<span class="org-variable-name">album_format</span> = {ProductionYear} - {Name} <span class="org-variable-name">album_format</span> = {ProductionYear} - {Name}
[<span class="org-type">file</span>] [<span class="org-type">file</span>]
<span class="org-variable-name">enabled</span> = true <span class="org-variable-name">enabled</span> = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music <span class="org-variable-name">media_dirs</span> = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> = <span class="org-variable-name">excluded_file_extensions</span> =
.db .db
.directory .directory
.html .html
.jpeg .jpeg
.jpg .jpg
.log .log
.nfo .nfo
.pdf .pdf
.png .png
.txt .txt
.zip .zip
</pre> </pre>
</div> </div>
</div> </div>
@ -119,7 +119,7 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
Configuration directory. Configuration directory.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp <pre class="src src-conf"> <span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp
</pre> </pre>
</div> </div>
@ -127,9 +127,9 @@ Configuration directory.
MPD Configuration. MPD Configuration.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">mpd_host</span> = localhost <pre class="src src-conf"> <span class="org-variable-name">mpd_host</span> = localhost
<span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span> <span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span>
<span class="org-variable-name">mpd_music_dir</span> = ~/Music <span class="org-variable-name">mpd_music_dir</span> = ~/Music
</pre> </pre>
</div> </div>
@ -137,7 +137,7 @@ MPD Configuration.
Notification of song change. Notification of song change.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = dunstify --replace=<span class="org-highlight-numbers-number">19845</span> <span class="org-string">"Now Playing &#9835;"</span> <span class="org-string">"$(mpc current)"</span> <pre class="src src-conf"> <span class="org-variable-name">execute_on_song_change</span> = dunstify --replace=<span class="org-highlight-numbers-number">19845</span> <span class="org-string">"Now Playing &#9835;"</span> <span class="org-string">"$(mpc current)"</span>
</pre> </pre>
</div> </div>
@ -145,11 +145,11 @@ Notification of song change.
Better user interface Better user interface
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">user_interface</span> = <span class="org-string">"alternative"</span> <pre class="src src-conf"> <span class="org-variable-name">user_interface</span> = <span class="org-string">"alternative"</span>
<span class="org-variable-name">playlist_editor_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">playlist_editor_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">search_engine_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">search_engine_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">browser_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">browser_display_mode</span> = <span class="org-string">"columns"</span>
<span class="org-variable-name">playlist_display_mode</span> = <span class="org-string">"columns"</span> <span class="org-variable-name">playlist_display_mode</span> = <span class="org-string">"columns"</span>
</pre> </pre>
</div> </div>
@ -157,13 +157,13 @@ Better user interface
Sorting by tracking number and then title Sorting by tracking number and then title
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">browser_sort_mode</span> = <span class="org-string">"format"</span> <pre class="src src-conf"> <span class="org-variable-name">browser_sort_mode</span> = <span class="org-string">"format"</span>
<span class="org-variable-name">browser_sort_format</span> = <span class="org-string">'{%n - %t}|{%t}'</span> <span class="org-variable-name">browser_sort_format</span> = <span class="org-string">'{%n - %t}|{%t}'</span>
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">ask_before_clearing_playlists</span> = <span class="org-string">"no"</span> <pre class="src src-conf"> <span class="org-variable-name">ask_before_clearing_playlists</span> = <span class="org-string">"no"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -173,42 +173,42 @@ Sorting by tracking number and then title
<h3 id="orga43b7ae">Bindings</h3> <h3 id="orga43b7ae">Bindings</h3>
<div class="outline-text-3" id="text-orga43b7ae"> <div class="outline-text-3" id="text-orga43b7ae">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">def_key <span class="org-string">"q"</span> <pre class="src src-conf"> def_key <span class="org-string">"q"</span>
run_external_command <span class="org-string">"if [ $TMUX ]; then tmux detach; fi"</span> run_external_command <span class="org-string">"sh -c 'if [ $TMUX ] ; then tmux detach; fi'"</span>
def_key <span class="org-string">"Q"</span> def_key <span class="org-string">"Q"</span>
quit quit
def_key <span class="org-string">"g"</span> def_key <span class="org-string">"g"</span>
move_home move_home
def_key <span class="org-string">"G"</span> def_key <span class="org-string">"G"</span>
move_end move_end
def_key <span class="org-string">"j"</span> def_key <span class="org-string">"j"</span>
scroll_down scroll_down
def_key <span class="org-string">"k"</span> def_key <span class="org-string">"k"</span>
scroll_up scroll_up
def_key <span class="org-string">"ctrl-u"</span> def_key <span class="org-string">"ctrl-u"</span>
page_up page_up
def_key <span class="org-string">"ctrl-d"</span> def_key <span class="org-string">"ctrl-d"</span>
page_down page_down
def_key <span class="org-string">"l"</span> def_key <span class="org-string">"l"</span>
enter_directory enter_directory
def_key <span class="org-string">"h"</span> def_key <span class="org-string">"h"</span>
jump_to_parent_directory jump_to_parent_directory
def_key <span class="org-string">"."</span> def_key <span class="org-string">"."</span>
show_lyrics show_lyrics
def_key <span class="org-string">"n"</span> def_key <span class="org-string">"n"</span>
next_found_item next_found_item
def_key <span class="org-string">"N"</span> def_key <span class="org-string">"N"</span>
previous_found_item previous_found_item
def_key <span class="org-string">"J"</span> def_key <span class="org-string">"J"</span>
move_sort_order_down move_sort_order_down
def_key <span class="org-string">"K"</span> def_key <span class="org-string">"K"</span>
move_sort_order_up move_sort_order_up
def_key <span class="org-string">"d"</span> def_key <span class="org-string">"d"</span>
delete_playlist_items delete_playlist_items
def_key <span class="org-string">"+"</span> def_key <span class="org-string">"+"</span>
volume_up volume_up
def_key <span class="org-string">"-"</span> def_key <span class="org-string">"-"</span>
volume_down volume_down
</pre> </pre>
</div> </div>
@ -224,14 +224,14 @@ def_key <span class="org-string">"-"</span>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">directory: ~/Music <pre class="src src-conf"> directory: ~/Music
library: ~/Music/musiclibrary.db library: ~/Music/musiclibrary.db
art_filename: cover art_filename: cover
import: import:
move: yes move: yes
plugins: fromfilename discogs plugins: fromfilename discogs
</pre> </pre>
</div> </div>
</div> </div>
@ -241,26 +241,26 @@ plugins: fromfilename discogs
<h2 id="curseradio"><code>curseradio</code> - Radio with curseradio</h2> <h2 id="curseradio"><code>curseradio</code> - Radio with curseradio</h2>
<div class="outline-text-2" id="text-curseradio"> <div class="outline-text-2" id="text-curseradio">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">opml</span>] <pre class="src src-conf"> [<span class="org-type">opml</span>]
<span class="org-variable-name">root</span> = http://opml.radiotime.com/ <span class="org-variable-name">root</span> = http://opml.radiotime.com/
[<span class="org-type">playback</span>] [<span class="org-type">playback</span>]
<span class="org-variable-name">command</span> = /usr/bin/mpv <span class="org-variable-name">command</span> = /usr/bin/mpv
[<span class="org-type">interface</span>] [<span class="org-type">interface</span>]
<span class="org-variable-name">keymap</span> = vi <span class="org-variable-name">keymap</span> = vi
[<span class="org-type">keymap.vi</span>] [<span class="org-type">keymap.vi</span>]
<span class="org-variable-name">up</span> = k <span class="org-variable-name">up</span> = k
<span class="org-variable-name">down</span> = j <span class="org-variable-name">down</span> = j
<span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">end</span> = $ <span class="org-variable-name">end</span> = $
<span class="org-variable-name">pageup</span> = u <span class="org-variable-name">pageup</span> = u
<span class="org-variable-name">pagedown</span> = d <span class="org-variable-name">pagedown</span> = d
<span class="org-variable-name">enter</span> = l <span class="org-variable-name">enter</span> = l
<span class="org-variable-name">stop</span> = p <span class="org-variable-name">stop</span> = p
<span class="org-variable-name">exit</span> = q <span class="org-variable-name">exit</span> = q
<span class="org-variable-name">favourite</span> = f <span class="org-variable-name">favourite</span> = f
</pre> </pre>
</div> </div>
</div> </div>
@ -268,7 +268,7 @@ plugins: fromfilename discogs
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-03 dim. 22:25</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -3,9 +3,9 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-03 dim. 22:51 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>PCMANFM</title> <title>PCManFM</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="./dist/style.css"/> <link rel="stylesheet" type="text/css" href="./dist/style.css"/>
@ -17,7 +17,7 @@
| |
<a accesskey="H" href="./index.html"> HOME </a> <a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content"> </div><div id="content">
<h1 class="title">PCMANFM</h1> <h1 class="title">PCManFM</h1>
<div id="table-of-contents"> <div id="table-of-contents">
<h2>Table of Contents</h2> <h2>Table of Contents</h2>
<div id="text-table-of-contents"> <div id="text-table-of-contents">
@ -33,8 +33,8 @@
<h2 id="org0ad1961">Config</h2> <h2 id="org0ad1961">Config</h2>
<div class="outline-text-2" id="text-org0ad1961"> <div class="outline-text-2" id="text-org0ad1961">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">config</span>] <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> <span class="org-variable-name">bm_open_method</span>=<span class="org-highlight-numbers-number">0</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -44,10 +44,10 @@
<h2 id="org9ed27d2">Volume</h2> <h2 id="org9ed27d2">Volume</h2>
<div class="outline-text-2" id="text-org9ed27d2"> <div class="outline-text-2" id="text-org9ed27d2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">volume</span>] <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> <span class="org-variable-name">mount_on_startup</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">mount_removable</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">mount_removable</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">autorun</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">autorun</span>=<span class="org-highlight-numbers-number">0</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -57,24 +57,24 @@
<h2 id="org8c3fa60">UI</h2> <h2 id="org8c3fa60">UI</h2>
<div class="outline-text-2" id="text-org8c3fa60"> <div class="outline-text-2" id="text-org8c3fa60">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">ui</span>] <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> <span class="org-variable-name">always_show_tabs</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">max_tab_chars</span>=<span class="org-highlight-numbers-number">32</span> <span class="org-variable-name">max_tab_chars</span>=<span class="org-highlight-numbers-number">32</span>
<span class="org-variable-name">win_width</span>=<span class="org-highlight-numbers-number">1263</span> <span class="org-variable-name">win_width</span>=<span class="org-highlight-numbers-number">1263</span>
<span class="org-variable-name">win_height</span>=<span class="org-highlight-numbers-number">690</span> <span class="org-variable-name">win_height</span>=<span class="org-highlight-numbers-number">690</span>
<span class="org-variable-name">splitter_pos</span>=<span class="org-highlight-numbers-number">150</span> <span class="org-variable-name">splitter_pos</span>=<span class="org-highlight-numbers-number">150</span>
<span class="org-variable-name">media_in_new_tab</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">media_in_new_tab</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">desktop_folder_new_win</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">desktop_folder_new_win</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">change_tab_on_drop</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">change_tab_on_drop</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">close_on_unmount</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">close_on_unmount</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">focus_previous</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">focus_previous</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">side_pane_mode</span>=places <span class="org-variable-name">side_pane_mode</span>=places
<span class="org-variable-name">view_mode</span>=icon <span class="org-variable-name">view_mode</span>=icon
<span class="org-variable-name">show_hidden</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">show_hidden</span>=<span class="org-highlight-numbers-number">0</span>
<span class="org-variable-name">sort</span>=mtime;descending; <span class="org-variable-name">sort</span>=mtime;descending;
<span class="org-variable-name">toolbar</span>=newtab;navigation;home; <span class="org-variable-name">toolbar</span>=newtab;navigation;home;
<span class="org-variable-name">show_statusbar</span>=<span class="org-highlight-numbers-number">1</span> <span class="org-variable-name">show_statusbar</span>=<span class="org-highlight-numbers-number">1</span>
<span class="org-variable-name">pathbar_mode_buttons</span>=<span class="org-highlight-numbers-number">0</span> <span class="org-variable-name">pathbar_mode_buttons</span>=<span class="org-highlight-numbers-number">0</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -82,7 +82,7 @@
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-03 dim. 22:51</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-03 dim. 22:25 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Rofi Configuration</title> <title>Rofi Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -32,52 +32,52 @@
<h2 id="orgcda15fb">Rofi</h2> <h2 id="orgcda15fb">Rofi</h2>
<div class="outline-text-2" id="text-orgcda15fb"> <div class="outline-text-2" id="text-orgcda15fb">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-type">configuration</span> { <pre class="src src-conf"> <span class="org-type">configuration</span> {
modi: <span class="org-string">"window,run,ssh"</span>; modi: <span class="org-string">"window,run,ssh"</span>;
width: <span class="org-highlight-numbers-number">50</span>; width: <span class="org-highlight-numbers-number">50</span>;
lines: <span class="org-highlight-numbers-number">15</span>; lines: <span class="org-highlight-numbers-number">15</span>;
columns: <span class="org-highlight-numbers-number">1</span>; columns: <span class="org-highlight-numbers-number">1</span>;
font: <span class="org-string">"Hack Nerd Font 12"</span>; font: <span class="org-string">"Hack Nerd Font 12"</span>;
fixed-num-lines: true; fixed-num-lines: true;
show-icons: false; show-icons: false;
terminal: <span class="org-string">"rofi-sensible-terminal"</span>; terminal: <span class="org-string">"rofi-sensible-terminal"</span>;
sort: false; sort: false;
case-sensitive: false; case-sensitive: false;
cycle: true; cycle: true;
sidebar-mode: false; sidebar-mode: false;
auto-select: false; auto-select: false;
combi-modi: <span class="org-string">"window,run"</span>; combi-modi: <span class="org-string">"window,run"</span>;
matching: <span class="org-string">"normal"</span>; matching: <span class="org-string">"normal"</span>;
line-margin: <span class="org-highlight-numbers-number">2</span>; line-margin: <span class="org-highlight-numbers-number">2</span>;
line-padding: <span class="org-highlight-numbers-number">1</span>; line-padding: <span class="org-highlight-numbers-number">1</span>;
separator-style: <span class="org-string">"dash"</span>; separator-style: <span class="org-string">"dash"</span>;
hide-scrollbar: true; hide-scrollbar: true;
fullscreen: false; fullscreen: false;
dpi: -1; dpi: -1;
show-match: true; show-match: true;
theme: <span class="org-string">"gruvbox-dark-soft"</span>; theme: <span class="org-string">"gruvbox-dark-soft"</span>;
kb-move-front: <span class="org-string">"Control+a"</span>; kb-move-front: <span class="org-string">"Control+a"</span>;
kb-move-end: <span class="org-string">"Control+e"</span>; kb-move-end: <span class="org-string">"Control+e"</span>;
kb-move-word-back: <span class="org-string">"Alt+b,Control+Left"</span>; kb-move-word-back: <span class="org-string">"Alt+b,Control+Left"</span>;
kb-move-word-forward: <span class="org-string">"Alt+f,Control+Right"</span>; kb-move-word-forward: <span class="org-string">"Alt+f,Control+Right"</span>;
kb-move-char-back: <span class="org-string">"Left,Control+b"</span>; kb-move-char-back: <span class="org-string">"Left,Control+b"</span>;
kb-move-char-forward: <span class="org-string">"Right,Control+f"</span>; kb-move-char-forward: <span class="org-string">"Right,Control+f"</span>;
kb-remove-char-forward: <span class="org-string">"Delete,Control+d"</span>; kb-remove-char-forward: <span class="org-string">"Delete,Control+d"</span>;
kb-remove-char-back: <span class="org-string">"BackSpace,Shift+BackSpace"</span>; kb-remove-char-back: <span class="org-string">"BackSpace,Shift+BackSpace"</span>;
kb-remove-to-eol: <span class="org-string">"Control+k"</span>; kb-remove-to-eol: <span class="org-string">"Control+k"</span>;
kb-remove-to-sol: <span class="org-string">"Control+u"</span>; kb-remove-to-sol: <span class="org-string">"Control+u"</span>;
kb-accept-entry: <span class="org-string">"Control+j,Return,KP_Enter"</span>; kb-accept-entry: <span class="org-string">"Control+j,Return,KP_Enter"</span>;
kb-accept-custom: <span class="org-string">"Control+Return"</span>; kb-accept-custom: <span class="org-string">"Control+Return"</span>;
kb-accept-alt: <span class="org-string">"Shift+Return"</span>; kb-accept-alt: <span class="org-string">"Shift+Return"</span>;
kb-delete-entry: <span class="org-string">"Shift+Delete"</span>; kb-delete-entry: <span class="org-string">"Shift+Delete"</span>;
kb-row-up: <span class="org-string">"Up,Control+p"</span>; kb-row-up: <span class="org-string">"Up,Control+p"</span>;
kb-row-down: <span class="org-string">"Down,Control+n"</span>; kb-row-down: <span class="org-string">"Down,Control+n"</span>;
kb-row-tab: <span class="org-string">"Tab"</span>; kb-row-tab: <span class="org-string">"Tab"</span>;
kb-row-first: <span class="org-string">"Home,KP_Home"</span>; kb-row-first: <span class="org-string">"Home,KP_Home"</span>;
kb-row-last: <span class="org-string">"End,KP_End"</span>; kb-row-last: <span class="org-string">"End,KP_End"</span>;
kb-row-select: <span class="org-string">"Control+space"</span>; kb-row-select: <span class="org-string">"Control+space"</span>;
kb-cancel: <span class="org-string">"Escape,Control+g"</span>; kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
} }
</pre> </pre>
</div> </div>
</div> </div>
@ -87,65 +87,64 @@ kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
<h2 id="orged85414">Theme</h2> <h2 id="orged85414">Theme</h2>
<div class="outline-text-2" id="text-orged85414"> <div class="outline-text-2" id="text-orged85414">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-type">configuration</span> { <pre class="src src-conf"> <span class="org-type">configuration</span> {
me-select-entry: <span class="org-string">"MouseSecondary"</span>; me-select-entry: <span class="org-string">"MouseSecondary"</span>;
me-accept-entry: <span class="org-string">"MousePrimary"</span>; me-accept-entry: <span class="org-string">"MousePrimary"</span>;
scroll-method: <span class="org-highlight-numbers-number">1</span>; scroll-method: <span class="org-highlight-numbers-number">1</span>;
show-icons: true; show-icons: true;
sidebar-mode: true; sidebar-mode: true;
kb-custom-1: <span class="org-string">""</span>; kb-custom-1: <span class="org-string">""</span>;
kb-custom-2: <span class="org-string">""</span>; kb-custom-2: <span class="org-string">""</span>;
kb-custom-3: <span class="org-string">""</span>; kb-custom-3: <span class="org-string">""</span>;
kb-custom-4: <span class="org-string">""</span>; kb-custom-4: <span class="org-string">""</span>;
kb-custom-5: <span class="org-string">""</span>; kb-custom-5: <span class="org-string">""</span>;
kb-custom-6: <span class="org-string">""</span>; kb-custom-6: <span class="org-string">""</span>;
kb-custom-7: <span class="org-string">""</span>; kb-custom-7: <span class="org-string">""</span>;
kb-custom-8: <span class="org-string">""</span>; kb-custom-8: <span class="org-string">""</span>;
kb-custom-9: <span class="org-string">""</span>; kb-custom-9: <span class="org-string">""</span>;
kb-custom-10: <span class="org-string">""</span>; kb-custom-10: <span class="org-string">""</span>;
kb-select-1: <span class="org-string">"Alt+1"</span>; kb-select-1: <span class="org-string">"Alt+1"</span>;
kb-select-2: <span class="org-string">"Alt+2"</span>; kb-select-2: <span class="org-string">"Alt+2"</span>;
kb-select-3: <span class="org-string">"Alt+3"</span>; kb-select-3: <span class="org-string">"Alt+3"</span>;
kb-select-4: <span class="org-string">"Alt+4"</span>; kb-select-4: <span class="org-string">"Alt+4"</span>;
kb-select-5: <span class="org-string">"Alt+5"</span>; kb-select-5: <span class="org-string">"Alt+5"</span>;
kb-select-6: <span class="org-string">"Alt+6"</span>; kb-select-6: <span class="org-string">"Alt+6"</span>;
kb-select-7: <span class="org-string">"Alt+7"</span>; kb-select-7: <span class="org-string">"Alt+7"</span>;
kb-select-8: <span class="org-string">"Alt+8"</span>; kb-select-8: <span class="org-string">"Alt+8"</span>;
kb-select-9: <span class="org-string">"Alt+9"</span>; kb-select-9: <span class="org-string">"Alt+9"</span>;
kb-select-10: <span class="org-string">"Alt+0"</span>; kb-select-10: <span class="org-string">"Alt+0"</span>;
} }
<span class="org-type">*</span> { <span class="org-type">*</span> {
//// COLORS //// //// COLORS ////
//// uncomment to match bspwm edition theme //// uncomment to match bspwm edition theme
background: <span class="org-comment-delimiter">#</span><span class="org-comment">292f34FF;</span> background: <span class="org-comment-delimiter">#</span><span class="org-comment">292f34FF;</span>
background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">292f3400;</span> background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">292f3400;</span>
foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">F6F9FFFF;</span> foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">F6F9FFFF;</span>
selected: <span class="org-comment-delimiter">#</span><span class="org-comment">1ABB9BFF;</span> selected: <span class="org-comment-delimiter">#</span><span class="org-comment">1ABB9BFF;</span>
selected-foreground: @foreground; selected-foreground: @foreground;
//// uncomment to match Adapta Nokto theme //// uncomment to match Adapta Nokto theme
// background: <span class="org-comment-delimiter">#</span><span class="org-comment">222D32E8;</span> // background: <span class="org-comment-delimiter">#</span><span class="org-comment">222D32E8;</span>
// background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">00000000;</span> // background-color: <span class="org-comment-delimiter">#</span><span class="org-comment">00000000;</span>
// foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">CFD8DCFF;</span> // foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">CFD8DCFF;</span>
// selected: <span class="org-comment-delimiter">#</span><span class="org-comment">00BCD4FF;</span> // selected: <span class="org-comment-delimiter">#</span><span class="org-comment">00BCD4FF;</span>
// selected-foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">FFFFFFFF;</span> // selected-foreground: <span class="org-comment-delimiter">#</span><span class="org-comment">FFFFFFFF;</span>
//// common - active and urgent //// common - active and urgent
active-background: <span class="org-comment-delimiter">#</span><span class="org-comment">3A464BFF;</span> active-background: <span class="org-comment-delimiter">#</span><span class="org-comment">3A464BFF;</span>
urgent-background: <span class="org-comment-delimiter">#</span><span class="org-comment">800000FF;</span> urgent-background: <span class="org-comment-delimiter">#</span><span class="org-comment">800000FF;</span>
urgent-foreground: @foreground; urgent-foreground: @foreground;
selected-urgent-background: @urgent-foreground; selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background; selected-urgent-foreground: @urgent-background;
//// TEXT //// //// TEXT ////
font: <span class="org-string">"xos4 Terminus 18px"</span>; font: <span class="org-string">"xos4 Terminus 18px"</span>;
// font: <span class="org-string">"Knack Nerd Font 16px"</span>; text-color: @foreground;
text-color: @foreground;
//// PADDING ETC //// //// PADDING ETC ////
margin: 0px; margin: 0px;
border: 0px; border: 0px;
@ -155,118 +154,118 @@ kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
elementmargin: 0px 2px; elementmargin: 0px 2px;
listmargin: 0px 2px 0px 0px; listmargin: 0px 2px 0px 0px;
//// SIZE //// //// SIZE ////
windowwidth: 40ch; windowwidth: 40ch;
buttonwidth: 18ch; buttonwidth: 18ch;
lines: <span class="org-highlight-numbers-number">12</span>; lines: <span class="org-highlight-numbers-number">12</span>;
fixed-height: false; fixed-height: false;
//// POSITION //// //// POSITION ////
location: northwest; location: northwest;
anchor: northwest; anchor: northwest;
x-offset: 0px; x-offset: 0px;
y-offset: 24px; y-offset: 24px;
//// LAYOUT //// //// LAYOUT ////
scrollbar: true; scrollbar: true;
//// uncomment to get submenu-like style //// uncomment to get submenu-like style
menustyle: [ sb-mainbox ]; menustyle: [ sb-mainbox ];
buttonpadding: 2px 1ch; buttonpadding: 2px 1ch;
button-bg: @background; button-bg: @background;
dynamic: true; dynamic: true;
//// uncomment to get tabs-like style //// uncomment to get tabs-like style
// menustyle: [ tb-mainbox ]; // menustyle: [ tb-mainbox ];
// buttonpadding: 14px 1ch; // buttonpadding: 14px 1ch;
// dynamic: false; // dynamic: false;
} }
////////////////////////////////////////// //////////////////////////////////////////
<span class="org-type">window</span> { <span class="org-type">window</span> {
width: @windowwidth; width: @windowwidth;
children: @menustyle; children: @menustyle;
} }
//submenu-style //submenu-style
<span class="org-type">sb-mainbox</span> { <span class="org-type">sb-mainbox</span> {
orientation: horizontal; orientation: horizontal;
children: [ sidebar, vertibox ]; children: [ sidebar, vertibox ];
} }
//tabs-style //tabs-style
<span class="org-type">tb-mainbox</span> { <span class="org-type">tb-mainbox</span> {
orientation: vertical; orientation: vertical;
children: [ inputbar, horibox ]; children: [ inputbar, horibox ];
background-color: @background; background-color: @background;
} }
//desktop-submenu //desktop-submenu
<span class="org-type">dt-mainbox</span> { <span class="org-type">dt-mainbox</span> {
orientation: vertical; orientation: vertical;
children: [ boxdummy, sb-mainbox ]; children: [ boxdummy, sb-mainbox ];
} }
<span class="org-type">horibox</span> { <span class="org-type">horibox</span> {
orientation: horizontal; orientation: horizontal;
children: [ listview, sidebar ]; children: [ listview, sidebar ];
} }
<span class="org-type">sidebar</span> { <span class="org-type">sidebar</span> {
orientation: vertical; orientation: vertical;
} }
<span class="org-type">button</span> { <span class="org-type">button</span> {
horizontal-align: <span class="org-highlight-numbers-number">0</span>; horizontal-align: <span class="org-highlight-numbers-number">0</span>;
padding: @buttonpadding; padding: @buttonpadding;
width: @buttonwidth; width: @buttonwidth;
background-color: @button-bg; background-color: @button-bg;
expand: false; expand: false;
} }
<span class="org-type">vertibox</span> { <span class="org-type">vertibox</span> {
orientation: vertical; orientation: vertical;
children: [ inputbar, listview ]; children: [ inputbar, listview ];
background-color: @background; background-color: @background;
} }
<span class="org-type">prompt</span> { <span class="org-type">prompt</span> {
enabled: false; enabled: false;
} }
<span class="org-type">listview</span> { <span class="org-type">listview</span> {
margin: @listmargin; margin: @listmargin;
} }
<span class="org-type">scrollbar</span> { <span class="org-type">scrollbar</span> {
handle-width: 0.5ch; handle-width: 0.5ch;
handle-color: @selected; handle-color: @selected;
} }
<span class="org-type">boxdummy</span> { <span class="org-type">boxdummy</span> {
enabled: false; enabled: false;
orientation: vertical; orientation: vertical;
expand: false; expand: false;
children: [ textboxdummy ]; children: [ textboxdummy ];
} }
<span class="org-type">textboxdummy</span> { <span class="org-type">textboxdummy</span> {
str: <span class="org-string">" "</span>; str: <span class="org-string">" "</span>;
} }
<span class="org-type">element, inputbar, textboxdummy</span> { <span class="org-type">element, inputbar, textboxdummy</span> {
padding: @elementpadding; padding: @elementpadding;
margin: @elementmargin; margin: @elementmargin;
width: @elementwidth; width: @elementwidth;
} }
element.normal.active, element.normal.active,
<span class="org-type">element.alternate.active</span> { <span class="org-type">element.alternate.active</span> {
background-color: @active-background; background-color: @active-background;
text-color: @selected-foreground; text-color: @selected-foreground;
} }
element.selected, element.selected,
<span class="org-type">button.selected</span> { <span class="org-type">button.selected</span> {
background-color: @selected; background-color: @selected;
text-color: @selected-foreground; text-color: @selected-foreground;
} }
element.normal.urgent, element.normal.urgent,
<span class="org-type">element.alternate.urgent</span> { <span class="org-type">element.alternate.urgent</span> {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @urgent-foreground; text-color: @urgent-foreground;
} }
<span class="org-type">element.selected.urgent</span> { <span class="org-type">element.selected.urgent</span> {
background-color: @selected-urgent-background; background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground; text-color: @selected-urgent-foreground;
} }
</pre> </pre>
</div> </div>
</div> </div>
@ -274,7 +273,7 @@ element.normal.urgent,
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-03 dim. 22:25</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2021-01-01 ven. 20:09 --> <!-- 2021-01-03 dim. 22:25 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Windows Config and Install</title> <title>Windows Config and Install</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -26,6 +26,12 @@
<li><a href="#org0143940">Install Windows10 PRO</a></li> <li><a href="#org0143940">Install Windows10 PRO</a></li>
<li><a href="#org0cc05f7">Install Software using Chocolatey</a></li> <li><a href="#org0cc05f7">Install Software using Chocolatey</a></li>
<li><a href="#org0a94edb">Debloat windows10</a></li> <li><a href="#org0a94edb">Debloat windows10</a></li>
<li><a href="#orgb2e9259">SSHFS</a>
<ul>
<li><a href="#org46e6091">SSH Setup</a></li>
<li><a href="#org07e3d19">SSHFS</a></li>
</ul>
</li>
<li><a href="#orgb8446e0">Software Setup</a> <li><a href="#orgb8446e0">Software Setup</a>
<ul> <ul>
<li><a href="#orge44d00a">Syncthing</a></li> <li><a href="#orge44d00a">Syncthing</a></li>
@ -44,12 +50,12 @@
<li>Create bootable USB key using the woeusb utility (<a href="https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/">https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/</a>)</li> <li>Create bootable USB key using the woeusb utility (<a href="https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/">https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/</a>)</li>
</ul> </ul>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">yay -S woeusb <pre class="src src-bash"> yay -S woeusb
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> woeusb --device file.iso /dev/sdb --target-filesystem ntfs <pre class="src src-bash"> <span class="org-type">sudo</span> woeusb --device file.iso /dev/sdb --target-filesystem ntfs
</pre> </pre>
</div> </div>
</div> </div>
@ -66,7 +72,7 @@
First install Chocolatey using a PowerShell as administrator: First install Chocolatey using a PowerShell as administrator:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">Set-ExecutionPolicy Bypass -Scope Process -Force; <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol = <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol -bor <span class="org-highlight-numbers-number">3072</span>; iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://chocolatey.org/install.ps1'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span> <pre class="src src-bash"> Set-ExecutionPolicy Bypass -Scope Process -Force; <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol = <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol -bor <span class="org-highlight-numbers-number">3072</span>; iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://chocolatey.org/install.ps1'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
</pre> </pre>
</div> </div>
@ -74,7 +80,7 @@ First install Chocolatey using a PowerShell as administrator:
Then, install all required software using one command: Then, install all required software using one command:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">choco install firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder syncthing cura ccleaner <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> </pre>
</div> </div>
</div> </div>
@ -91,12 +97,102 @@ Then, install all required software using one command:
Run a PowerShell with administrative rights and run: Run a PowerShell with administrative rights and run:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-function-name">iex</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://git.io/debloat'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span> <pre class="src src-bash"> iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://git.io/debloat'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb2e9259" class="outline-2">
<h2 id="orgb2e9259">SSHFS</h2>
<div class="outline-text-2" id="text-orgb2e9259">
</div>
<div id="outline-container-org46e6091" class="outline-3">
<h3 id="org46e6091">SSH Setup</h3>
<div class="outline-text-3" id="text-org46e6091">
<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>
<div class="org-src-container">
<pre class="src src-bash"> choco install openssh --package-parameters=<span class="org-string">"/SSHAgentFeature"</span>
</pre>
</div>
<p>
Then generate the keys:
</p>
<div class="org-src-container">
<pre class="src src-bash"> ssh-keygen
</pre>
</div>
<p>
Start the SSH-Agent to automatically unlock the keys:
</p>
<div class="org-src-container">
<pre class="src src-bash"> <span class="org-comment-delimiter"># </span><span class="org-comment">Start the service</span>
Start-Service ssh-agent
<span class="org-comment-delimiter"># </span><span class="org-comment">This should return a status of Running</span>
Get-Service ssh-agent
<span class="org-comment-delimiter"># </span><span class="org-comment">Now load your key files into ssh-agent</span>
ssh-add
</pre>
</div>
<p>
Copy the public key with:
</p>
<div class="org-src-container">
<pre class="src src-bash"> Get-Content -Path $<span class="org-variable-name">HOME</span><span class="org-string">\.</span>ssh\id_rsa.pub | Set-Clipboard
</pre>
</div>
<p>
And add it to <code>~/.ssh/authorized_keys</code> on the server side.
</p>
<p>
Finally, it should be possible to ssh to the server.
</p>
</div>
</div>
<div id="outline-container-org07e3d19" class="outline-3">
<h3 id="org07e3d19">SSHFS</h3>
<div class="outline-text-3" id="text-org07e3d19">
<p>
Install <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a>.
</p>
<p>
Run the <code>Registry Editor</code>, and find <code>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WinFsp\Services\sshfs.kr</code>, then edit <code>CommandLine</code>:
</p>
<div class="org-src-container">
<pre class="src src-conf"> <span class="org-variable-name">svc %1 %2 %U -o create_dir_umask</span>=<span class="org-highlight-numbers-number">000</span> -o create_file_umask=<span class="org-highlight-numbers-number">111</span> -o umask=<span class="org-highlight-numbers-number">000</span>
</pre>
</div>
<p>
Then, to mount the network drive using <code>sshfs</code>:
</p>
<div class="org-src-container">
<pre class="src src-bash"> net use X: <span class="org-string">\\</span>sshfs.kr\thomas@192.168.1.150\srv\storage /persistent:yes
</pre>
</div>
<p>
To un-mount it:
</p>
<div class="org-src-container">
<pre class="src src-bash"> net use X: /delete
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgb8446e0" class="outline-2"> <div id="outline-container-orgb8446e0" class="outline-2">
<h2 id="orgb8446e0">Software Setup</h2> <h2 id="orgb8446e0">Software Setup</h2>
<div class="outline-text-2" id="text-orgb8446e0"> <div class="outline-text-2" id="text-orgb8446e0">
@ -130,7 +226,7 @@ Then, Syncthing can be accessed with: <a href="http://localhost:8384/">http://lo
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p> <p class="date">Created: 2021-01-03 dim. 22:25</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,5 +1,15 @@
#+TITLE: Doom Emacs Configuration #+TITLE: Doom Emacs Configuration
#+SETUPFILE: ./setup/org-setup-file.org #+STARTUP: overview
#+LANGUAGE: en
#+EMAIL: dehaeze.thomas@gmail.com
#+AUTHOR: Dehaeze Thomas
#+HTML_LINK_HOME: ./index.html
#+HTML_LINK_UP: ./index.html
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./dist/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="./dist/script.js"></script>
#+PROPERTY: header-args :tangle ~/.config/doom/config.el :results none :padline no #+PROPERTY: header-args :tangle ~/.config/doom/config.el :results none :padline no
* Introduction and Resources :ignore: * Introduction and Resources :ignore:
@ -2586,16 +2596,16 @@ Create Org-Roam file from heading ([[https://ag91.github.io/blog/2020/11/12/writ
:init :init
:config :config
;; Bibliography file ;; Bibliography file
(setq bibtex-completion-bibliography "~/Cloud/brain/biblio/references.bib") (setq bibtex-completion-bibliography '("~/Cloud/brain/biblio/references.bib"
"~/Cloud/acoustic/resources/acoustics.bib"))
;; Directory with all the pdfs ;; Directory with all the pdfs
(setq bibtex-completion-library-path "~/Cloud/pdfs/") (setq bibtex-completion-library-path '("~/Cloud/pdfs/"
"~/Cloud/acoustic/resources/pdfs/"))
;; Directory with notes files ;; Directory with notes files
(setq bibtex-completion-notes-path "~/Cloud/brain/") (setq bibtex-completion-notes-path "~/Cloud/brain/")
(setq bibtex-completion-notes-extension ".org") (setq bibtex-completion-notes-extension ".org")
(setq bibtex-completion-pdf-extension '(".pdf" ".djvu")) (setq bibtex-completion-pdf-extension '(".pdf" ".djvu"))
(setq bibtex-completion-additional-search-fields '(keywords)) (setq bibtex-completion-additional-search-fields '(keywords))

View File

@ -1,9 +1,12 @@
#+TITLE: Dotfiles - Manjaro Linux #+TITLE: Dotfiles - Manjaro Linux
#+OPTIONS: toc:nil
#+OPTIONS: html-postamble:nil
#+SETUPFILE: ./setup/org-setup-file.org #+SETUPFILE: ./setup/org-setup-file.org
#+HTML_HEAD: <style> #content {margin: auto;} </style>
The general installation process is described [[file:install.org][here]]. The general installation procedure is described [[file:install.org][here]].
* Desktop Configuration There are Specific configuration files for:
- *Windows Manager*: [[file:bspwm.org][BSPWM]] and [[file:i3.org][I3]] - *Windows Manager*: [[file:bspwm.org][BSPWM]] and [[file:i3.org][I3]]
- *Hotkey Manager*: [[file:sxhkd.org][SXHKD]] - *Hotkey Manager*: [[file:sxhkd.org][SXHKD]]
- *Status Bar*: [[file:polybar.org][Polybar]] - *Status Bar*: [[file:polybar.org][Polybar]]
@ -11,44 +14,26 @@ The general installation process is described [[file:install.org][here]].
- *Compositor*: [[file:compositor.org][Picom]] - *Compositor*: [[file:compositor.org][Picom]]
- *Notification Manager*: [[file:notifications.org][Dunst]] - *Notification Manager*: [[file:notifications.org][Dunst]]
- *Service Manager*: [[file:systemd.org][Systemd]] - *Service Manager*: [[file:systemd.org][Systemd]]
- [[file:xconfig.org][X configuration]] - *Display Server*: [[file:xconfig.org][Xorg]]
- *Editors*: [[file:vim.org][Neovim]] and [[./doom.org][Emacs (Doom)]] ([[file:emacs-library-babel.org][library of babel]], [[file:emacs-snippets.org][snippets]])
* Editors - *Shell*: [[file:bash.org][Bash]]
- [[file:vim.org][Vim]] - *Terminal Emulator*: [[file:termite.org][Termite]]
- [[./doom.org][Doom Emacs]] ([[file:emacs-library-babel.org][library of babel]], [[file:emacs-snippets.org][snippets]]) - *Terminal Multiplexer* [[file:tmux.org][TMUX]]
- *Image Setup*: [[file:image.org][SXIV]]
* Command Line - *Music Setup*: [[file:music.org][NCMPCPP, Mopidy and Beets]]
- [[file:bash.org][Bash]] and [[file:zsh.org][ZSH]] - *Video Setup*: [[file:video.org][MPV]]
- Terminal: [[file:termite.org][Termite]] - *Web Browser*: [[file:qutebrowser.org][Qutebrowser]]
- Terminal Multiplexer [[file:tmux.org][TMUX]] - *PDF Reader*: [[file:zathura.org][Zathura]]
- *GUI File Manager*: [[file:pcmanfm.org][Pcmanfm]]
* Multimedia - *Terminal File Manager*: [[file:ranger.org][Ranger]]
- [[file:image.org][Image]] - *Calendar*: [[file:calendar.org][Vdirsyncer and Khal]]
- [[file:music.org][Music]] - *Mails*: [[file:mail.org][Mbsync, Msmtp, Mu and Neomutt]]
- [[file:video.org][Video]] - *Contacts*: [[file:contacts.org][Khard]]
- *RSS-Reader*: [[file:newsboat.org][Newsboat]]
* Internet Related - *Version Control*: [[file:git.org][Git]]
- Web Browser: [[file:qutebrowser.org][Qutebrowser]] - *Scripts*: [[file:binaries.org][Scripts]]
- Bookmark Manager: [[file:bookmarks.org][Buku]] - *Desktop Applications*: [[file:applications.org][.desktop files]]
- *Computation*: [[file:matlab.org][Matlab]]
* PDF Reader - *GUI Toolkit*: [[file:gtk.org][GTK]]
- [[file:zathura.org][Zathura]]
* File Managers
- GUI: [[file:pcmanfm.org][Pcmanfm]]
- Terminal based: [[file:ranger.org][Ranger]]
* Organization
- [[file:calendar.org][Calendar]]
- [[file:mail.org][Mail]]
- [[file:contacts.org][Contacts]]
- RSS-Reader: [[file:newsboat.org][Newsboat]]
* Others
- [[file:applications.org][Desktop Applications]]
- [[file:matlab.org][Matlab]]
- Some useful [[file:binaries.org][Binaries]]
- [[file:git.org][Git]] Configuration
- [[file:gtk.org][GTK]]
- [[file:config.org][Other Config]] - [[file:config.org][Other Config]]

File diff suppressed because it is too large Load Diff

View File

@ -128,7 +128,7 @@ Sorting by tracking number and then title
#+begin_src conf #+begin_src conf
def_key "q" def_key "q"
run_external_command "if [ $TMUX ]; then tmux detach; fi" run_external_command "sh -c 'if [ $TMUX ] ; then tmux detach; fi'"
def_key "Q" def_key "Q"
quit quit
def_key "g" def_key "g"

View File

@ -7,6 +7,7 @@
#+begin_src conf #+begin_src conf
[global] [global]
#+end_src #+end_src
** Display ** Display
#+begin_src conf #+begin_src conf
# Which monitor should the notifications be displayed on. # Which monitor should the notifications be displayed on.

View File

@ -1,4 +1,4 @@
#+TITLE: PCMANFM #+TITLE: PCManFM
#+SETUPFILE: ./setup/org-setup-file.org #+SETUPFILE: ./setup/org-setup-file.org
#+PROPERTY: header-args:bash :comments both #+PROPERTY: header-args:bash :comments both
#+PROPERTY: header-args:bash+ :mkdirp yes #+PROPERTY: header-args:bash+ :mkdirp yes

View File

@ -577,7 +577,7 @@ Send to Emacs
#+begin_src bash :tangle ~/.config/qutebrowser/userscripts/html-to-pdf.sh #+begin_src bash :tangle ~/.config/qutebrowser/userscripts/html-to-pdf.sh
filename=$(rofi -p "filename" -dmenu -lines 1) filename=$(rofi -p "filename" -dmenu -lines 1)
if [ -n "filename" ]; then if [ -n "$filename" ]; then
cd ~/Pictures/ && \ cd ~/Pictures/ && \
percollate pdf --css "@page { size: A4 portrait }" --output "$filename.pdf" "$QUTE_URL" && \ percollate pdf --css "@page { size: A4 portrait }" --output "$filename.pdf" "$QUTE_URL" && \
dunstify "Percollate" "Successfully saved to pdf" dunstify "Percollate" "Successfully saved to pdf"

View File

@ -1,4 +1,4 @@
#+TITLE: Ranger Configuration #+TITLE: Ranger
#+SETUPFILE: ./setup/org-setup-file.org #+SETUPFILE: ./setup/org-setup-file.org
* Documentation * Documentation

205
rofi.org
View File

@ -57,49 +57,49 @@
#+END_SRC #+END_SRC
* Theme * Theme
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/rofimenu/rofimenu.rasi :header-args: :tangle ~/.config/rofimenu/rofimenu.rasi
:header-args+: :comments none :mkdirp yes :header-args+: :comments none :mkdirp yes
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
configuration { configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
scroll-method: 1; scroll-method: 1;
show-icons: true; show-icons: true;
sidebar-mode: true; sidebar-mode: true;
kb-custom-1: ""; kb-custom-1: "";
kb-custom-2: ""; kb-custom-2: "";
kb-custom-3: ""; kb-custom-3: "";
kb-custom-4: ""; kb-custom-4: "";
kb-custom-5: ""; kb-custom-5: "";
kb-custom-6: ""; kb-custom-6: "";
kb-custom-7: ""; kb-custom-7: "";
kb-custom-8: ""; kb-custom-8: "";
kb-custom-9: ""; kb-custom-9: "";
kb-custom-10: ""; kb-custom-10: "";
kb-select-1: "Alt+1"; kb-select-1: "Alt+1";
kb-select-2: "Alt+2"; kb-select-2: "Alt+2";
kb-select-3: "Alt+3"; kb-select-3: "Alt+3";
kb-select-4: "Alt+4"; kb-select-4: "Alt+4";
kb-select-5: "Alt+5"; kb-select-5: "Alt+5";
kb-select-6: "Alt+6"; kb-select-6: "Alt+6";
kb-select-7: "Alt+7"; kb-select-7: "Alt+7";
kb-select-8: "Alt+8"; kb-select-8: "Alt+8";
kb-select-9: "Alt+9"; kb-select-9: "Alt+9";
kb-select-10: "Alt+0"; kb-select-10: "Alt+0";
} }
* { ,* {
//// COLORS //// //// COLORS ////
//// uncomment to match bspwm edition theme //// uncomment to match bspwm edition theme
background: #292f34FF; background: #292f34FF;
background-color: #292f3400; background-color: #292f3400;
foreground: #F6F9FFFF; foreground: #F6F9FFFF;
selected: #1ABB9BFF; selected: #1ABB9BFF;
selected-foreground: @foreground; selected-foreground: @foreground;
//// uncomment to match Adapta Nokto theme //// uncomment to match Adapta Nokto theme
// background: #222D32E8; // background: #222D32E8;
@ -109,51 +109,50 @@
// selected-foreground: #FFFFFFFF; // selected-foreground: #FFFFFFFF;
//// common - active and urgent //// common - active and urgent
active-background: #3A464BFF; active-background: #3A464BFF;
urgent-background: #800000FF; urgent-background: #800000FF;
urgent-foreground: @foreground; urgent-foreground: @foreground;
selected-urgent-background: @urgent-foreground; selected-urgent-background: @urgent-foreground;
selected-urgent-foreground: @urgent-background; selected-urgent-foreground: @urgent-background;
//// TEXT //// //// TEXT ////
font: "xos4 Terminus 18px"; font: "xos4 Terminus 18px";
// font: "Knack Nerd Font 16px"; text-color: @foreground;
text-color: @foreground;
//// PADDING ETC //// //// PADDING ETC ////
margin: 0px; margin: 0px;
border: 0px; border: 0px;
padding: 0px; padding: 0px;
spacing: 0px; spacing: 0px;
elementpadding: 2px 0px; elementpadding: 2px 0px;
elementmargin: 0px 2px; elementmargin: 0px 2px;
listmargin: 0px 2px 0px 0px; listmargin: 0px 2px 0px 0px;
//// SIZE //// //// SIZE ////
windowwidth: 40ch; windowwidth: 40ch;
buttonwidth: 18ch; buttonwidth: 18ch;
lines: 12; lines: 12;
fixed-height: false; fixed-height: false;
//// POSITION //// //// POSITION ////
location: northwest; location: northwest;
anchor: northwest; anchor: northwest;
x-offset: 0px; x-offset: 0px;
y-offset: 24px; y-offset: 24px;
//// LAYOUT //// //// LAYOUT ////
scrollbar: true; scrollbar: true;
//// uncomment to get submenu-like style //// uncomment to get submenu-like style
menustyle: [ sb-mainbox ]; menustyle: [ sb-mainbox ];
buttonpadding: 2px 1ch; buttonpadding: 2px 1ch;
button-bg: @background; button-bg: @background;
dynamic: true; dynamic: true;
//// uncomment to get tabs-like style //// uncomment to get tabs-like style
// menustyle: [ tb-mainbox ]; // menustyle: [ tb-mainbox ];
@ -162,85 +161,85 @@
} }
////////////////////////////////////////// //////////////////////////////////////////
window { window {
width: @windowwidth; width: @windowwidth;
children: @menustyle; children: @menustyle;
} }
//submenu-style //submenu-style
sb-mainbox { sb-mainbox {
orientation: horizontal; orientation: horizontal;
children: [ sidebar, vertibox ]; children: [ sidebar, vertibox ];
} }
//tabs-style //tabs-style
tb-mainbox { tb-mainbox {
orientation: vertical; orientation: vertical;
children: [ inputbar, horibox ]; children: [ inputbar, horibox ];
background-color: @background; background-color: @background;
} }
//desktop-submenu //desktop-submenu
dt-mainbox { dt-mainbox {
orientation: vertical; orientation: vertical;
children: [ boxdummy, sb-mainbox ]; children: [ boxdummy, sb-mainbox ];
} }
horibox { horibox {
orientation: horizontal; orientation: horizontal;
children: [ listview, sidebar ]; children: [ listview, sidebar ];
} }
sidebar { sidebar {
orientation: vertical; orientation: vertical;
} }
button { button {
horizontal-align: 0; horizontal-align: 0;
padding: @buttonpadding; padding: @buttonpadding;
width: @buttonwidth; width: @buttonwidth;
background-color: @button-bg; background-color: @button-bg;
expand: false; expand: false;
} }
vertibox { vertibox {
orientation: vertical; orientation: vertical;
children: [ inputbar, listview ]; children: [ inputbar, listview ];
background-color: @background; background-color: @background;
} }
prompt { prompt {
enabled: false; enabled: false;
} }
listview { listview {
margin: @listmargin; margin: @listmargin;
} }
scrollbar { scrollbar {
handle-width: 0.5ch; handle-width: 0.5ch;
handle-color: @selected; handle-color: @selected;
} }
boxdummy { boxdummy {
enabled: false; enabled: false;
orientation: vertical; orientation: vertical;
expand: false; expand: false;
children: [ textboxdummy ]; children: [ textboxdummy ];
} }
textboxdummy { textboxdummy {
str: " "; str: " ";
} }
element, inputbar, textboxdummy { element, inputbar, textboxdummy {
padding: @elementpadding; padding: @elementpadding;
margin: @elementmargin; margin: @elementmargin;
width: @elementwidth; width: @elementwidth;
} }
element.normal.active, element.normal.active,
element.alternate.active { element.alternate.active {
background-color: @active-background; background-color: @active-background;
text-color: @selected-foreground; text-color: @selected-foreground;
} }
element.selected, element.selected,
button.selected { button.selected {
background-color: @selected; background-color: @selected;
text-color: @selected-foreground; text-color: @selected-foreground;
} }
element.normal.urgent, element.normal.urgent,
element.alternate.urgent { element.alternate.urgent {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @urgent-foreground; text-color: @urgent-foreground;
} }
element.selected.urgent { element.selected.urgent {
background-color: @selected-urgent-background; background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground; text-color: @selected-urgent-foreground;
} }
#+END_SRC #+END_SRC

View File

@ -23,7 +23,7 @@ First install Chocolatey using a PowerShell as administrator:
Then, install all required software using one command: Then, install all required software using one command:
#+begin_src bash #+begin_src bash
choco install firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder syncthing cura ccleaner choco install -y firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder cura ccleaner neovim
#+end_src #+end_src
* Debloat windows10 * Debloat windows10
@ -34,6 +34,57 @@ Run a PowerShell with administrative rights and run:
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat')) iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
#+end_src #+end_src
* SSHFS
** SSH Setup
Install OpenSSH from =chocolatey= as the one packed with Windows is quite old ([[https://blog.frankfu.com.au/2019/03/21/moving-from-windows-1809s-openssh-to-openssh-portable/][link]]):
#+begin_src bash
choco install openssh --package-parameters="/SSHAgentFeature"
#+end_src
Then generate the keys:
#+begin_src bash
ssh-keygen
#+end_src
Start the SSH-Agent to automatically unlock the keys:
#+begin_src bash
# Start the service
Start-Service ssh-agent
# This should return a status of Running
Get-Service ssh-agent
# Now load your key files into ssh-agent
ssh-add
#+end_src
Copy the public key with:
#+begin_src bash
Get-Content -Path $HOME\.ssh\id_rsa.pub | Set-Clipboard
#+end_src
And add it to =~/.ssh/authorized_keys= on the server side.
Finally, it should be possible to ssh to the server.
** SSHFS
Install [[https://github.com/billziss-gh/sshfs-win][sshfs-win]].
Run the =Registry Editor=, and find =Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WinFsp\Services\sshfs.kr=, then edit =CommandLine=:
#+begin_src conf
svc %1 %2 %U -o create_dir_umask=000 -o create_file_umask=111 -o umask=000
#+end_src
Then, to mount the network drive using =sshfs=:
#+begin_src bash
net use X: \\sshfs.kr\thomas@192.168.1.150\srv\storage /persistent:yes
#+end_src
To un-mount it:
#+begin_src bash
net use X: /delete
#+end_src
* Software Setup * Software Setup
** Syncthing ** Syncthing
https://docs.syncthing.net/users/autostart.html#autostart-windows-startup https://docs.syncthing.net/users/autostart.html#autostart-windows-startup