diff options
author | Soispha <soispha@vhack.eu> | 2024-02-24 15:11:26 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-24 15:12:29 +0100 |
commit | 32d1ea64a579ad4f19fd4b5bc08353fe7a58605b (patch) | |
tree | ecd18e58a9289b7df4538acb96ed1b596b674cbc | |
parent | chore(version): v1.33.0 (diff) | |
download | nixos-config-32d1ea64a579ad4f19fd4b5bc08353fe7a58605b.tar.gz nixos-config-32d1ea64a579ad4f19fd4b5bc08353fe7a58605b.zip |
build(treewide): Update shell library
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 <<EOF diff --git a/sys/nixpkgs/pkgs/scripts/source/specific/neorg/sh/main.sh b/sys/nixpkgs/pkgs/scripts/source/specific/neorg/sh/main.sh index 5087c391..249856a9 100755 --- a/sys/nixpkgs/pkgs/scripts/source/specific/neorg/sh/main.sh +++ b/sys/nixpkgs/pkgs/scripts/source/specific/neorg/sh/main.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 # load dependencies . ./functions/add.sh diff --git a/sys/nixpkgs/pkgs/scripts/source/specific/ytcc/description.sh b/sys/nixpkgs/pkgs/scripts/source/specific/ytcc/description.sh index e2a1afaa..01116276 100755 --- a/sys/nixpkgs/pkgs/scripts/source/specific/ytcc/description.sh +++ b/sys/nixpkgs/pkgs/scripts/source/specific/ytcc/description.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 jq --raw-output '.description' "$XDG_RUNTIME_DIR/ytcc/running" | fmt -u -s | less diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/battery.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/battery.sh index 65485dff..6970f2b3 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/battery.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/battery.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 capacity="$(cat /sys/class/power_supply/BAT0/capacity)" status="$(cat /sys/class/power_supply/BAT0/status)" diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/hibernate.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/hibernate.sh index f3e74732..f6f4ee41 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/hibernate.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/hibernate.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 context="$(task _get rc.context)" [ "$context" ] && task context none diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/ll.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/ll.sh index 2a65d0a6..0e361d56 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/ll.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/ll.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 last_directory="$(mktemp)" diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/lock.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/lock.sh index f1c5c711..9dc5f16e 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/lock.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/lock.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 context="$(task _get rc.context)" [ "$context" ] && task context none diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/lyrics.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/lyrics.sh index 83a01083..f50ebe0a 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/lyrics.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/lyrics.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 ( cd "$XDG_MUSIC_DIR" || die "No music dir!" diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh index 7385ce43..22e62c0e 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.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 FAV_DIR="$XDG_MUSIC_DIR/playlists/favourites" diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-rm.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-rm.sh index 03673dbe..bbc4d2ed 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-rm.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-rm.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 cd "$XDG_MUSIC_DIR" || die "No music dir!" trash-put "$(mpc --format '%file%' current)" diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc.sh index b870150b..5aedc7fd 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc.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 case "$1" in "rm") diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/show.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/show.sh index 95afb16c..5caf4f7f 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/show.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/show.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 # Maybe add `--quit-if-one-screen` less --redraw-on-quit "$@" diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/sort_song.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/sort_song.sh index 8195cfcf..50d7cd6c 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/sort_song.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/sort_song.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 case "$("$1" | tr '[:upper:]' '[:lower:]')" in "lyrics") diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/spodi.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/spodi.sh index 8b4188b0..09b932ce 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/spodi.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/spodi.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 # This path must not contain spaces DOWN_DIR="/home/soispha/media/music/down/spotify" diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/virsh-del.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/virsh-del.sh index 96a9404d..788cdc7a 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/virsh-del.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/virsh-del.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 virsh destroy "$1" virsh undefine "$1" --nvram diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/yti.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/yti.sh index caa5f443..28e7a6bb 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/yti.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/yti.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 DOWN_DIR=/home/soispha/media/music/down/youtube |