From 8826595926ca825b7f8daa832cfcba004dd6a51b Mon Sep 17 00:00:00 2001 From: Don Williams Date: Thu, 25 Dec 2025 21:57:05 -0500 Subject: [PATCH] Fixing QML import pathing On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: install-scripts/quickshell.sh --- install-scripts/quickshell.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install-scripts/quickshell.sh b/install-scripts/quickshell.sh index 4c3f870..592c84a 100755 --- a/install-scripts/quickshell.sh +++ b/install-scripts/quickshell.sh @@ -209,6 +209,16 @@ fi echo "${OK} Quickshell installed successfully." | tee -a "$MLOG" +# Install a wrapper to run Quickshell with system QML imports (avoids Nix/Flatpak overrides) +WRAP=/usr/local/bin/qs-system +sudo tee "$WRAP" >/dev/null <<'EOSH' +#!/usr/bin/env bash +# Run Quickshell preferring system Qt6 QML modules +unset QML_IMPORT_PATH QML2_IMPORT_PATH +exec qs "$@" +EOSH +sudo chmod +x "$WRAP" || true + # Build logs already written to $PARENT_DIR/Install-Logs # Keep source directory for reference in case user wants to rebuild later