aboutsummaryrefslogtreecommitdiffstats
path: root/hm/soispha/pkgs/scripts
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-13 22:04:00 +0100
committerSoispha <soispha@vhack.eu>2024-01-13 22:04:00 +0100
commitfae6e6a0458c848fb44964023e0cb0e10b6cb1ba (patch)
treeef33ed778ad7df7ef67e89c6b32657604cd3646c /hm/soispha/pkgs/scripts
parentdocs(hm/pkgs/scrs/neorg/utils): Fix typo in comment (diff)
downloadnixos-config-fae6e6a0458c848fb44964023e0cb0e10b6cb1ba.zip
build(treewide): Update shell library
Diffstat (limited to '')
-rwxr-xr-xhm/soispha/pkgs/scripts/apps/aumo2
-rw-r--r--hm/soispha/pkgs/scripts/apps/con2pdf2
-rw-r--r--hm/soispha/pkgs/scripts/apps/fupdate2
-rwxr-xr-xhm/soispha/pkgs/scripts/small_functions/screenshot_persistent2
-rwxr-xr-xhm/soispha/pkgs/scripts/small_functions/screenshot_temporary2
-rwxr-xr-xhm/soispha/pkgs/scripts/small_functions/update-sys2
-rwxr-xr-xhm/soispha/pkgs/scripts/specific/neorg/sh/main2
-rwxr-xr-xhm/soispha/pkgs/scripts/specific/ytcc/description2
-rwxr-xr-xhm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh2
-rwxr-xr-xhm/soispha/pkgs/scripts/specific/ytcc/yts2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/hibernate2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/ll2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/lock2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/lyrics2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/mpc-rm2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/show2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/spodi2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/virsh-del2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/yti2
19 files changed, 19 insertions, 19 deletions
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