https://github.com/entelecheia/dotdrop-files
dotfiles for dotdrop
https://github.com/entelecheia/dotdrop-files
dotdrop dotfiles
Last synced: about 2 months ago
JSON representation
dotfiles for dotdrop
- Host: GitHub
- URL: https://github.com/entelecheia/dotdrop-files
- Owner: entelecheia
- License: mit
- Created: 2022-12-29T23:54:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T19:49:23.000Z (about 3 years ago)
- Last Synced: 2025-02-13T20:37:55.394Z (over 1 year ago)
- Topics: dotdrop, dotfiles
- Language: Shell
- Homepage: https://dotfiles.entelecheia.ai
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles for dotdrop
This repository is a template for the dotfiles managed by [dotdrop](https://github.com/deadc0de6/dotdrop).
**This repository may include your private data and should not be shared publicly.**
You'd better to fork this repository and use it as a template for your own dotfiles.
## Installation
The installation is managed by [dotfiles](https://github.com/entelecheia/dotfiles) repository through [chezmoi](https://chezmoi.io/) tool.
At initialization of chezmoi, you should specify your forked repository as your repository for dotdrop.
## [`dotfiles-setup-dotdrop` Script](https://dotfiles.entelecheia.ai/usage/dotdrop/)
The `dotfiles-setup-dotdrop` script is designed to help you set up or update the Dotdrop repository and deploy the dotfiles to your system. To use this script, follow these steps:
1. **Configure Environment Variables (optional):**
If you have specific values for `DOTDROP_PROFILE` or `DOTDROP_CONFIG`, you can set these environment variables before running the script. Otherwise, the script will use the default values specified in the script.
```
export DOTDROP_PROFILE="my-profile"
export DOTDROP_CONFIG="/path/to/config.yaml"
```
2. **Run the Script:**
Execute the `dotfiles-setup-dotdrop` script:
```
dotfiles-setup-dotdrop
```
This script will perform the following tasks:
- Ensure that `${HOME}/.local/bin` is included in your `PATH`.
- Clone or update the Dotdrop repository.
- If you have a local Dotdrop repository, it will copy or update the repository to `${HOME}/.config/dotdrop`.
- If you have a remote repository, it will clone or update the repository accordingly.
- Install or update dotfiles using the specified Dotdrop profile and configuration.
After running the `dotfiles-setup-dotdrop` script, your dotfiles will be managed and deployed using Dotdrop, and your system should be configured according to the specified Dotdrop profile.
## License
This repository is licensed under the MIT License.