about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/wrappers/deprecated
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/wrappers/deprecated
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 '')
-rwxr-xr-xhome-manager/packages/scripts/wrappers/deprecated/clippy4
-rwxr-xr-xhome-manager/packages/scripts/wrappers/deprecated/pacman/pacComp4
-rwxr-xr-xhome-manager/packages/scripts/wrappers/deprecated/pacman/pacF4
-rwxr-xr-xhome-manager/packages/scripts/wrappers/deprecated/pacman/pacS4
-rwxr-xr-xhome-manager/packages/scripts/wrappers/deprecated/pacman/packages_scan4
-rwxr-xr-xhome-manager/packages/scripts/wrappers/deprecated/xi4
-rwxr-xr-xhome-manager/packages/scripts/wrappers/deprecated/xs2
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