about summary refs log tree commit diff stats
path: root/modules/by-name/lf/lf/ctpv/prev/application/dll/dll.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 14:56:55 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 14:56:55 +0100
commit53d49dbebccfcbd68f360b067af9a69e1a130a1f (patch)
tree5747b269d25b76fdf3fb6071c441da163e2927c2 /modules/by-name/lf/lf/ctpv/prev/application/dll/dll.sh
parentfix(flake/nixosConfigurations/common): Disable ollama by default (diff)
downloadnixos-config-53d49dbebccfcbd68f360b067af9a69e1a130a1f.zip
feat(modules/lf/ctpv): Rework as module with autoloading
Diffstat (limited to 'modules/by-name/lf/lf/ctpv/prev/application/dll/dll.sh')
-rw-r--r--modules/by-name/lf/lf/ctpv/prev/application/dll/dll.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/by-name/lf/lf/ctpv/prev/application/dll/dll.sh b/modules/by-name/lf/lf/ctpv/prev/application/dll/dll.sh
new file mode 100644
index 00000000..678506eb
--- /dev/null
+++ b/modules/by-name/lf/lf/ctpv/prev/application/dll/dll.sh
@@ -0,0 +1,19 @@
+#! /usr/bin/env dash
+
+# shellcheck source=/dev/null
+SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
+
+# shellcheck disable=SC2269
+f="$f"
+# shellcheck disable=SC2269
+w="$w"
+# shellcheck disable=SC2269
+e="$e"
+# shellcheck disable=SC2269
+m="$m"
+# shellcheck disable=SC2269
+h="$h"
+
+. %HELPERS
+
+preview_xxd "$f"