Small, declarative automation tool for GNU stow
- Rust 100%
|
Keiran
38bec5f791
Some checks failed
CI / ci (push) Has been cancelled
|
||
|---|---|---|
| .forgejo/workflows | clean up workflows | |
| src | fix(cli): better exit handling | |
| tests | feat: adopt command | |
| .actrc | i dont feel like figuring out why freebsd builds dont work | |
| .github | i dont feel like figuring out why freebsd builds dont work | |
| .gitignore | initial commit | |
| Cargo.lock | support regex in ignore option, add restow/delete functionality | |
| Cargo.toml | support regex in ignore option, add restow/delete functionality | |
| config.example.toml | add example config file | |
| LICENSE | add BSD-3 license | |
| README.md | clean up workflows | |
stowme
stowme is a small, safe dotfiles manager
Install
Build from source:
cargo build --release
./target/release/stowme --help
Or install into your cargo bin path:
cargo install --path .
Quick Start
Create a default config
stowme config init
Edit config at:
stowme config path
Dry run to check it's correct
stowme
Apply if it looks good!
stowme apply
Config Format
Example:
stow_dir = "~/dotfiles"
[[package]]
name = "zsh"
target = "~"
[[package]]
name = "nvim"
target = "~/.config/nvim"
ignore = ["README.md"]
ignore_regex = ["(^|/)\\._.*"]
Environment Variables
STOWME_CONFIG_PATH(preferred): override config locationSTOWME_CONFIG: legacy alias for config pathSTOWME_DEBUG=1: enable debug outputSTOWME_LOG_LEVEL=debug|info|warn|error: set log level
Default config path is:
$HOME/.config/stowme/config.toml