about summary refs log tree commit diff stats
path: root/hm/soispha/conf/lf/commands/scripts
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-13 22:04:00 +0100
committerSoispha <soispha@vhack.eu>2024-01-13 22:04:00 +0100
commitfae6e6a0458c848fb44964023e0cb0e10b6cb1ba (patch)
treeef33ed778ad7df7ef67e89c6b32657604cd3646c /hm/soispha/conf/lf/commands/scripts
parentdocs(hm/pkgs/scrs/neorg/utils): Fix typo in comment (diff)
downloadnixos-config-fae6e6a0458c848fb44964023e0cb0e10b6cb1ba.zip
build(treewide): Update shell library
Diffstat (limited to 'hm/soispha/conf/lf/commands/scripts')
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/archive2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/broot_jump2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/chmod2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/clear_trash2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/cow_cp2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/dl_file2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/dragon2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/dragon_individual2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/dragon_stay2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/fzf_jump2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/go_project_root2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/mk_dir2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/mk_file2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/mk_file_and_edit2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/mk_ln2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/mk_scr_default2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/mk_scr_temp2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/open2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/open_config2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/restore_trash2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/set_wall_paper2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/stripspace2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/trash2
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/unarchive2
24 files changed, 24 insertions, 24 deletions
diff --git a/hm/soispha/conf/lf/commands/scripts/archive b/hm/soispha/conf/lf/commands/scripts/archive
index 61219bb3..62e62b78 100755
--- a/hm/soispha/conf/lf/commands/scripts/archive
+++ b/hm/soispha/conf/lf/commands/scripts/archive
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 # Option '-f' disables pathname expansion which can be useful when $f, $fs, and
 # $fx variables contain names with '*' or '?' characters. However, this option
diff --git a/hm/soispha/conf/lf/commands/scripts/broot_jump b/hm/soispha/conf/lf/commands/scripts/broot_jump
index 9d32560c..a5d11c07 100755
--- a/hm/soispha/conf/lf/commands/scripts/broot_jump
+++ b/hm/soispha/conf/lf/commands/scripts/broot_jump
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 tmp=$(mktmp)
 res="$(broot --outcmd "$tmp" && sed 's/cd //' "$tmp")"
diff --git a/hm/soispha/conf/lf/commands/scripts/chmod b/hm/soispha/conf/lf/commands/scripts/chmod
index 813e2eac..89eb77d5 100755
--- a/hm/soispha/conf/lf/commands/scripts/chmod
+++ b/hm/soispha/conf/lf/commands/scripts/chmod
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 readp "Mode bits: " bits
 
diff --git a/hm/soispha/conf/lf/commands/scripts/clear_trash b/hm/soispha/conf/lf/commands/scripts/clear_trash
index a4650059..8d50a3fe 100755
--- a/hm/soispha/conf/lf/commands/scripts/clear_trash
+++ b/hm/soispha/conf/lf/commands/scripts/clear_trash
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 # could also use --force, for instand removal
 trash list | fzf --multi | awk '{print $NF}' | xargs trash empty --match=exact
diff --git a/hm/soispha/conf/lf/commands/scripts/cow_cp b/hm/soispha/conf/lf/commands/scripts/cow_cp
index c9c026c3..11ea89c8 100755
--- a/hm/soispha/conf/lf/commands/scripts/cow_cp
+++ b/hm/soispha/conf/lf/commands/scripts/cow_cp
@@ -1,7 +1,7 @@
 #!/usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 # source: https://github.com/gokcehan/lf/wiki/Tips#use-copy-on-write-when-possible
 #
diff --git a/hm/soispha/conf/lf/commands/scripts/dl_file b/hm/soispha/conf/lf/commands/scripts/dl_file
index fd52d224..9b0128a4 100755
--- a/hm/soispha/conf/lf/commands/scripts/dl_file
+++ b/hm/soispha/conf/lf/commands/scripts/dl_file
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 # Provides the ability to download a file by dropping it into a window
 
diff --git a/hm/soispha/conf/lf/commands/scripts/dragon b/hm/soispha/conf/lf/commands/scripts/dragon
index 2834a419..2832b959 100755
--- a/hm/soispha/conf/lf/commands/scripts/dragon
+++ b/hm/soispha/conf/lf/commands/scripts/dragon
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 while read -r file; do
     set -- "$@" "$file"
diff --git a/hm/soispha/conf/lf/commands/scripts/dragon_individual b/hm/soispha/conf/lf/commands/scripts/dragon_individual
index 32ce6994..5aa63b46 100755
--- a/hm/soispha/conf/lf/commands/scripts/dragon_individual
+++ b/hm/soispha/conf/lf/commands/scripts/dragon_individual
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 while read -r file; do
     set -- "$@" "$file"
diff --git a/hm/soispha/conf/lf/commands/scripts/dragon_stay b/hm/soispha/conf/lf/commands/scripts/dragon_stay
index d1fe3a4c..ac29940e 100755
--- a/hm/soispha/conf/lf/commands/scripts/dragon_stay
+++ b/hm/soispha/conf/lf/commands/scripts/dragon_stay
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 while read -r file; do
     set -- "$@" "$file";
diff --git a/hm/soispha/conf/lf/commands/scripts/fzf_jump b/hm/soispha/conf/lf/commands/scripts/fzf_jump
index c35494a4..db465eec 100755
--- a/hm/soispha/conf/lf/commands/scripts/fzf_jump
+++ b/hm/soispha/conf/lf/commands/scripts/fzf_jump
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 res="$(fd . --maxdepth 3 | fzf --header='Jump to location')"
 
diff --git a/hm/soispha/conf/lf/commands/scripts/go_project_root b/hm/soispha/conf/lf/commands/scripts/go_project_root
index da2455a5..a7fb67dc 100755
--- a/hm/soispha/conf/lf/commands/scripts/go_project_root
+++ b/hm/soispha/conf/lf/commands/scripts/go_project_root
@@ -1,7 +1,7 @@
 #!/usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 flake_base_dir="$(search_flake_base_dir)";
 if [ "$flake_base_dir" ]; then
diff --git a/hm/soispha/conf/lf/commands/scripts/mk_dir b/hm/soispha/conf/lf/commands/scripts/mk_dir
index e31df7de..42e9b418 100755
--- a/hm/soispha/conf/lf/commands/scripts/mk_dir
+++ b/hm/soispha/conf/lf/commands/scripts/mk_dir
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 prompt "Directory Name: "
 name=""
diff --git a/hm/soispha/conf/lf/commands/scripts/mk_file b/hm/soispha/conf/lf/commands/scripts/mk_file
index 69e3b5a2..9d5c09cd 100755
--- a/hm/soispha/conf/lf/commands/scripts/mk_file
+++ b/hm/soispha/conf/lf/commands/scripts/mk_file
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 prompt "File name: "
 name=""
diff --git a/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit b/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit
index ab1a71c0..9a797ab7 100755
--- a/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit
+++ b/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 prompt "File name: "
 name=""
diff --git a/hm/soispha/conf/lf/commands/scripts/mk_ln b/hm/soispha/conf/lf/commands/scripts/mk_ln
index 2c60b634..126c3975 100755
--- a/hm/soispha/conf/lf/commands/scripts/mk_ln
+++ b/hm/soispha/conf/lf/commands/scripts/mk_ln
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 while IFS= read -r i;do
     set -- "$@" "$i"
diff --git a/hm/soispha/conf/lf/commands/scripts/mk_scr_default b/hm/soispha/conf/lf/commands/scripts/mk_scr_default
index 7545759f..1b2bfc39 100755
--- a/hm/soispha/conf/lf/commands/scripts/mk_scr_default
+++ b/hm/soispha/conf/lf/commands/scripts/mk_scr_default
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 
 prompt "Script name: "
diff --git a/hm/soispha/conf/lf/commands/scripts/mk_scr_temp b/hm/soispha/conf/lf/commands/scripts/mk_scr_temp
index ccac854f..5f55a4fc 100755
--- a/hm/soispha/conf/lf/commands/scripts/mk_scr_temp
+++ b/hm/soispha/conf/lf/commands/scripts/mk_scr_temp
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 
 prompt "Script name: "
diff --git a/hm/soispha/conf/lf/commands/scripts/open b/hm/soispha/conf/lf/commands/scripts/open
index 178db644..c10b0490 100755
--- a/hm/soispha/conf/lf/commands/scripts/open
+++ b/hm/soispha/conf/lf/commands/scripts/open
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 case $(file --mime-type "$f" -bL) in
     text/*|application/json|application/vnd.hp-HPGL) "$EDITOR" "$f";;
diff --git a/hm/soispha/conf/lf/commands/scripts/open_config b/hm/soispha/conf/lf/commands/scripts/open_config
index a5fad8fa..af9205bb 100755
--- a/hm/soispha/conf/lf/commands/scripts/open_config
+++ b/hm/soispha/conf/lf/commands/scripts/open_config
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 "$EDITOR" "$(bookmenu -b ~/.config/bookmenu/configs -f fzf -o)" # TODO: implement this
 # vim: ft=sh
diff --git a/hm/soispha/conf/lf/commands/scripts/restore_trash b/hm/soispha/conf/lf/commands/scripts/restore_trash
index 848617fb..fe12ed22 100755
--- a/hm/soispha/conf/lf/commands/scripts/restore_trash
+++ b/hm/soispha/conf/lf/commands/scripts/restore_trash
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 trash list | fzf --multi | awk '{print $NF}' | xargs trash restore --match=exact
 # vim: ft=sh
diff --git a/hm/soispha/conf/lf/commands/scripts/set_wall_paper b/hm/soispha/conf/lf/commands/scripts/set_wall_paper
index 9dc573bf..6b9e8f4a 100755
--- a/hm/soispha/conf/lf/commands/scripts/set_wall_paper
+++ b/hm/soispha/conf/lf/commands/scripts/set_wall_paper
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 die "No yet implemented" # TODO: do what the 'die' says
 #sed -i "s,export AWMWALLPAPER='.*',export AWMWALLPAPER='${f}'," ${ZDOTDIR}/.zshenv
diff --git a/hm/soispha/conf/lf/commands/scripts/stripspace b/hm/soispha/conf/lf/commands/scripts/stripspace
index 3bfcafa9..2e637c1f 100755
--- a/hm/soispha/conf/lf/commands/scripts/stripspace
+++ b/hm/soispha/conf/lf/commands/scripts/stripspace
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 files=$(mktmp);
 echo "$fx" > "$files";
diff --git a/hm/soispha/conf/lf/commands/scripts/trash b/hm/soispha/conf/lf/commands/scripts/trash
index 0db9452e..66a8ed05 100755
--- a/hm/soispha/conf/lf/commands/scripts/trash
+++ b/hm/soispha/conf/lf/commands/scripts/trash
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 trash_output=$(mktmp);
 expected_error_output=$(mktmp);
diff --git a/hm/soispha/conf/lf/commands/scripts/unarchive b/hm/soispha/conf/lf/commands/scripts/unarchive
index 082bfa09..094433a3 100755
--- a/hm/soispha/conf/lf/commands/scripts/unarchive
+++ b/hm/soispha/conf/lf/commands/scripts/unarchive
@@ -1,7 +1,7 @@
 #! /usr/bin/env dash
 
 # shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH
+SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH
 
 # extract the current file with the right command
 # (xkcd link: https://xkcd.com/1168/)