diff --git a/default.conf.yaml b/default.conf.yaml new file mode 100644 index 0000000..9d6a8c9 --- /dev/null +++ b/default.conf.yaml @@ -0,0 +1,15 @@ +- clean: ['~', '~/.config'] + +- link: + ~/.emacs.d: emacs/ + ~/.config/nvim: neovim/ + ~/.config/zsh: zsh/ + ~/.config/user-dirs.dirs: etc/user-dirs.dirs + ~/.hgrc: hg/.hgrc + ~/.tmux.conf: tmux/.tmux.conf + ~/.vim: vim/ + ~/.vimrc: vim/.vimrc + ~/.xonshrc: xonsh/.xonshrc + ~/.zshrc: zsh/.zshrc + ~/.zshenv: zsh/.zshenv + ~/.zprofile: zsh/.zprofile diff --git a/gmail.conf.yaml b/gmail.conf.yaml index 749eb76..60f55b2 100644 --- a/gmail.conf.yaml +++ b/gmail.conf.yaml @@ -1,26 +1,2 @@ -- clean: ['~', '~/.config'] - - link: - ~/.emacs.d: emacs/ - ~/.config/i3: i3/ - ~/.config/i3status: i3status/ - ~/.config/zsh: zsh/ - ~/.zshrc: zsh/.zshrc - ~/.zshenv: zsh/.zshenv - ~/.zprofile: zsh/.zprofile - ~/.hgrc: hg/.hgrc ~/.config/git/config: git/config-gmail - ~/.vim: vim/ - ~/.vimrc: vim/.vimrc - ~/.mbsyncrc: isync/.mbsyncrc - ~/.pentadactylrc: pentadactyl/.pentadactylrc - ~/.Xresources: X/.Xresources - ~/.Xdefaults: X/.Xdefaults - ~/.urlview: urlview/.urlview - ~/.config/user-dirs.dirs: etc/user-dirs.dirs - ~/.tmux.conf: tmux/.tmux.conf - ~/.config/bspwm: bspwm/ - ~/.config/sxhkd: sxhkd/ - ~/.config/panel: panel/ - ~/.config/nvim: neovim/ - ~/.xonshrc: xonsh/.xonshrc diff --git a/install b/install index 28f5d12..570ddd0 100755 --- a/install +++ b/install @@ -12,6 +12,6 @@ BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "${BASEDIR}" git submodule update --init --recursive "${DOTBOT_DIR}" -for conf in ${@}; do +for conf in default ${@}; do "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${conf}${CONFIG_SUFFIX}" done diff --git a/metagram.conf.yaml b/metagram.conf.yaml index a892699..cd94ce0 100644 --- a/metagram.conf.yaml +++ b/metagram.conf.yaml @@ -1,16 +1,2 @@ -- clean: ['~', '~/.config'] - - link: - ~/.emacs.d: emacs/ - ~/.config/zsh: zsh/ - ~/.zshrc: zsh/.zshrc - ~/.zshenv: zsh/.zshenv - ~/.zprofile: zsh/.zprofile - ~/.hgrc: hg/.hgrc ~/.config/git/config: git/config-metagram - ~/.vim: vim/ - ~/.vimrc: vim/.vimrc - ~/.pentadactylrc: pentadactyl/.pentadactylrc - ~/.tmux.conf: tmux/.tmux.conf - ~/.config/nvim: neovim/ - ~/.xonshrc: xonsh/.xonshrc diff --git a/mit.conf.yaml b/mit.conf.yaml index 9577be2..333a0fe 100644 --- a/mit.conf.yaml +++ b/mit.conf.yaml @@ -1,16 +1,2 @@ -- clean: ['~', '~/.config'] - - link: - ~/.emacs.d: emacs/ - ~/.config/zsh: zsh/ - ~/.zshrc: zsh/.zshrc - ~/.zshenv: zsh/.zshenv - ~/.zprofile: zsh/.zprofile - ~/.hgrc: hg/.hgrc ~/.config/git/config: git/config-mit - ~/.vim: vim/ - ~/.vimrc: vim/.vimrc - ~/.pentadactylrc: pentadactyl/.pentadactylrc - ~/.tmux.conf: tmux/.tmux.conf - ~/.config/nvim: neovim/ - ~/.xonshrc: xonsh/.xonshrc diff --git a/personal.conf.yaml b/personal.conf.yaml new file mode 100644 index 0000000..dc5e25d --- /dev/null +++ b/personal.conf.yaml @@ -0,0 +1,9 @@ +- link: + ~/.config/bspwm: bspwm/ + ~/.config/sxhkd: sxhkd/ + ~/.config/panel: panel/ + ~/.mbsyncrc: isync/.mbsyncrc + ~/.mutt: mutt/ + ~/.Xresources: X/.Xresources + ~/.Xdefaults: X/.Xdefaults + ~/.urlview: urlview/.urlview