archlinux dotfiles and auto-installer/updater
A Python script with less than 200 lines to manage your Arch Linux dotfiles modules by automating installs, updates, and optional system snapshots.
python3 manager.py --helppython3 manager.py -ib --ignore-errorsWill also work on most popular linux distros since all instalation logic is implemented per-distro in the module's scripts.
Core Actions:
-
INSTALL: Initialize or symlink new modules
-
UPDATE: Apply in-place updates to existing modules
-
BACKUP: (optional) Runs your own snapshot script
-
Python ≥ 3.9
-
Your own dependencies pre-module installation
- Directory Layout
Modularize dotfiles like such:
.
├── manager.py # This core script
├── modules/
│ ├── module1/ # that contains install.sh and/or update.sh
│ ├── module2/ # that contains install.sh and/or update.sh
│ └── moduleN/ # that contains install.sh and/or update.sh
└── scripts/
└── backup.sh # customized script invoked for system snapshotsEnsure folders exist:
-
modules/ — each subfolder is a standalone module with install.sh &/or update.sh
-
scripts/backup.sh — your custom backup routine
- Run the manager:
python3 manager.py [options]-
-i, --install Run INSTALL actions
-
-u, --update Run UPDATE actions
-
-b, --backup Make Timeshift backups before & after
-
--ignore-errors Continue on any module script failures
- update drivers script and add it to maintenance

