create and share your dotfiles without needing the other person to download a extra package
  • Go 76.3%
  • Shell 23.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-05 21:35:10 +08:00
src fix bash script spacing, missing final message 2026-08-05 21:35:10 +08:00
.gitignore README and license 2026-07-05 21:43:29 +08:00
go.mod go init 2026-07-05 17:22:40 +08:00
go.sum go init 2026-07-05 17:22:40 +08:00
install_mmydf.sh added colors for syncing 2026-08-05 18:16:11 +08:00
LICENSE README and license 2026-07-05 21:43:29 +08:00
main.go go init 2026-07-05 17:22:40 +08:00
README.md multi-line postinstall 2026-07-06 23:51:07 +08:00
test.sh beautify creating script 2026-08-05 19:18:27 +08:00

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

  1. Do not put a / at the start of source. We have a cleansing feature where it'll delete the old files, and then copy the new ones.
  2. 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.