diff options
60 files changed, 60 insertions, 60 deletions
diff --git a/bootstrap/01_activate b/bootstrap/01_activate index d8306fcc..47cdb04b 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/01_install b/bootstrap/01_install index 2c54c369..ce3e11d1 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH INSTALL=y . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/02_setup b/bootstrap/02_setup index 671dd697..2adb93dc 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH . %SCRIPT_ENSURE_CONFIG_VARIABLES diff --git a/bootstrap/03_config_setup b/bootstrap/03_config_setup index 13b1da9b..7f1ec759 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 8ca94cc5..58f8c6f7 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH if ! [ "$NIX_ENVIRONMENT_VARIABLES_SET" ]; then if ! [ "$NIX_HOST" ]; then diff --git a/hm/soispha/conf/git/scripts/commit b/hm/soispha/conf/git/scripts/commit index 46f806ef..d82092f6 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 dcdfc8cd..686e2a89 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 a461a526..e6d20de4 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 63bbb54d..b31fcce3 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 3811b289..bdde12d6 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 3bdb2370..efe1fb95 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 61008a7e..0f324227 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 528ed83e..19ee88c5 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 6fb89330..63c7c050 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 afd6e057..9f20e6c7 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 14124176..8d5b5d13 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 38d711a1..ad08ca50 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 86648c6f..9bc27a5a 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 aa130fd3..c802f924 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 c3ece8dc..09a34fc2 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 00aa3396..dfdfbbd1 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 53a8d11b..4afeded0 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 54465b3c..087f1e71 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 7af5cc0d..f657b5a2 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 250269cb..c040b36a 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 128e54ab..d0170b50 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 dc8ab078..cc549cac 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 502f9c0b..51f7bba3 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 680c4602..8de40b5d 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 8207fe76..545d88e8 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 446b4635..78b60db7 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 a2e1ffbe..f7549a53 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 019146d4..5c9e0fda 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 b01d5ca8..b10c895b 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 574d780b..02cecd02 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 aed61199..9a7efedd 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 336192aa..e437302d 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH while true; do diff --git a/hm/soispha/conf/yambar/scripts/network b/hm/soispha/conf/yambar/scripts/network index 14ba3907..9019765b 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 6b195887..7de918b4 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 8f36cf6c..6ecfda67 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.9" source ${shell_library.rawLib.${system}}''; + + ''SHELL_LIBRARY_VERSION="2.0.10" 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 2011281d..447ab3a2 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH # TODO: rewrite this diff --git a/hm/soispha/pkgs/scripts/apps/con2pdf b/hm/soispha/pkgs/scripts/apps/con2pdf index c2c746cd..b8a48e25 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 3131d730..41eb98e7 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 94754863..539c69d2 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 dd22e123..7118739a 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 eaa2eca0..1d6f655f 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 3e3fc653..612c64ed 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 aa523c70..41a5962a 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 0d0b4574..77d4107f 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 9d07135d..70c43cf2 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 eff99347..312f3a8d 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 65992862..946cb85e 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH last_directory="$(mktemp)" diff --git a/hm/soispha/pkgs/scripts/wrappers/lock b/hm/soispha/pkgs/scripts/wrappers/lock index f3270860..42080013 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 d2ce0feb..9a0124d5 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 ec76d9f1..d9d90798 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 584c419f..58261834 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 e5131dac..d304de09 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 62824f28..d13d8556 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 fee19e1d..21e7559a 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %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 3d5906a7..80f7123b 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.9" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.10" . %SHELL_LIBRARY_PATH err_fail() { if ! "$@";then |