Skip to content

port of Niklas Heer's dotbot-yaourt plugin for use with yay

License

Notifications You must be signed in to change notification settings

OxSon/dotbot-yay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotbot yay Plugin

For use with dotbot, this plugin allows one to easily install or upgrade a list of yay packages.

This plugin is a port of dotbot-yaourt for use with yay. Basically the same thing with a :%s/yaourt/yay command ran, plus a couple other relevant changes.

dotbot-yaourt was itself heavily inspired by the apt-get plugin.

Usage

It's easiest to track this plugin in your dotfiles repo:

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

The original author also recommends having your yay list in a separate file since dotbot will need root privileges in order to use the plugin.

If you use the default install script provided by dotbot, using the plugin will look like this:

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

Using the install script provided by this repo, using the plugin will look like this:

./install packages

Example for packages.conf.yaml:

- yay:
  - vim
  - zsh
  - tldr