From 4abd084f7f93611da8c197850c6c2f56bb6fcd1f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 8 Jul 2026 18:16:16 -0700 Subject: [PATCH] Don't glob dotfiles twice when building the live omarchy overlay With dotglob set, * already matches dotfiles, so the extra dot patterns made the second ln -s fail and silently skip the legacy hypr shim. Co-Authored-By: Claude Fable 5 --- bin/omarchy-upgrade-to-quattro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-upgrade-to-quattro b/bin/omarchy-upgrade-to-quattro index be2b2432..bc97da35 100755 --- a/bin/omarchy-upgrade-to-quattro +++ b/bin/omarchy-upgrade-to-quattro @@ -775,13 +775,13 @@ create_live_omarchy_overlay() { mkdir -p "$compat_root/default" shopt -s dotglob nullglob - for entry in /usr/share/omarchy/* /usr/share/omarchy/.[!.]* /usr/share/omarchy/..?*; do + for entry in /usr/share/omarchy/*; do [[ -e $entry ]] || continue base=$(basename "$entry") [[ $base == default ]] && continue ln -s "$entry" "$compat_root/$base" done - for entry in /usr/share/omarchy/default/* /usr/share/omarchy/default/.[!.]* /usr/share/omarchy/default/..?*; do + for entry in /usr/share/omarchy/default/*; do [[ -e $entry ]] || continue base=$(basename "$entry") [[ $base == hypr ]] && continue