{"id":13897420,"url":"https://github.com/ajlende/dotbot-pacaur","last_synced_at":"2025-03-17T21:31:13.592Z","repository":{"id":27595599,"uuid":"69185225","full_name":"ajlende/dotbot-pacaur","owner":"ajlende","description":"dotbot pacaur plugin","archived":false,"fork":false,"pushed_at":"2021-11-26T22:43:05.000Z","size":10,"stargazers_count":4,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T04:47:05.100Z","etag":null,"topics":["arch-aur","archlinux","aur","dotbot","dotbot-pacaur","pacaur"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajlende.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-25T19:18:04.000Z","updated_at":"2024-10-11T17:08:52.000Z","dependencies_parsed_at":"2022-08-07T13:00:39.668Z","dependency_job_id":null,"html_url":"https://github.com/ajlende/dotbot-pacaur","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajlende%2Fdotbot-pacaur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajlende%2Fdotbot-pacaur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajlende%2Fdotbot-pacaur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajlende%2Fdotbot-pacaur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajlende","download_url":"https://codeload.github.com/ajlende/dotbot-pacaur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243885934,"owners_count":20363644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arch-aur","archlinux","aur","dotbot","dotbot-pacaur","pacaur"],"created_at":"2024-08-06T18:03:34.666Z","updated_at":"2025-03-17T21:31:13.362Z","avatar_url":"https://github.com/ajlende.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Dotbot `pacaur` Plugin\n\nPlugin for [dotbot](https://github.com/anishathalye/dotbot) that adds a `pacaur` directive. It installs [official](https://www.archlinux.org/packages/) and [AUR](https://aur.archlinux.org/packages/) packages on Arch Linux with [`pacaur`](https://github.com/E5ten/pacaur).\n\nThis plugin will also attempt to install `pacaur` if not already installed which should make it easier when setting up a new computer.\n\n## Installation\n\n1. Add `dotbot-pacaur` as a submodule of your dotfiles.\n\n    ```sh\n    git submodule add https://github.com/ajlende/dotbot-pacaur\n    ```\n\n2. Add the `pacaur` directive to your `install.conf.yaml`.\n\n    ```yaml\n    - pacaur:\n      - zsh\n      - neovim\n      - atom-editor-bin\n      - gitkraken\n    ```\n\n3. Edit your `install` script to enable `dotbot-pacaur` plugin by modifying the last line with the `-p` option shown below.\n\n    ```sh\n    \"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}\" -d \"${BASEDIR}\" -c \"${CONFIG}\" \\\n      -p \"${BASEDIR}/dotbot-pacaur/pacaur.py\" \"${@}\"\n    ```\n\n## Other Usages\n\n### Run Separately\n\nIf you want to run `dotbot-pacaur` separately from your main configuration, you can do so with the `-p` option and a `packages.conf.yaml` configuration that contains only the `pacaur` section from your `install.conf.yaml`.\n\n```sh\ndotbot/bin/dotbot -p dotbot-pacaur/pacaur.py -c packages.conf.yaml\n```\n\n### Alternative Directive Name\n\nIf you want to separate your official packages from your AUR packages, you can put them in a directive named `pacman`. Both directives are functionally the same (everything still gets installed with `pacaur`), but this may allow you to organize things a little more.\n\n```yaml\n- pacman:\n  - zsh\n  - neovim\n- pacaur:\n  - atom-editor-bin\n  - gitkraken\n```\n\n## Basic Example\n\n```sh\n# ./install\n\n#!/usr/bin/env bash\n\nset -e\n\nCONFIG=\"install.conf.yaml\"\nDOTBOT_DIR=\"dotbot\"\n\nDOTBOT_BIN=\"bin/dotbot\"\nBASEDIR=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\" \u0026\u0026 pwd)\"\n\ncd \"${BASEDIR}\"\n\n(cd \"${DOTBOT_DIR}\" \u0026\u0026 git submodule update --init --recursive)\n\"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}\" -d \"${BASEDIR}\" -c \"${CONFIG}\" \"${@}\"\n```\n\n```yaml\n# ./install.conf.yaml\n\n- defaults:\n    link:\n      relink: true\n\n- clean: ['~']\n\n- link:\n    ~/.dotfiles: ''\n    ~/.tmux.conf: tmux.conf\n    ~/.vim: vim\n    ~/.vimrc: vimrc\n\n- shell:\n  - [git submodule update --init --recursive, Installing submodules]\n\n- pacaur:\n  - zsh\n  - neovim\n  - atom-editor-bin\n  - gitkraken\n```\n\n## Advanced Example\n\n[My own dotfiles configuration](https://github.com/ajlende/dotfiles/tree/3f47be1e2ad898047644ebc39b2364cac50f2be8) shows an example of a more advanced usage, splitting up different sections into different files and swapping `dotbot-pacaur` for `dotbot-brew` on MacOS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajlende%2Fdotbot-pacaur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajlende%2Fdotbot-pacaur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajlende%2Fdotbot-pacaur/lists"}