From 7e61df9b59abcd6d88ef3956061c8495851a55fe Mon Sep 17 00:00:00 2001 From: kenji Date: Mon, 24 Nov 2025 17:13:29 -0600 Subject: [PATCH] replaced nix_switchwall.sh --- .config/quickshell/ii/scripts/colors/nix_switchwall.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/quickshell/ii/scripts/colors/nix_switchwall.sh b/.config/quickshell/ii/scripts/colors/nix_switchwall.sh index 555d59063..449241bfd 100755 --- a/.config/quickshell/ii/scripts/colors/nix_switchwall.sh +++ b/.config/quickshell/ii/scripts/colors/nix_switchwall.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash - cd "$(dirname "$0")" -# Execute the switchwall.sh script within the Nix environment. -nix develop --command ./switchwall.sh "$@" +# Use 'nix run' to utilize the wrapper defined in your flake +# --impure is sometimes needed if your flake relies on uncommitted files or local paths +nix run . --impure -- "$@"