Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.35 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.35 KB

Dotbot yay Plugin

Plugin for dotbot that adds a yay directive. It allows installation of packeges using yay, and by extension pacman, packages.

This plugin will attempt to install yay if not already present. This should make it easier to set up a new computer.

Installation

Add it as a submodule of your dotfiles repository.

git submodule add https://github.com/alexwh/dotbot-yay

Usage

One option is having your packages list in a separate file. This way you can run it separately from your main configuration.

./install -p dotbot-yay/yay.py -c packages.conf.yaml

Alternatively, you can add the directive directly in install.conf.yaml and modify your install script so it automatically enables the yay plugin.

"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" \
  --plugin-dir "${BASEDIR}/dotbot-yay" "${@}"

Configuration

Example of the packages.conf.yaml:

- yay:
  - zsh
  - neovim
  - atom-editor-bin
  - gitkraken

Additionally, if you want to separate your pacman packages from your AUR packages, you can put them in a directive named pacman. Both directives are functionally the same, but may allow you to organize things a little more.

- pacman:
  - zsh
  - neovim
- yay:
  - atom-editor-bin
  - gitkraken