about summary refs log tree commit diff stats
path: root/sys/svcs/xdg
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-24 15:15:42 +0100
committerSoispha <soispha@vhack.eu>2024-02-24 15:16:37 +0100
commita3e5aff0237db74be408c7102e5d98959b49ddc2 (patch)
tree268e27088ca926caf8b87bf5b3703bacdfcfdff4 /sys/svcs/xdg
parentbuild(treewide): Update shell library (diff)
downloadnixos-config-a3e5aff0237db74be408c7102e5d98959b49ddc2.tar.gz
nixos-config-a3e5aff0237db74be408c7102e5d98959b49ddc2.zip
fix(sys/svcs/xdg/{lf,ranger}-wrapper): Add a shell library import
Diffstat (limited to '')
-rwxr-xr-xsys/svcs/xdg/scripts/lf_wrapper.sh5
-rwxr-xr-xsys/svcs/xdg/scripts/ranger_wrapper.sh (renamed from sys/svcs/xdg/scripts/ranger-wrapper.sh)5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/svcs/xdg/scripts/lf_wrapper.sh b/sys/svcs/xdg/scripts/lf_wrapper.sh
index d3aa3e30..97b0b31a 100755
--- a/sys/svcs/xdg/scripts/lf_wrapper.sh
+++ b/sys/svcs/xdg/scripts/lf_wrapper.sh
@@ -1,4 +1,7 @@
-#!/usr/bin/env sh
+#!/usr/bin/env dash
+
+# shellcheck source=/dev/null
+SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH
 
 # This wrapper script is invoked by xdg-desktop-portal-termfilechooser.
 #
diff --git a/sys/svcs/xdg/scripts/ranger-wrapper.sh b/sys/svcs/xdg/scripts/ranger_wrapper.sh
index 46d8e045..a60f114f 100755
--- a/sys/svcs/xdg/scripts/ranger-wrapper.sh
+++ b/sys/svcs/xdg/scripts/ranger_wrapper.sh
@@ -1,4 +1,7 @@
-#!/bin/sh
+#!/usr/bin/env dash
+
+# shellcheck source=/dev/null
+SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH
 # This wrapper script is invoked by xdg-desktop-portal-termfilechooser.
 #
 # Inputs: