Unify Omarchy migrations

This commit is contained in:
Ryan Hughes
2026-06-12 13:49:46 -04:00
parent 04b0fab64d
commit c582e7133a
27 changed files with 259 additions and 681 deletions
+17
View File
@@ -0,0 +1,17 @@
echo "Relink Neovim theme to Omarchy current state"
theme_link="$HOME/.config/nvim/lua/plugins/theme.lua"
legacy_absolute_target="$HOME/.config/omarchy/current/theme/neovim.lua"
legacy_relative_target="../../../omarchy/current/theme/neovim.lua"
legacy_home_target="~/.config/omarchy/current/theme/neovim.lua"
current_relative_target="../../../../.local/state/omarchy/current/theme/neovim.lua"
[[ -L $theme_link ]] || exit 0
target=$(readlink "$theme_link") || exit 0
case "$target" in
"$legacy_absolute_target"|"$legacy_relative_target"|"$legacy_home_target")
ln -sfn "$current_relative_target" "$theme_link"
;;
esac