about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/apps
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 08:10:59 +0100
committerene <ene@sils.li>2023-02-25 08:10:59 +0100
commit05e674a5d1a965040a6e030c617840c9d567f173 (patch)
tree113eb004a222be4f9f29f4df04582a19ffdc4052 /home-manager/packages/scripts/apps
parentFeat(packages): Add my scripts (diff)
downloadnixos-config-05e674a5d1a965040a6e030c617840c9d567f173.tar.gz
nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.zip
Fix(packages): Don't use hardcoded library paths
Diffstat (limited to 'home-manager/packages/scripts/apps')
-rwxr-xr-xhome-manager/packages/scripts/apps/aumo4
-rwxr-xr-xhome-manager/packages/scripts/apps/con2pdf4
-rwxr-xr-xhome-manager/packages/scripts/apps/deprecated/riR/config4
-rwxr-xr-xhome-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR)4
4 files changed, 8 insertions, 8 deletions
diff --git a/home-manager/packages/scripts/apps/aumo b/home-manager/packages/scripts/apps/aumo
index 863dcf32..df12c111 100755
--- a/home-manager/packages/scripts/apps/aumo
+++ b/home-manager/packages/scripts/apps/aumo
@@ -1,8 +1,8 @@
-#!/bin/sh
+#! /usr/bin/env dash
 # shellcheck disable=SC2046,2086
 
 # shellcheck source=/dev/null
-. ~/.local/lib/shell/lib
+. %SHELL_LIBRARY_PATH
 
 if [ "$1" = "-u" ];then udisksctl unmount -b $(cat $HOME/.cache/aumo/mnt_disk); exit 0; fi
 all_available_disks=$(mktemp)
diff --git a/home-manager/packages/scripts/apps/con2pdf b/home-manager/packages/scripts/apps/con2pdf
index 7d23fe82..30800043 100755
--- a/home-manager/packages/scripts/apps/con2pdf
+++ b/home-manager/packages/scripts/apps/con2pdf
@@ -1,7 +1,7 @@
-#! /bin/sh
+#! /usr/bin/env dash
 # shellcheck disable=SC2086
 # shellcheck source=/dev/null
-. ~/.local/lib/shell/lib
+. %SHELL_LIBRARY_PATH
 
 
 # Vars
diff --git a/home-manager/packages/scripts/apps/deprecated/riR/config b/home-manager/packages/scripts/apps/deprecated/riR/config
index b5607a16..fd6cbc89 100755
--- a/home-manager/packages/scripts/apps/deprecated/riR/config
+++ b/home-manager/packages/scripts/apps/deprecated/riR/config
@@ -1,6 +1,6 @@
-#!/bin/sh
+#! /usr/bin/env dash
 # shellcheck source=/dev/null
-. ~/.local/lib/shell/lib
+. %SHELL_LIBRARY_PATH
 
 git_repo_home="$XDG_CONFIG_HOME"/git_repo
 [ -d "$git_repo_home" ] || mkdir "$git_repo_home"
diff --git a/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR) b/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR)
index 8a216b6b..8071dfa7 100755
--- a/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR)
+++ b/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR)
@@ -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);
 out=$(mktemp);