Skip to content
 
 

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

dotbot yay plugin

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages