First-class Omarchy backup / restore / check workflow #5588
Replies: 1 comment
|
The issue I have with scripts for managing dotfiles is how tedious it is to change the dotfiles and keep track of them. It is alright for initial setups or whole migrations in practice, but there are also better tools for it such as Chezmoi. The main thing to consider would be that you mention some things in Omarchy for a backup / migration to a new system or update, not all of them. So doing it with a set of scripts would be very tedious, while as something like Chezmoi could help add things to the source directory in a simple set of commands. I like the |
Uh oh!
There was an error while loading. Please reload this page.
I’ve built a local Omarchy workflow that has been very useful across updates and reinstalls, and I think a version of it could fit well upstream.
The idea is not generic dotfile sync. It is an Omarchy-aware workstation backup/restore contract.
My local commands:
buomarchy: back up current Omarchy/workstation state into a git reposetupomarchy: selectively restore pieces by categorycheckomarchy: compare current config against the last known-good backup after updatesupdateomarchy: back up first, update, then inspect driftWhy this helped:
During the 3.7 update, Hypr/Waybar/Nvim had expected migration diffs. Because I had
checkomarchy, I could see those diffs and avoid blindly restoring old configs over the new 3.7 command names.Examples of useful categories I back up and restore:
~/.config/omarchy/hooks,bin, current theme state, active wallpapermy-themes.txtallowlist~/.local/binscriptspacman -Qeqandyay -Qmqefibootmgr -voutput and direct Omarchy EFI boot with Limine fallbackThe restore side is selective, not all-or-nothing:
Potential upstream shape:
omarchy backupomarchy restore [category]omarchy checkImportant behavior:
omarchy-lock-screenafter 3.7 migrated it toomarchy-system-lock.omarchy checkshould show drift after updates, so users can decide whether to accept new upstream defaults or restore their local version.This would give users a practical middle ground between full system snapshots and manually managing dotfiles. It would also make reinstalls and laptop migrations much easier while staying aligned with Omarchy’s opinionated defaults.
All reactions