create and share your dotfiles without needing the other person to download a extra package
- Go 76.3%
- Shell 23.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| install_mmydf.sh | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
| test.sh | ||
MakeMeYourDotFiles
Create and share your dotfiles without needing the other person to download a extra package.
Usage
Compile the binary with go. We don't have any other way right now.
git clone https://codeberg.org/dvs/MakeMeYourDotFiles.git
go mod download
go mod tidy
bash install_mmydf.sh
YAML File (example)
configs:
name: "dvs' niri files"
desc: "this script will insert daveberry's niri dotfiles."
links:
- source: ".config/nvim" # directory
target: "~/.config/nvim"
- source: ".config/zed/keymap.json" # file-specific
target: "~/.config/zed/keymap.json"
- source: ".config/niri"
target: "~/.config/niri"
- source: ".config/waybar"
target: "~/.config/waybar"
- source: ".config/Thunar"
target: "~/.config/Thunar"
- source: ".config/rofi"
target: "~/.config/rofi"
- source: ".zshrc"
target: "~/.zshrc"
scripts:
post_install:
- "niri validate"
- |
bash -c 'waybar &' >> /dev/null
bash -c 'mako &' >> /dev/null
Note
- Do not put a
/at the start ofsource. We have a cleansing feature where it'll delete the old files, and then copy the new ones.- If you have edited the YAML file to select another file, the old file/folder will not be deleted. You will have to do that manually.
mmydf Flags
mmydf sync; Syncs your current dotfiles to the path where you want to put it.