2019-01-31 09:41:03 +01:00
|
|
|
#+TITLE: Configuration Files
|
2020-01-11 22:04:28 +01:00
|
|
|
:DRAWER:
|
|
|
|
#+STARTUP: overview
|
|
|
|
|
|
|
|
#+LANGUAGE: en
|
|
|
|
#+EMAIL: dehaeze.thomas@gmail.com
|
|
|
|
#+AUTHOR: Dehaeze Thomas
|
|
|
|
|
|
|
|
#+HTML_LINK_HOME: ./index.html
|
|
|
|
#+HTML_LINK_UP: ./index.html
|
|
|
|
|
2020-01-11 22:24:51 +01:00
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="./js/readtheorg.js"></script>
|
2020-01-11 22:04:28 +01:00
|
|
|
:END:
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2020-03-25 20:20:36 +01:00
|
|
|
* SSH
|
|
|
|
:PROPERTIES:
|
|
|
|
:header-args: :tangle ~/.ssh/config
|
|
|
|
:header-args+: :comments none :mkdirp yes
|
|
|
|
:END:
|
|
|
|
|
|
|
|
#+begin_src conf
|
|
|
|
AddKeysToAgent yes
|
|
|
|
|
|
|
|
Host grenoble
|
|
|
|
hostname 82.64.103.2
|
|
|
|
Port 10022
|
|
|
|
user tdehaeze
|
|
|
|
IdentityFile ~/.ssh/id_rsa
|
|
|
|
|
|
|
|
Host wingaudio
|
|
|
|
hostname 207.154.251.241
|
|
|
|
Port 22
|
|
|
|
user tdehaeze
|
|
|
|
IdentityFile ~/.ssh/id_rsa
|
|
|
|
|
|
|
|
Host octoprint
|
2020-03-27 15:38:09 +01:00
|
|
|
hostname 192.168.1.56
|
2020-03-25 20:20:36 +01:00
|
|
|
Port 22
|
|
|
|
user pi
|
|
|
|
IdentityFile ~/.ssh/id_rsa
|
|
|
|
|
|
|
|
Host hassio
|
|
|
|
hostname 192.168.1.101
|
|
|
|
Port 10022
|
|
|
|
user root
|
|
|
|
IdentityFile ~/.ssh/id_rsa
|
|
|
|
|
|
|
|
Host nas
|
|
|
|
hostname 192.168.1.50
|
|
|
|
Port 10022
|
|
|
|
user tdehaeze
|
|
|
|
IdentityFile ~/.ssh/id_rsa
|
|
|
|
#+end_src
|
|
|
|
|
2019-05-16 21:13:08 +02:00
|
|
|
* Font
|
2019-12-15 10:58:16 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:header-args: :tangle ~/.config/fontconfig/fonts.conf
|
|
|
|
:header-args+: :comments none :mkdirp yes
|
|
|
|
:END:
|
2019-12-30 17:21:22 +01:00
|
|
|
|
2019-05-16 21:13:08 +02:00
|
|
|
#+begin_src conf
|
|
|
|
<?xml version='1.0'?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
|
|
|
<fontconfig>
|
|
|
|
|
|
|
|
<alias>
|
|
|
|
<family>serif</family>
|
|
|
|
<prefer><family>Linux Libertine</family></prefer>
|
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>sans-serif</family>
|
|
|
|
<prefer><family>Linux Biolinum</family></prefer>
|
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>sans</family>
|
|
|
|
<prefer><family>Linux Biolinum</family></prefer>
|
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>monospace</family>
|
|
|
|
<prefer><family>SauceCodePro Nerd Font Mono</family></prefer>
|
|
|
|
</alias>
|
|
|
|
|
|
|
|
</fontconfig>
|
|
|
|
#+end_src
|
|
|
|
|
2019-01-31 09:41:03 +01:00
|
|
|
* Input
|
2019-12-15 10:58:16 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:header-args: :tangle ~/.inputrc
|
|
|
|
:header-args+: :comments both :mkdirp yes
|
|
|
|
:END:
|
2019-01-31 09:41:03 +01:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2019-04-05 09:28:01 +02:00
|
|
|
# Single tab for autocompletion
|
|
|
|
set show-all-if-ambiguous on
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-04-05 09:28:01 +02:00
|
|
|
# Ignore case for completion
|
|
|
|
set completion-ignore-case on
|
2019-01-31 09:41:03 +01:00
|
|
|
#+END_SRC
|
|
|
|
|
2019-12-15 10:58:16 +01:00
|
|
|
#+BEGIN_SRC conf
|
|
|
|
# VI mode (works in bash and zsh)
|
|
|
|
set editing-mode vi
|
|
|
|
|
|
|
|
# Show which mode (normal or insert)
|
|
|
|
set show-mode-in-prompt on
|
|
|
|
|
|
|
|
# Show the mode by changing the cursor
|
|
|
|
set vi-ins-mode-string \1\e[6 q\2
|
|
|
|
set vi-cmd-mode-string \1\e[2 q\2
|
2020-03-30 00:07:23 +02:00
|
|
|
#+END_SRC
|
2019-12-15 10:58:16 +01:00
|
|
|
|
2020-03-30 00:07:23 +02:00
|
|
|
Key-bindings for vi-mode:
|
|
|
|
#+BEGIN_SRC conf
|
2019-12-30 17:21:22 +01:00
|
|
|
set keymap vi-command
|
|
|
|
# these are for vi-command mode
|
|
|
|
Control-l: clear-screen
|
|
|
|
Control-a: beginning-of-line
|
2020-03-30 00:07:23 +02:00
|
|
|
Control-e: end-of-line
|
2019-04-05 09:28:01 +02:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
set keymap vi-insert
|
|
|
|
# these are for vi-insert mode
|
|
|
|
Control-l: clear-screen
|
|
|
|
Control-a: beginning-of-line
|
2020-03-30 00:07:23 +02:00
|
|
|
Control-e: end-of-line
|
2019-01-31 09:41:03 +01:00
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* GnuPG
|
2019-12-15 10:58:16 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:header-args: :tangle ~/.gnupg/gpg-agent.conf
|
|
|
|
:header-args+: :comments both :mkdirp yes
|
|
|
|
:END:
|
2019-01-31 09:41:03 +01:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2019-04-04 10:27:43 +02:00
|
|
|
default-cache-ttl 60480000
|
2020-03-01 21:38:38 +01:00
|
|
|
max-cache-ttl 60480000
|
2019-01-31 09:41:03 +01:00
|
|
|
#+END_SRC
|
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
* Redshift
|
2019-12-15 10:58:16 +01:00
|
|
|
:PROPERTIES:
|
2019-12-30 17:21:22 +01:00
|
|
|
:header-args: :tangle ~/.config/redshift.conf
|
|
|
|
:header-args+: :comments none :mkdirp yes
|
2019-12-15 10:58:16 +01:00
|
|
|
:END:
|
2019-01-31 09:41:03 +01:00
|
|
|
|
|
|
|
#+begin_src conf
|
2019-12-30 17:21:22 +01:00
|
|
|
[redshift]
|
|
|
|
temp-day=5700
|
|
|
|
temp-night=3500
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
transition=1
|
2019-05-30 16:47:34 +02:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
;brightness-day=0.7
|
|
|
|
;brightness-night=0.4
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
location-provider=manual
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
adjustment-method=randr
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
[manual]
|
|
|
|
lat=45.1
|
|
|
|
lon=5.7
|
2019-01-31 09:41:03 +01:00
|
|
|
#+end_src
|
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
* dmenu
|
2019-12-15 10:58:16 +01:00
|
|
|
:PROPERTIES:
|
2019-12-30 17:21:22 +01:00
|
|
|
:header-args: :tangle ~/.dmenurc
|
2019-12-15 10:58:16 +01:00
|
|
|
:header-args+: :comments both :mkdirp yes
|
|
|
|
:END:
|
2019-01-31 09:41:03 +01:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2019-12-30 17:21:22 +01:00
|
|
|
# define the font for dmenu to be used
|
|
|
|
DMENU_FN="Hack Nerd Font 12"
|
2019-04-05 12:00:13 +02:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
# background colour for unselected menu-items
|
|
|
|
DMENU_NB="#222D31"
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
# textcolour for unselected menu-items
|
|
|
|
DMENU_NF="#F9FAF9"
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
# background colour for selected menu-items
|
|
|
|
DMENU_SB="#16A085"
|
2019-05-05 16:27:59 +02:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
# textcolour for selected menu-items
|
|
|
|
DMENU_SF="#F9FAF9"
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
# command for the terminal application to be used:
|
|
|
|
TERMINAL_CMD="terminal -e"
|
2019-01-31 09:41:03 +01:00
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
# export our variables
|
|
|
|
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
|
2019-04-04 10:27:43 +02:00
|
|
|
#+END_SRC
|
2019-01-31 09:41:03 +01:00
|
|
|
|
|
|
|
* Locale
|
2019-12-15 10:58:16 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:header-args: :tangle ~/.config/locale.conf
|
|
|
|
:header-args+: :comments both :mkdirp yes
|
|
|
|
:END:
|
2019-01-31 09:41:03 +01:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2019-04-04 10:27:43 +02:00
|
|
|
LANG=en_US.UTF-8
|
|
|
|
LC_CTYPE="en_US.UTF-8"
|
|
|
|
LC_NUMERIC=fr_FR.UTF-8
|
|
|
|
LC_TIME=fr_FR.UTF-8
|
|
|
|
LC_COLLATE="en_US.UTF-8"
|
|
|
|
LC_MONETARY=fr_FR.UTF-8
|
|
|
|
LC_MESSAGES="en_US.UTF-8"
|
|
|
|
LC_PAPER=fr_FR.UTF-8
|
|
|
|
LC_NAME=fr_FR.UTF-8
|
|
|
|
LC_ADDRESS=fr_FR.UTF-8
|
|
|
|
LC_TELEPHONE=fr_FR.UTF-8
|
|
|
|
LC_MEASUREMENT=fr_FR.UTF-8
|
|
|
|
LC_IDENTIFICATION=fr_FR.UTF-8
|
|
|
|
LC_ALL=
|
2019-01-31 09:41:03 +01:00
|
|
|
#+END_SRC
|
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
* Pass Git Helper
|
2019-12-15 10:58:16 +01:00
|
|
|
:PROPERTIES:
|
2019-12-30 17:21:22 +01:00
|
|
|
:header-args: :tangle ~/.config/pass-git-helper/git-pass-mapping.ini
|
2019-12-15 10:58:16 +01:00
|
|
|
:header-args+: :comments both :mkdirp yes
|
|
|
|
:END:
|
2019-01-31 09:41:03 +01:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2019-12-30 17:21:22 +01:00
|
|
|
[github.com*]
|
|
|
|
target=github.com/tdehaeze
|
2019-01-31 09:41:03 +01:00
|
|
|
#+END_SRC
|
|
|
|
|