diff options
61 files changed, 67 insertions, 67 deletions
diff --git a/bootstrap/01_activate b/bootstrap/01_activate index d97aba85..1dd7fd4e 100755 --- a/bootstrap/01_activate +++ b/bootstrap/01_activate @@ -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 . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/01_install b/bootstrap/01_install index ddb3d25f..37b5d084 100755 --- a/bootstrap/01_install +++ b/bootstrap/01_install @@ -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 INSTALL=y . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/02_setup b/bootstrap/02_setup index ffca186e..327b1d2e 100755 --- a/bootstrap/02_setup +++ b/bootstrap/02_setup @@ -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 . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/03_config_setup b/bootstrap/03_config_setup index de79a37f..5cfe31c0 100755 --- a/bootstrap/03_config_setup +++ b/bootstrap/03_config_setup @@ -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 # 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 b/bootstrap/99_ensure_config_variables index 947fc049..12621aa6 100755 --- a/bootstrap/99_ensure_config_variables +++ b/bootstrap/99_ensure_config_variables @@ -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 if ! [ "$NIX_ENVIRONMENT_VARIABLES_SET" ]; then if ! [ "$NIX_HOST" ]; then diff --git a/flake.lock b/flake.lock index c6873cdb..a9a17ada 100644 --- a/flake.lock +++ b/flake.lock @@ -300,11 +300,11 @@ ] }, "locked": { - "lastModified": 1705104164, - "narHash": "sha256-pllCu3Hcm1wP/B0SUxgUXvHeEd4w8s2aVrEQRdIL1yo=", + "lastModified": 1705169127, + "narHash": "sha256-j9OEtNxOIPWZWjbECVMkI1TO17SzlpHMm0LnVWKOR/g=", "owner": "nix-community", "repo": "home-manager", - "rev": "0912d26b30332ae6a90e1b321ff88e80492127dd", + "rev": "f2942f3385f1b35cc8a1abb03a45e29c9cb4d3c8", "type": "github" }, "original": { @@ -791,11 +791,11 @@ ] }, "locked": { - "lastModified": 1705155871, - "narHash": "sha256-hd31ygrGDd3DWyKoSj08NtFld95skL2+GY4htOD15vM=", + "lastModified": 1705178831, + "narHash": "sha256-HD99mp4fSviyWRZw7ssy3FHFbh/TmF14Ik4nYaf0z0U=", "ref": "refs/heads/prime", - "rev": "1cc2630bc0f98df02a8a5d9a4268db4ad04f6c1f", - "revCount": 163, + "rev": "9e9bcd1941f53f1abe0f67bc6a890cd90eec29f0", + "revCount": 166, "type": "git", "url": "https://codeberg.org/soispha/shell_library.git" }, diff --git a/hm/soispha/conf/git/scripts/commit b/hm/soispha/conf/git/scripts/commit index 7c962084..809a57c1 100755 --- a/hm/soispha/conf/git/scripts/commit +++ b/hm/soispha/conf/git/scripts/commit @@ -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 ROOT="$(git rev-parse --show-toplevel)"; 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/) 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 a045fc08..bb4164bc 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.11" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.12" . %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 05d88f5e..5c242190 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.11" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.12" . %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 04edaf86..7618f4a9 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.11" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH # override shell lib output to stdout eprint() { diff --git a/hm/soispha/conf/xdg/url_handler b/hm/soispha/conf/xdg/url_handler index 9c7f5d1f..8af749d1 100755 --- a/hm/soispha/conf/xdg/url_handler +++ b/hm/soispha/conf/xdg/url_handler @@ -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 project="$(echo "%ALL_PROJECTS_PIPE|nvim|zathura|" | rofi -sep "|" -dmenu)"; diff --git a/hm/soispha/conf/yambar/scripts/disk b/hm/soispha/conf/yambar/scripts/disk index a403d05c..a9d74167 100755 --- a/hm/soispha/conf/yambar/scripts/disk +++ b/hm/soispha/conf/yambar/scripts/disk @@ -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 # Main loop while true; do diff --git a/hm/soispha/conf/yambar/scripts/grades-average b/hm/soispha/conf/yambar/scripts/grades-average index f45af513..a805a504 100755 --- a/hm/soispha/conf/yambar/scripts/grades-average +++ b/hm/soispha/conf/yambar/scripts/grades-average @@ -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 true; do grade="$(grades list average | awk '{print $2}')"; diff --git a/hm/soispha/conf/yambar/scripts/mpd_song_name b/hm/soispha/conf/yambar/scripts/mpd_song_name index 8d910e39..de2dff35 100755 --- a/hm/soispha/conf/yambar/scripts/mpd_song_name +++ b/hm/soispha/conf/yambar/scripts/mpd_song_name @@ -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 true; do diff --git a/hm/soispha/conf/yambar/scripts/network b/hm/soispha/conf/yambar/scripts/network index f9cae29b..08de91ea 100755 --- a/hm/soispha/conf/yambar/scripts/network +++ b/hm/soispha/conf/yambar/scripts/network @@ -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 retest=120 retest_if_con_fails=10 diff --git a/hm/soispha/conf/yambar/scripts/sound-volume b/hm/soispha/conf/yambar/scripts/sound-volume index b7bb66b4..1e10a8a8 100755 --- a/hm/soispha/conf/yambar/scripts/sound-volume +++ b/hm/soispha/conf/yambar/scripts/sound-volume @@ -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 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 c67bfa1b..c0176333 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.zsh + builtins.readFile ./config/custom_cursor.sh + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh" - + ''SHELL_LIBRARY_VERSION="2.0.11" source ${shell_library.rawLib.${system}}''; + + ''SHELL_LIBRARY_VERSION="2.0.12" source ${shell_library.rawLib.${system}}''; shellAliases = { ll = ". ll"; diff --git a/hm/soispha/pkgs/scripts/apps/aumo b/hm/soispha/pkgs/scripts/apps/aumo index 11c6e0e0..c99effeb 100755 --- a/hm/soispha/pkgs/scripts/apps/aumo +++ b/hm/soispha/pkgs/scripts/apps/aumo @@ -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 # TODO: rewrite this diff --git a/hm/soispha/pkgs/scripts/apps/con2pdf b/hm/soispha/pkgs/scripts/apps/con2pdf index 0c150b97..87db25b9 100644 --- a/hm/soispha/pkgs/scripts/apps/con2pdf +++ b/hm/soispha/pkgs/scripts/apps/con2pdf @@ -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 # needed for help() and version diff --git a/hm/soispha/pkgs/scripts/apps/fupdate b/hm/soispha/pkgs/scripts/apps/fupdate index 1b65756a..ad5aa0fd 100644 --- a/hm/soispha/pkgs/scripts/apps/fupdate +++ b/hm/soispha/pkgs/scripts/apps/fupdate @@ -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 UPDATE_SCRIPT_NAME="update.sh"; diff --git a/hm/soispha/pkgs/scripts/small_functions/screenshot_persistent b/hm/soispha/pkgs/scripts/small_functions/screenshot_persistent index 106a5cea..779e0557 100755 --- a/hm/soispha/pkgs/scripts/small_functions/screenshot_persistent +++ b/hm/soispha/pkgs/scripts/small_functions/screenshot_persistent @@ -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 # only generate a path (this could lead to a time-of-check/time-of-use bug) tmp="$(mktmp --dry-run)" diff --git a/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary b/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary index 73c0e094..e1da37a2 100755 --- a/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary +++ b/hm/soispha/pkgs/scripts/small_functions/screenshot_temporary @@ -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 grim -g "$(slurp)" | wl-copy diff --git a/hm/soispha/pkgs/scripts/small_functions/update-sys b/hm/soispha/pkgs/scripts/small_functions/update-sys index caab8be7..831bb3e9 100755 --- a/hm/soispha/pkgs/scripts/small_functions/update-sys +++ b/hm/soispha/pkgs/scripts/small_functions/update-sys @@ -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 help() { cat << EOF diff --git a/hm/soispha/pkgs/scripts/specific/neorg/sh/main b/hm/soispha/pkgs/scripts/specific/neorg/sh/main index 22aa9a96..6d3b67ac 100755 --- a/hm/soispha/pkgs/scripts/specific/neorg/sh/main +++ b/hm/soispha/pkgs/scripts/specific/neorg/sh/main @@ -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 # load dependencies . ./functions/add diff --git a/hm/soispha/pkgs/scripts/specific/ytcc/description b/hm/soispha/pkgs/scripts/specific/ytcc/description index c9a133ed..faf18ec2 100755 --- a/hm/soispha/pkgs/scripts/specific/ytcc/description +++ b/hm/soispha/pkgs/scripts/specific/ytcc/description @@ -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 jq --raw-output '.description' "$XDG_RUNTIME_DIR/ytcc/running" | fmt -u -s | less diff --git a/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh b/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh index d9176dbd..280a2622 100755 --- a/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh +++ b/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh @@ -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 # This is the symlink to the active info.json file="$XDG_RUNTIME_DIR/ytcc/running"; diff --git a/hm/soispha/pkgs/scripts/specific/ytcc/yts b/hm/soispha/pkgs/scripts/specific/ytcc/yts index f82d8bde..61158071 100755 --- a/hm/soispha/pkgs/scripts/specific/ytcc/yts +++ b/hm/soispha/pkgs/scripts/specific/ytcc/yts @@ -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 TASK_UUID=ce4f9e07-8324-4570-8be6-967955e9271e # these are used in version() diff --git a/hm/soispha/pkgs/scripts/wrappers/hibernate b/hm/soispha/pkgs/scripts/wrappers/hibernate index 9f9a9a42..f4ede2a5 100755 --- a/hm/soispha/pkgs/scripts/wrappers/hibernate +++ b/hm/soispha/pkgs/scripts/wrappers/hibernate @@ -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 context="$(task _get rc.context)"; [ "$context" ] && task context none diff --git a/hm/soispha/pkgs/scripts/wrappers/ll b/hm/soispha/pkgs/scripts/wrappers/ll index 87b58ee3..6aaed6e3 100755 --- a/hm/soispha/pkgs/scripts/wrappers/ll +++ b/hm/soispha/pkgs/scripts/wrappers/ll @@ -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 last_directory="$(mktemp)" diff --git a/hm/soispha/pkgs/scripts/wrappers/lock b/hm/soispha/pkgs/scripts/wrappers/lock index d9d9fdbc..f2c1799d 100755 --- a/hm/soispha/pkgs/scripts/wrappers/lock +++ b/hm/soispha/pkgs/scripts/wrappers/lock @@ -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 context="$(task _get rc.context)"; diff --git a/hm/soispha/pkgs/scripts/wrappers/lyrics b/hm/soispha/pkgs/scripts/wrappers/lyrics index 5b522ba9..40a1fb5c 100755 --- a/hm/soispha/pkgs/scripts/wrappers/lyrics +++ b/hm/soispha/pkgs/scripts/wrappers/lyrics @@ -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 ( cd "$XDG_MUSIC_DIR" || die "No music dir!" diff --git a/hm/soispha/pkgs/scripts/wrappers/mpc-rm b/hm/soispha/pkgs/scripts/wrappers/mpc-rm index d25e1d30..af2ed127 100755 --- a/hm/soispha/pkgs/scripts/wrappers/mpc-rm +++ b/hm/soispha/pkgs/scripts/wrappers/mpc-rm @@ -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 cd "$XDG_MUSIC_DIR" || die "No music dir!" diff --git a/hm/soispha/pkgs/scripts/wrappers/show b/hm/soispha/pkgs/scripts/wrappers/show index 4edc7abf..0b813342 100755 --- a/hm/soispha/pkgs/scripts/wrappers/show +++ b/hm/soispha/pkgs/scripts/wrappers/show @@ -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 # Maybe add `--quit-if-one-screen` less --redraw-on-quit "$@" diff --git a/hm/soispha/pkgs/scripts/wrappers/spodi b/hm/soispha/pkgs/scripts/wrappers/spodi index 4de4ca9a..5d982cf1 100755 --- a/hm/soispha/pkgs/scripts/wrappers/spodi +++ b/hm/soispha/pkgs/scripts/wrappers/spodi @@ -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 # This path must not contain spaces DOWN_DIR="/home/soispha/media/music/down/spotify"; diff --git a/hm/soispha/pkgs/scripts/wrappers/virsh-del b/hm/soispha/pkgs/scripts/wrappers/virsh-del index 53a8a4dc..f0a0ca66 100755 --- a/hm/soispha/pkgs/scripts/wrappers/virsh-del +++ b/hm/soispha/pkgs/scripts/wrappers/virsh-del @@ -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 virsh destroy "$1" virsh undefine "$1" --nvram diff --git a/hm/soispha/pkgs/scripts/wrappers/yti b/hm/soispha/pkgs/scripts/wrappers/yti index 81235739..a97e6a4d 100755 --- a/hm/soispha/pkgs/scripts/wrappers/yti +++ b/hm/soispha/pkgs/scripts/wrappers/yti @@ -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 DOWN_DIR=/home/soispha/media/music/down/youtube diff --git a/hm/soispha/wms/river/init b/hm/soispha/wms/river/init index 6ce4d2a6..34e791ff 100755 --- a/hm/soispha/wms/river/init +++ b/hm/soispha/wms/river/init @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.11" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.12" . %SHELL_LIBRARY_PATH err_fail() { if ! "$@";then |