diff options
author | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
commit | 05e674a5d1a965040a6e030c617840c9d567f173 (patch) | |
tree | 113eb004a222be4f9f29f4df04582a19ffdc4052 /home-manager/packages/scripts/wrappers/deprecated | |
parent | Feat(packages): Add my scripts (diff) | |
download | nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.tar.gz nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.zip |
Fix(packages): Don't use hardcoded library paths
Diffstat (limited to '')
7 files changed, 13 insertions, 13 deletions
diff --git a/home-manager/packages/scripts/wrappers/deprecated/clippy b/home-manager/packages/scripts/wrappers/deprecated/clippy index 89f8554a..ec21ba07 100755 --- a/home-manager/packages/scripts/wrappers/deprecated/clippy +++ b/home-manager/packages/scripts/wrappers/deprecated/clippy @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH tmp=$(mktemp); cat << EOF > $tmp; diff --git a/home-manager/packages/scripts/wrappers/deprecated/pacman/pacComp b/home-manager/packages/scripts/wrappers/deprecated/pacman/pacComp index 9fdfd8e7..5c451ad8 100755 --- a/home-manager/packages/scripts/wrappers/deprecated/pacman/pacComp +++ b/home-manager/packages/scripts/wrappers/deprecated/pacman/pacComp @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH diff --git a/home-manager/packages/scripts/wrappers/deprecated/pacman/pacF b/home-manager/packages/scripts/wrappers/deprecated/pacman/pacF index 09d0329c..09ea8ae5 100755 --- a/home-manager/packages/scripts/wrappers/deprecated/pacman/pacF +++ b/home-manager/packages/scripts/wrappers/deprecated/pacman/pacF @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH while true diff --git a/home-manager/packages/scripts/wrappers/deprecated/pacman/pacS b/home-manager/packages/scripts/wrappers/deprecated/pacman/pacS index 20947864..99b0e9a5 100755 --- a/home-manager/packages/scripts/wrappers/deprecated/pacman/pacS +++ b/home-manager/packages/scripts/wrappers/deprecated/pacman/pacS @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH while true do diff --git a/home-manager/packages/scripts/wrappers/deprecated/pacman/packages_scan b/home-manager/packages/scripts/wrappers/deprecated/pacman/packages_scan index 2229ef23..8beef249 100755 --- a/home-manager/packages/scripts/wrappers/deprecated/pacman/packages_scan +++ b/home-manager/packages/scripts/wrappers/deprecated/pacman/packages_scan @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH tmp=$(tmp 'pacman -Qq'); output=$(mktmp); diff --git a/home-manager/packages/scripts/wrappers/deprecated/xi b/home-manager/packages/scripts/wrappers/deprecated/xi index c2f58528..7d8e2639 100755 --- a/home-manager/packages/scripts/wrappers/deprecated/xi +++ b/home-manager/packages/scripts/wrappers/deprecated/xi @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH export XKB_DEFAULT_LAYOUT="mykeys" exec river diff --git a/home-manager/packages/scripts/wrappers/deprecated/xs b/home-manager/packages/scripts/wrappers/deprecated/xs index 50908071..954cbca9 100755 --- a/home-manager/packages/scripts/wrappers/deprecated/xs +++ b/home-manager/packages/scripts/wrappers/deprecated/xs @@ -1,4 +1,4 @@ -#!/bin/sh +#! /usr/bin/env dash # # This is just a sample implementation of a slightly less primitive |