Running the same Arch / Omarchy setup on multiple machines leads to config drift.
This repo solves it with a simple approach:
- Real configs live here
~/.configis symlinked to this repo- Git is used to sync changes across machines
Two scripts:
setup-dotfiles.sh→ migrate first machine (move + link)link-dotfiles.sh→ link additional machines (link only)
git clone git@github.com:dhdimchev/shared-dotfiles.git ~/shared-dotfiles
cd ~/shared-dotfiles
chmod +x setup-dotfiles.sh
./setup-dotfiles.shCommit and push after migration.
git clone git@github.com:dhdimchev/shared-dotfiles.git ~/shared-dotfiles
cd ~/shared-dotfiles
chmod +x link-dotfiles.sh
./link-dotfiles.shOn machine where changes are made:
cd ~/shared-dotfiles
git add .
git commit -m "update"
git pushOn other machines:
cd ~/shared-dotfiles
git pullReload Hyprland if needed.
If you find this useful, feel free to use it.