diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1af14d0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "dotbot"] + path = dotbot + url = https://github.com/anishathalye/dotbot + ignore = dirty diff --git a/README.md b/README.md index 0164104..03b041b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # dotfiles -This repository contains my dotfiles for all linux operating systems, including Ubuntu HomeDesktop, Lubuntu Laptop, and others \ No newline at end of file +This repository has been deprecated, as now we switch to dotfiles-local + dotbot workflow diff --git a/dotbot b/dotbot new file mode 160000 index 0000000..5d83f9e --- /dev/null +++ b/dotbot @@ -0,0 +1 @@ +Subproject commit 5d83f9e797b1950199e127a8196803f5e33e0916 diff --git a/install b/install new file mode 100755 index 0000000..5a7e72c --- /dev/null +++ b/install @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -e + +CONFIG="install.conf.yaml" +DOTBOT_DIR="dotbot" + +DOTBOT_BIN="bin/dotbot" +BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +cd "${BASEDIR}" +git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive +git submodule update --init --recursive "${DOTBOT_DIR}" + +"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" diff --git a/install.conf.yaml b/install.conf.yaml new file mode 100644 index 0000000..570d22a --- /dev/null +++ b/install.conf.yaml @@ -0,0 +1,8 @@ +- defaults: + link: + relink: true + +- clean: ['~'] + +- link: +