From 32d1ea64a579ad4f19fd4b5bc08353fe7a58605b Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 24 Feb 2024 15:11:26 +0100 Subject: build(treewide): Update shell library --- bootstrap/01_activate.sh | 2 +- bootstrap/01_install.sh | 2 +- bootstrap/02_setup.sh | 2 +- bootstrap/03_config_setup.sh | 2 +- bootstrap/99_ensure_config_variables.sh | 2 +- flake.lock | 8 ++++---- hm/soispha/conf/git/scripts/commit.sh | 2 +- hm/soispha/conf/lf/commands/scripts/archive.sh | 2 +- hm/soispha/conf/lf/commands/scripts/broot_jump.sh | 2 +- hm/soispha/conf/lf/commands/scripts/chmod.sh | 2 +- hm/soispha/conf/lf/commands/scripts/clear_trash.sh | 2 +- hm/soispha/conf/lf/commands/scripts/cow_cp.sh | 2 +- hm/soispha/conf/lf/commands/scripts/dl_file.sh | 2 +- hm/soispha/conf/lf/commands/scripts/dragon.sh | 2 +- hm/soispha/conf/lf/commands/scripts/dragon_individual.sh | 2 +- hm/soispha/conf/lf/commands/scripts/dragon_stay.sh | 2 +- hm/soispha/conf/lf/commands/scripts/execute.sh | 2 +- hm/soispha/conf/lf/commands/scripts/fzf_jump.sh | 2 +- hm/soispha/conf/lf/commands/scripts/go_project_root.sh | 2 +- hm/soispha/conf/lf/commands/scripts/mk_dir.sh | 2 +- hm/soispha/conf/lf/commands/scripts/mk_file.sh | 2 +- hm/soispha/conf/lf/commands/scripts/mk_file_and_edit.sh | 2 +- hm/soispha/conf/lf/commands/scripts/mk_ln.sh | 2 +- hm/soispha/conf/lf/commands/scripts/mk_scr_default.sh | 2 +- hm/soispha/conf/lf/commands/scripts/mk_scr_temp.sh | 2 +- hm/soispha/conf/lf/commands/scripts/restore_trash.sh | 2 +- hm/soispha/conf/lf/commands/scripts/set_wall_paper.sh | 2 +- hm/soispha/conf/lf/commands/scripts/stripspace.sh | 2 +- hm/soispha/conf/lf/commands/scripts/trash.sh | 2 +- hm/soispha/conf/lf/commands/scripts/unarchive.sh | 2 +- hm/soispha/conf/lf/commands/scripts/view_file.sh | 2 +- .../conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh | 2 +- hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh | 2 +- .../conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh | 2 +- hm/soispha/conf/xdg/url_handler.sh | 2 +- hm/soispha/conf/yambar/scripts/disk.sh | 2 +- hm/soispha/conf/yambar/scripts/mpd_song_name.sh | 2 +- hm/soispha/conf/yambar/scripts/network.sh | 2 +- hm/soispha/conf/yambar/scripts/sound-volume.sh | 2 +- hm/soispha/conf/zsh/default.nix | 2 +- hm/soispha/wms/river/init.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/apps/con2pdf.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh | 2 +- .../pkgs/scripts/source/small_functions/screenshot_persistent.sh | 2 +- .../pkgs/scripts/source/small_functions/screenshot_temporary.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/small_functions/update-sys.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/specific/neorg/sh/main.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/specific/ytcc/description.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/battery.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/hibernate.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/ll.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/lock.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/lyrics.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-rm.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/mpc.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/show.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/sort_song.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/spodi.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/virsh-del.sh | 2 +- sys/nixpkgs/pkgs/scripts/source/wrappers/yti.sh | 2 +- 63 files changed, 66 insertions(+), 66 deletions(-) diff --git a/bootstrap/01_activate.sh b/bootstrap/01_activate.sh index ccfdd644..b07187d4 100755 --- a/bootstrap/01_activate.sh +++ b/bootstrap/01_activate.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/01_install.sh b/bootstrap/01_install.sh index bf49af60..86402d3f 100755 --- a/bootstrap/01_install.sh +++ b/bootstrap/01_install.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH INSTALL=y . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/02_setup.sh b/bootstrap/02_setup.sh index 7b539c52..fa271d0d 100755 --- a/bootstrap/02_setup.sh +++ b/bootstrap/02_setup.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/03_config_setup.sh b/bootstrap/03_config_setup.sh index dc2726d0..fdd02d82 100755 --- a/bootstrap/03_config_setup.sh +++ b/bootstrap/03_config_setup.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # clone packer.nvim to the needed dir, for the nvim install to work git clone --depth 1 https://github.com/wbthomason/packer.nvim /mnt/srv/home/soispha/.local/share/nvim/site/pack/packer/start/packer.nvim diff --git a/bootstrap/99_ensure_config_variables.sh b/bootstrap/99_ensure_config_variables.sh index ba7d0a58..9d8fb3dd 100755 --- a/bootstrap/99_ensure_config_variables.sh +++ b/bootstrap/99_ensure_config_variables.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH if ! [ "$NIX_ENVIRONMENT_VARIABLES_SET" ]; then if ! [ "$NIX_HOST" ]; then diff --git a/flake.lock b/flake.lock index ef3a4b18..a0dbc208 100644 --- a/flake.lock +++ b/flake.lock @@ -735,11 +735,11 @@ ] }, "locked": { - "lastModified": 1708780295, - "narHash": "sha256-ZL4lwJeKNjmvm/mg3KRy3+OyUYxZTl1eJNRmEqHzNhQ=", + "lastModified": 1708783837, + "narHash": "sha256-ePABeQg61pl4ALo1CbDo0bg/fSql8J5TEfVhgfWEoGA=", "ref": "refs/heads/prime", - "rev": "3faa1f33598be74ca1bdad621c5b66d153be0e3d", - "revCount": 175, + "rev": "6276f2685586df916b9b6d6fd15e878373a49425", + "revCount": 178, "type": "git", "url": "https://codeberg.org/soispha/shell_library.git" }, diff --git a/hm/soispha/conf/git/scripts/commit.sh b/hm/soispha/conf/git/scripts/commit.sh index c0d706e2..7f6efc73 100755 --- a/hm/soispha/conf/git/scripts/commit.sh +++ b/hm/soispha/conf/git/scripts/commit.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH ROOT="$(git rev-parse --show-toplevel)" diff --git a/hm/soispha/conf/lf/commands/scripts/archive.sh b/hm/soispha/conf/lf/commands/scripts/archive.sh index e8f1365e..27947d6f 100755 --- a/hm/soispha/conf/lf/commands/scripts/archive.sh +++ b/hm/soispha/conf/lf/commands/scripts/archive.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %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.sh b/hm/soispha/conf/lf/commands/scripts/broot_jump.sh index 4afb36ac..0e4cba2f 100755 --- a/hm/soispha/conf/lf/commands/scripts/broot_jump.sh +++ b/hm/soispha/conf/lf/commands/scripts/broot_jump.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/chmod.sh b/hm/soispha/conf/lf/commands/scripts/chmod.sh index 81373352..12530cdc 100755 --- a/hm/soispha/conf/lf/commands/scripts/chmod.sh +++ b/hm/soispha/conf/lf/commands/scripts/chmod.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/clear_trash.sh b/hm/soispha/conf/lf/commands/scripts/clear_trash.sh index f2ec5c5e..1a0bdac7 100755 --- a/hm/soispha/conf/lf/commands/scripts/clear_trash.sh +++ b/hm/soispha/conf/lf/commands/scripts/clear_trash.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %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.sh b/hm/soispha/conf/lf/commands/scripts/cow_cp.sh index c17b7668..3f14704b 100755 --- a/hm/soispha/conf/lf/commands/scripts/cow_cp.sh +++ b/hm/soispha/conf/lf/commands/scripts/cow_cp.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/dl_file.sh b/hm/soispha/conf/lf/commands/scripts/dl_file.sh index 4f97f9b9..fbd0f21b 100755 --- a/hm/soispha/conf/lf/commands/scripts/dl_file.sh +++ b/hm/soispha/conf/lf/commands/scripts/dl_file.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/dragon.sh b/hm/soispha/conf/lf/commands/scripts/dragon.sh index 70633583..5a38305e 100755 --- a/hm/soispha/conf/lf/commands/scripts/dragon.sh +++ b/hm/soispha/conf/lf/commands/scripts/dragon.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/dragon_individual.sh b/hm/soispha/conf/lf/commands/scripts/dragon_individual.sh index 500be67c..be82f0f9 100755 --- a/hm/soispha/conf/lf/commands/scripts/dragon_individual.sh +++ b/hm/soispha/conf/lf/commands/scripts/dragon_individual.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/dragon_stay.sh b/hm/soispha/conf/lf/commands/scripts/dragon_stay.sh index 273482ea..dddaf4ab 100755 --- a/hm/soispha/conf/lf/commands/scripts/dragon_stay.sh +++ b/hm/soispha/conf/lf/commands/scripts/dragon_stay.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/execute.sh b/hm/soispha/conf/lf/commands/scripts/execute.sh index 15db0b70..587d1f1a 100755 --- a/hm/soispha/conf/lf/commands/scripts/execute.sh +++ b/hm/soispha/conf/lf/commands/scripts/execute.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/fzf_jump.sh b/hm/soispha/conf/lf/commands/scripts/fzf_jump.sh index 6f8981f3..edfa0ab0 100755 --- a/hm/soispha/conf/lf/commands/scripts/fzf_jump.sh +++ b/hm/soispha/conf/lf/commands/scripts/fzf_jump.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH res="$(fd . --maxdepth 3 | fzf --header='Jump to location')" diff --git a/hm/soispha/conf/lf/commands/scripts/go_project_root.sh b/hm/soispha/conf/lf/commands/scripts/go_project_root.sh index e1147fce..e0e27e9a 100755 --- a/hm/soispha/conf/lf/commands/scripts/go_project_root.sh +++ b/hm/soispha/conf/lf/commands/scripts/go_project_root.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/mk_dir.sh b/hm/soispha/conf/lf/commands/scripts/mk_dir.sh index 6079b85d..e3dc5ee4 100755 --- a/hm/soispha/conf/lf/commands/scripts/mk_dir.sh +++ b/hm/soispha/conf/lf/commands/scripts/mk_dir.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/mk_file.sh b/hm/soispha/conf/lf/commands/scripts/mk_file.sh index 9fb0a000..2951ec94 100755 --- a/hm/soispha/conf/lf/commands/scripts/mk_file.sh +++ b/hm/soispha/conf/lf/commands/scripts/mk_file.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit.sh b/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit.sh index 2007cc99..dc9fe87e 100755 --- a/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit.sh +++ b/hm/soispha/conf/lf/commands/scripts/mk_file_and_edit.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/mk_ln.sh b/hm/soispha/conf/lf/commands/scripts/mk_ln.sh index e767c848..889be037 100755 --- a/hm/soispha/conf/lf/commands/scripts/mk_ln.sh +++ b/hm/soispha/conf/lf/commands/scripts/mk_ln.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/mk_scr_default.sh b/hm/soispha/conf/lf/commands/scripts/mk_scr_default.sh index 7ca3759e..6ceed95e 100755 --- a/hm/soispha/conf/lf/commands/scripts/mk_scr_default.sh +++ b/hm/soispha/conf/lf/commands/scripts/mk_scr_default.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/mk_scr_temp.sh b/hm/soispha/conf/lf/commands/scripts/mk_scr_temp.sh index 0f8394fa..17ef76be 100755 --- a/hm/soispha/conf/lf/commands/scripts/mk_scr_temp.sh +++ b/hm/soispha/conf/lf/commands/scripts/mk_scr_temp.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/restore_trash.sh b/hm/soispha/conf/lf/commands/scripts/restore_trash.sh index 7aeed7bf..05b850d3 100755 --- a/hm/soispha/conf/lf/commands/scripts/restore_trash.sh +++ b/hm/soispha/conf/lf/commands/scripts/restore_trash.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/set_wall_paper.sh b/hm/soispha/conf/lf/commands/scripts/set_wall_paper.sh index 828c0708..57dcb931 100755 --- a/hm/soispha/conf/lf/commands/scripts/set_wall_paper.sh +++ b/hm/soispha/conf/lf/commands/scripts/set_wall_paper.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/stripspace.sh b/hm/soispha/conf/lf/commands/scripts/stripspace.sh index 65eefbcd..37d8126c 100755 --- a/hm/soispha/conf/lf/commands/scripts/stripspace.sh +++ b/hm/soispha/conf/lf/commands/scripts/stripspace.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/trash.sh b/hm/soispha/conf/lf/commands/scripts/trash.sh index c605420e..deea608a 100755 --- a/hm/soispha/conf/lf/commands/scripts/trash.sh +++ b/hm/soispha/conf/lf/commands/scripts/trash.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/unarchive.sh b/hm/soispha/conf/lf/commands/scripts/unarchive.sh index 7a1377fa..25e17a82 100755 --- a/hm/soispha/conf/lf/commands/scripts/unarchive.sh +++ b/hm/soispha/conf/lf/commands/scripts/unarchive.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/lf/commands/scripts/view_file.sh b/hm/soispha/conf/lf/commands/scripts/view_file.sh index a7d7055d..2a82e52f 100755 --- a/hm/soispha/conf/lf/commands/scripts/view_file.sh +++ b/hm/soispha/conf/lf/commands/scripts/view_file.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # shellcheck disable=SC2269 f="$f" diff --git a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh index 6f09a7e6..3b87a204 100755 --- a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh +++ b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_enforce-policies.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # override shell lib output to stdout eprint() { diff --git a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh index 085115e7..e21e3c4b 100755 --- a/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh +++ b/hm/soispha/conf/taskwarrior/hooks/scripts/on-add_sync-git-repo.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # override shell lib output to stdout eprint() { diff --git a/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh b/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh index 996e105a..1200a1bf 100755 --- a/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh +++ b/hm/soispha/conf/taskwarrior/hooks/scripts/on-modify_sync-git-repo.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # override shell lib output to stdout eprint() { diff --git a/hm/soispha/conf/xdg/url_handler.sh b/hm/soispha/conf/xdg/url_handler.sh index 53ae4986..ae783ad0 100755 --- a/hm/soispha/conf/xdg/url_handler.sh +++ b/hm/soispha/conf/xdg/url_handler.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH project="$(echo "%ALL_PROJECTS_PIPE|nvim|zathura|" | rofi -sep "|" -dmenu)" diff --git a/hm/soispha/conf/yambar/scripts/disk.sh b/hm/soispha/conf/yambar/scripts/disk.sh index 284661b9..3cae64c7 100755 --- a/hm/soispha/conf/yambar/scripts/disk.sh +++ b/hm/soispha/conf/yambar/scripts/disk.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # Main loop while true; do diff --git a/hm/soispha/conf/yambar/scripts/mpd_song_name.sh b/hm/soispha/conf/yambar/scripts/mpd_song_name.sh index b251619b..1c8e4e8d 100755 --- a/hm/soispha/conf/yambar/scripts/mpd_song_name.sh +++ b/hm/soispha/conf/yambar/scripts/mpd_song_name.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH while true; do state="$(mpc status '%state%')" diff --git a/hm/soispha/conf/yambar/scripts/network.sh b/hm/soispha/conf/yambar/scripts/network.sh index b4396640..26177d53 100755 --- a/hm/soispha/conf/yambar/scripts/network.sh +++ b/hm/soispha/conf/yambar/scripts/network.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH retest=120 retest_if_con_fails=10 diff --git a/hm/soispha/conf/yambar/scripts/sound-volume.sh b/hm/soispha/conf/yambar/scripts/sound-volume.sh index f887b4de..325b793f 100755 --- a/hm/soispha/conf/yambar/scripts/sound-volume.sh +++ b/hm/soispha/conf/yambar/scripts/sound-volume.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH while true; do volume="$(pactl get-sink-volume 0 | awk 'BEGIN { FS="/" } {gsub("%","",$2); gsub(" ","",$2)} {printf $2}')" diff --git a/hm/soispha/conf/zsh/default.nix b/hm/soispha/conf/zsh/default.nix index f7493e5e..faff46c9 100644 --- a/hm/soispha/conf/zsh/default.nix +++ b/hm/soispha/conf/zsh/default.nix @@ -71,7 +71,7 @@ + builtins.readFile ./config/command_not_found_insult.sh + builtins.readFile ./config/custom_cursor.zsh + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh" - + ''SHELL_LIBRARY_VERSION="2.0.13" source ${shell_library.rawLib.${system}}''; + + ''SHELL_LIBRARY_VERSION="2.1.1" source ${shell_library.rawLib.${system}}''; shellAliases = { ll = ". ll"; diff --git a/hm/soispha/wms/river/init.sh b/hm/soispha/wms/river/init.sh index 9ec48d41..69553878 100755 --- a/hm/soispha/wms/river/init.sh +++ b/hm/soispha/wms/river/init.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH err_fail() { if ! "$@"; then diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh b/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh index 7426115a..81777041 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH unmounting() { disk_name="$(find /dev/disk/by-label -type l -printf "%P|" | rofi -sep "|" -dmenu -p "Select disk to mount")" diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/con2pdf.sh b/sys/nixpkgs/pkgs/scripts/source/apps/con2pdf.sh index 620a299a..34311082 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/con2pdf.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/con2pdf.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # needed for help() and version # shellcheck disable=2034 diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh index 572299ea..ea0a770c 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH UPDATE_SCRIPT_NAME="update.sh" CONFIG_DIRECTORY_PATH="$HOME/.local/share/flake-update" diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh b/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh index 3a22b0fd..90a88683 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/git-edit-index.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # needed for help() and version # shellcheck disable=2034 diff --git a/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_persistent.sh b/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_persistent.sh index 5992e02f..d9ae30f4 100755 --- a/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_persistent.sh +++ b/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_persistent.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH # only generate a path (this could lead to a time-of-check/time-of-use bug) tmp="$(mktmp --dry-run)" diff --git a/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_temporary.sh b/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_temporary.sh index e411340d..7281c81f 100755 --- a/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_temporary.sh +++ b/sys/nixpkgs/pkgs/scripts/source/small_functions/screenshot_temporary.sh @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH grim -g "$(slurp)" | wl-copy diff --git a/sys/nixpkgs/pkgs/scripts/source/small_functions/update-sys.sh b/sys/nixpkgs/pkgs/scripts/source/small_functions/update-sys.sh index 68fb342d..9add617b 100755 --- a/sys/nixpkgs/pkgs/scripts/source/small_functions/update-sys.sh +++ b/sys/nixpkgs/pkgs/scripts/source/small_functions/update-sys.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH help() { cat <