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 | |
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 '')
11 files changed, 20 insertions, 20 deletions
diff --git a/home-manager/packages/scripts/wrappers/backsnap b/home-manager/packages/scripts/wrappers/backsnap index 3487ba57..cd08045d 100755 --- a/home-manager/packages/scripts/wrappers/backsnap +++ b/home-manager/packages/scripts/wrappers/backsnap @@ -1,3 +1,3 @@ -#! /bin/sh +#! /usr/bin/env dash snap-sync --noconfirm -u d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0 umount /run/dt/d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0 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 diff --git a/home-manager/packages/scripts/wrappers/spodi b/home-manager/packages/scripts/wrappers/spodi index 9c440340..b3cf9013 100755 --- a/home-manager/packages/scripts/wrappers/spodi +++ b/home-manager/packages/scripts/wrappers/spodi @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH DOWN_DIR=/home/dt/media/playlist/down/ diff --git a/home-manager/packages/scripts/wrappers/virsh-del b/home-manager/packages/scripts/wrappers/virsh-del index f2bd8e3d..1ec930bf 100755 --- a/home-manager/packages/scripts/wrappers/virsh-del +++ b/home-manager/packages/scripts/wrappers/virsh-del @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d); diff --git a/home-manager/packages/scripts/wrappers/yti b/home-manager/packages/scripts/wrappers/yti index 97350b37..47e8cf3a 100755 --- a/home-manager/packages/scripts/wrappers/yti +++ b/home-manager/packages/scripts/wrappers/yti @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH DOWN_DIR=/home/dt/media/playlist/down/ |