diff options
author | Soispha <soispha@vhack.eu> | 2023-05-29 15:38:03 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-29 16:00:49 +0200 |
commit | 39229a19463310de345315791661d2dec8f3bdf0 (patch) | |
tree | 05405fd3fda2e29dcf7826b6fdd4442f719f55ea /home-manager/config/lf/commands/scripts | |
parent | chore(version): v1.7.0 (diff) | |
download | nixos-config-39229a19463310de345315791661d2dec8f3bdf0.tar.gz nixos-config-39229a19463310de345315791661d2dec8f3bdf0.zip |
Fix(treewide): Update the shell library version
Diffstat (limited to '')
21 files changed, 21 insertions, 21 deletions
diff --git a/home-manager/config/lf/commands/scripts/archive b/home-manager/config/lf/commands/scripts/archive index 3d267fa1..48fe25fc 100755 --- a/home-manager/config/lf/commands/scripts/archive +++ b/home-manager/config/lf/commands/scripts/archive @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %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/home-manager/config/lf/commands/scripts/broot_jump b/home-manager/config/lf/commands/scripts/broot_jump index ea8a8b8d..abefc616 100755 --- a/home-manager/config/lf/commands/scripts/broot_jump +++ b/home-manager/config/lf/commands/scripts/broot_jump @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH tmp=$(mktmp) res="$(broot --outcmd "$tmp" && sed 's/cd //' "$tmp")" diff --git a/home-manager/config/lf/commands/scripts/chmod b/home-manager/config/lf/commands/scripts/chmod index 92f75e60..07bc37cc 100755 --- a/home-manager/config/lf/commands/scripts/chmod +++ b/home-manager/config/lf/commands/scripts/chmod @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH readp "Mode bits: " bits diff --git a/home-manager/config/lf/commands/scripts/clear_trash b/home-manager/config/lf/commands/scripts/clear_trash index b57e8a00..f2571fcc 100755 --- a/home-manager/config/lf/commands/scripts/clear_trash +++ b/home-manager/config/lf/commands/scripts/clear_trash @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %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/home-manager/config/lf/commands/scripts/dl_file b/home-manager/config/lf/commands/scripts/dl_file index 13d294a8..54518049 100755 --- a/home-manager/config/lf/commands/scripts/dl_file +++ b/home-manager/config/lf/commands/scripts/dl_file @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH # Provides the ability to download a file by dropping it into a window diff --git a/home-manager/config/lf/commands/scripts/dragon b/home-manager/config/lf/commands/scripts/dragon index 0978502b..7e2d9ba6 100755 --- a/home-manager/config/lf/commands/scripts/dragon +++ b/home-manager/config/lf/commands/scripts/dragon @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH while read -r file; do set -- "$@" "$file" diff --git a/home-manager/config/lf/commands/scripts/dragon_individual b/home-manager/config/lf/commands/scripts/dragon_individual index f80bcd31..5d55aaa8 100755 --- a/home-manager/config/lf/commands/scripts/dragon_individual +++ b/home-manager/config/lf/commands/scripts/dragon_individual @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH while read -r file; do set -- "$@" "$file" diff --git a/home-manager/config/lf/commands/scripts/dragon_stay b/home-manager/config/lf/commands/scripts/dragon_stay index 05eb606c..f3483483 100755 --- a/home-manager/config/lf/commands/scripts/dragon_stay +++ b/home-manager/config/lf/commands/scripts/dragon_stay @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH while read -r file; do set -- "$@" "$file"; diff --git a/home-manager/config/lf/commands/scripts/fzf_jump b/home-manager/config/lf/commands/scripts/fzf_jump index ef4b510b..c05216f0 100755 --- a/home-manager/config/lf/commands/scripts/fzf_jump +++ b/home-manager/config/lf/commands/scripts/fzf_jump @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH res="$(fd . --maxdepth 3 | fzf --header='Jump to location')" diff --git a/home-manager/config/lf/commands/scripts/mk_dir b/home-manager/config/lf/commands/scripts/mk_dir index 7793bad0..4dca06dc 100755 --- a/home-manager/config/lf/commands/scripts/mk_dir +++ b/home-manager/config/lf/commands/scripts/mk_dir @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH prompt "Directory Name: " name="" diff --git a/home-manager/config/lf/commands/scripts/mk_file b/home-manager/config/lf/commands/scripts/mk_file index 11cac9b3..2e5a2deb 100755 --- a/home-manager/config/lf/commands/scripts/mk_file +++ b/home-manager/config/lf/commands/scripts/mk_file @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH prompt "File name: " name="" diff --git a/home-manager/config/lf/commands/scripts/mk_ln b/home-manager/config/lf/commands/scripts/mk_ln index 6563f29b..1e97517f 100755 --- a/home-manager/config/lf/commands/scripts/mk_ln +++ b/home-manager/config/lf/commands/scripts/mk_ln @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH while IFS= read -r i;do set -- "$@" "$i" diff --git a/home-manager/config/lf/commands/scripts/mk_scr_default b/home-manager/config/lf/commands/scripts/mk_scr_default index 2f265aad..b13ca9f5 100755 --- a/home-manager/config/lf/commands/scripts/mk_scr_default +++ b/home-manager/config/lf/commands/scripts/mk_scr_default @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH prompt "Script name: " diff --git a/home-manager/config/lf/commands/scripts/mk_scr_temp b/home-manager/config/lf/commands/scripts/mk_scr_temp index e8a92c5e..a520469c 100755 --- a/home-manager/config/lf/commands/scripts/mk_scr_temp +++ b/home-manager/config/lf/commands/scripts/mk_scr_temp @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH prompt "Script name: " diff --git a/home-manager/config/lf/commands/scripts/open b/home-manager/config/lf/commands/scripts/open index 60382594..c507482b 100755 --- a/home-manager/config/lf/commands/scripts/open +++ b/home-manager/config/lf/commands/scripts/open @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH case $(file --mime-type "$f" -bL) in text/*|application/json|application/vnd.hp-HPGL) "$EDITOR" "$f";; diff --git a/home-manager/config/lf/commands/scripts/open_config b/home-manager/config/lf/commands/scripts/open_config index 63e0c1b6..c99422f1 100755 --- a/home-manager/config/lf/commands/scripts/open_config +++ b/home-manager/config/lf/commands/scripts/open_config @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH "$EDITOR" "$(bookmenu -b ~/.config/bookmenu/configs -f fzf -o)" # TODO implement this # vim: ft=sh diff --git a/home-manager/config/lf/commands/scripts/restore_trash b/home-manager/config/lf/commands/scripts/restore_trash index 147bfd2d..a7bf0094 100755 --- a/home-manager/config/lf/commands/scripts/restore_trash +++ b/home-manager/config/lf/commands/scripts/restore_trash @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH trash list | fzf --multi | awk '{print $NF}' | xargs trash restore --match=exact # vim: ft=sh diff --git a/home-manager/config/lf/commands/scripts/set_wall_paper b/home-manager/config/lf/commands/scripts/set_wall_paper index f7ecdf7a..45049283 100755 --- a/home-manager/config/lf/commands/scripts/set_wall_paper +++ b/home-manager/config/lf/commands/scripts/set_wall_paper @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %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/home-manager/config/lf/commands/scripts/stripspace b/home-manager/config/lf/commands/scripts/stripspace index 2f047795..91714712 100755 --- a/home-manager/config/lf/commands/scripts/stripspace +++ b/home-manager/config/lf/commands/scripts/stripspace @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH files=$(mktmp); echo "$fx" > "$files"; diff --git a/home-manager/config/lf/commands/scripts/trash b/home-manager/config/lf/commands/scripts/trash index c666b5eb..7f477550 100755 --- a/home-manager/config/lf/commands/scripts/trash +++ b/home-manager/config/lf/commands/scripts/trash @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH trash_output=$(mktmp); expected_error_output=$(mktmp); diff --git a/home-manager/config/lf/commands/scripts/unarchive b/home-manager/config/lf/commands/scripts/unarchive index 228cdf99..69cc601c 100755 --- a/home-manager/config/lf/commands/scripts/unarchive +++ b/home-manager/config/lf/commands/scripts/unarchive @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH # extract the current file with the right command # (xkcd link: https://xkcd.com/1168/) |