literate-dotfiles/config.org
2021-01-08 00:06:05 +01:00

4.5 KiB

Configuration Files

SSH

  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
      hostname 192.168.1.56
      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

Font

  <?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>Hack Nerd Font Mono</family></prefer>
    </alias>

  </fontconfig>

GnuPG

  default-cache-ttl 60480000
  max-cache-ttl 60480000

Redshift

  [redshift]
  temp-day=5700
  temp-night=3500

  transition=1

  ;brightness-day=0.7
  ;brightness-night=0.4

  location-provider=manual

  adjustment-method=randr

  [manual]
  lat=45.1
  lon=5.7

dmenu

  # define the font for dmenu to be used
  DMENU_FN="Hack Nerd Font 12"

  # background colour for unselected menu-items
  DMENU_NB="#222D31"

  # textcolour for unselected menu-items
  DMENU_NF="#F9FAF9"

  # background colour for selected menu-items
  DMENU_SB="#16A085"

  # textcolour for selected menu-items
  DMENU_SF="#F9FAF9"

  # command for the terminal application to be used:
  TERMINAL_CMD="terminal -e"

  # export our variables
  DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"

Locale

  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=

Netrc

It is very important that ~/.netrc as 600 permissions.

machine traefik.tdehaeze.xyz
login tdehaeze
password <<get-password(passname="traefik.tdehaeze.xyz/tdehaeze")>>

machine portainer.tdehaeze.xyz
login tdehaeze
password <<get-password(passname="portainer.tdehaeze.xyz/tdehaeze")>>

machine cloud.tdehaeze.xyz
login tdehaeze
password <<get-password(passname="cloud.tdehaeze.xyz/tdehaeze")>>

machine syncthing.tdehaeze.xyz
login tdehaeze
password <<get-password(passname="syncthing.tdehaeze.xyz/tdehaeze")>>

machine torrent.tdehaeze.xyz
login tdehaeze
password <<get-password(passname="torrent.tdehaeze.xyz/tdehaeze")>>

machine deemix.tdehaeze.xyz
login tdehaeze
password <<get-password(passname="deemix.tdehaeze.xyz/tdehaeze")>>

bukurun Rofi Frontend for Buku (Bookmark Manager)

  _rofi () {
      rofi -dmenu -i -no-levenshtein-sort -width 1000 "$@"
  }

Display settings

  display_type=1
  max_str_width=80

Keybindings

  switch_view="Alt+Tab"
  new_bookmark="Alt+n"
  actions="Alt+a"
  edit="Alt+e"
  delete="Alt+d"

Colors

  help_color="#2d7ed8"