Skip to content

mbfraga/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

427acd8 · Apr 22, 2018

History

53 Commits
Dec 23, 2017
Apr 22, 2018
Dec 23, 2017
Nov 5, 2017
Dec 1, 2017
Nov 5, 2017
Nov 5, 2017
Nov 26, 2017
Apr 22, 2018
Dec 1, 2017
Dec 23, 2017
Nov 5, 2017
Oct 1, 2017
Oct 1, 2017
Oct 20, 2017
Oct 1, 2017
Oct 1, 2017
Oct 12, 2017
Dec 23, 2017
Oct 1, 2017
Oct 1, 2017
Oct 1, 2017
Oct 1, 2017
Nov 5, 2017
Dec 1, 2017
Apr 22, 2018
Dec 23, 2017
Oct 1, 2017
Nov 26, 2017
Dec 23, 2017
Apr 22, 2018
Apr 22, 2018
Oct 1, 2017
Nov 5, 2017
Oct 1, 2017
Nov 4, 2017
Nov 6, 2017
Oct 1, 2017
Oct 21, 2017
Oct 1, 2017
Oct 1, 2017
Oct 20, 2017
Mar 31, 2018
Oct 12, 2017
Nov 9, 2017
Nov 9, 2017
Nov 6, 2017
Nov 20, 2017
Nov 3, 2017
Oct 1, 2017
Oct 1, 2017
Apr 22, 2018
Oct 1, 2017

Repository files navigation

dotfiles

Introduction

This is a git repository that holds all my dotfiles. I keep this repo cloned inside one of my syncthing folders, which gets synchronized across all my machines. The install.sh script can then stow all the required config directories depending on the hostname. Any shared configs will get automatically synchronized by syncthing.

See below for a diagram of how the synchronization works.

┌──────────────────────────────────────────┐
│ GIT                                      │
│ github.com/mbfraga/dotfiles (git remote) │
└┬─────────────────────────────────────────┘
 │ ┌────────────────────────────────────────┐
 │ │ SYNCTHING                              │
 └─┤  ~/syncthing/main/dotfiles (git clone) │
   └┬───────────────────────────────────────┘
    │ ┌─────────────────────────────┐
    │ │ HOST 1                      │  ┌──────┐  ┌───────────┐
    ├─┤  ~/syncthing/main/dotfiles  ├──┤ STOW ├──┤ HOST 1 ~/ │
    │ └──────────────┬──────────────┘  └──────┘  └───────────┘
    │ ┌──────────────┴──────────────┐
    │ │ HOST 2                      │  ┌──────┐  ┌───────────┐
    ├─┤  ~/syncthing/main/dotfiles  ├──┤ STOW ├──┤ HOST 2 ~/ │
    │ └──────────────┬──────────────┘  └──────┘  └───────────┘
    │ ┌──────────────┴──────────────┐
    │ │ HOST 3                      │  ┌──────┐  ┌───────────┐
    └─┤  ~/syncthing/main/dotfiles  ├──┤ STOW ├──┤ HOST 3 ~/ │
      └─────────────────────────────┘  └──────┘  └───────────┘
 

Install

run ./install.sh