From ac452dd311b43dec9a9d701fbd194f08475c62f8 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 20 May 2026 18:38:51 -0400 Subject: [PATCH] Drop the shell-expansion guard from omarchy-dev-link's conf The previous format wrote 'export OMARCHY_PATH="${OMARCHY_PATH:-}"' to /etc/omarchy.conf, intended so install.sh's script-mode OMARCHY_PATH could win over the dev-link value. But install.sh doesn't source /etc/omarchy.conf (only profile.d/uwsm/bash do, all post-install), so the guard was protecting a non-scenario. It also caused a real bug: paths.lua parses /etc/omarchy.conf as text and returned the literal '${OMARCHY_PATH:-}' string as the omarchy_path, breaking dev-link in Hyprland. Switch to plain 'export OMARCHY_PATH=""'. dev-link is the only writer, and when it's active, its value should win unconditionally. --- bin/omarchy-dev-link | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-dev-link b/bin/omarchy-dev-link index 1001ff43..7eb99ecf 100755 --- a/bin/omarchy-dev-link +++ b/bin/omarchy-dev-link @@ -45,7 +45,7 @@ for required in bin default shell; do done echo "Pointing Omarchy at $target" -printf 'export OMARCHY_PATH="${OMARCHY_PATH:-%s}"\n' "$target" | sudo tee /etc/omarchy.conf >/dev/null +printf 'export OMARCHY_PATH="%s"\n' "$target" | sudo tee /etc/omarchy.conf >/dev/null # Update the current shell so the rest of this script and anything spawned # from it see the new path.