fix(migrations): rewrite hyprlock.conf references in the theme-state move - #419
Open
duketopceo wants to merge 1 commit into
Open
fix(migrations): rewrite hyprlock.conf references in the theme-state move#419duketopceo wants to merge 1 commit into
duketopceo wants to merge 1 commit into
Conversation
…move migrations/1781043107.sh moves ~/.config/omarchy/current to ~/.local/state/omarchy/current and rewrites the terminals and Hyprland configs, but not a retained hyprlock.conf — its source/background paths keep pointing at the directory the migration just removed, so the lock screen loses its theme. Add it to the rewrite list. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This was referenced Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #382 — the narrow repair the reporter suggested.
migrations/1781043107.shmoves~/.config/omarchy/current→~/.local/state/omarchy/currentand rewrites every shipped config that references it — excepthyprlock.conf, which isn't in thereplace_current_pathfile list. A retained legacy lock config keepssource/backgroundpointing at the directory the migration just removed, and the lock screen loses its theme.One-line change: add
$HOME/.config/hypr/hyprlock.confto the list — it covers all three path spellings ($HOME/..., literal~, and../relative) through the existing helper.Test plan
test/shell.d/theme-state-migration-test.sh: legacy hyprlock.conf + assets under the old dir → asserts the move lands, the dir is gone, and bothsourceandbackgroundreferences resolve to the new location; idempotent on already-migrated files — 2/2 passGenerated with Devin