Skip to content

lipeeeee/archlinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

archlinux dotfiles

archlinux dotfiles and auto-installer/updater

ArchManagerPY (auto-installer/updater/system manager)

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 --help

image

python3 manager.py -ib --ignore-errors

image


Will also work on most popular linux distros since all instalation logic is implemented per-distro in the module's scripts.

Top-Level Overview

Core Actions:

  • INSTALL: Initialize or symlink new modules

  • UPDATE: Apply in-place updates to existing modules

  • BACKUP: (optional) Runs your own snapshot script

Prerequisites

  • Python ≥ 3.9

  • Your own dependencies pre-module installation

How to use it

  1. 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 snapshots

Ensure folders exist:

  • modules/ — each subfolder is a standalone module with install.sh &/or update.sh

  • scripts/backup.sh — your custom backup routine

  1. 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

TODO

  • update drivers script and add it to maintenance

About

archlinux dotfiles with all-in-one manager script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published