aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init/funcs
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2020-12-06 16:04:40 -0700
committerkatherine <ageha@airen-no-jikken.icu>2020-12-06 16:04:40 -0700
commit567b21a7d3272ed25b2730f3f8646573d3c48c94 (patch)
treef566298c82f790b686b1674d436199240d750f4c /.config/init/funcs
parenteac4871cfdde13bcb0ac5e9a4eb3b4c312d71caa (diff)
downloaddotfiles-567b21a7d3272ed25b2730f3f8646573d3c48c94.tar.gz
init function clean
Diffstat (limited to '.config/init/funcs')
-rwxr-xr-x.config/init/funcs/audio-concat11
-rwxr-xr-x.config/init/funcs/audio-convert16
-rwxr-xr-x.config/init/funcs/send2
3 files changed, 15 insertions, 14 deletions
diff --git a/.config/init/funcs/audio-concat b/.config/init/funcs/audio-concat
index 73b3ae7..1dee470 100755
--- a/.config/init/funcs/audio-concat
+++ b/.config/init/funcs/audio-concat
@@ -9,11 +9,12 @@ usage() {
echo "Usage: $callstr [OPTIONS...] <infile>..."
echo "Concatenate multiple audio files into one"
echo ""
- echo " \e[1mdescription opt longform arg default\e[0m"
- echo " specify destination file -o --outfile <file> out.ogg"
- echo " specify output bitrate -b --bitrate <int>k (opus:35k, vorbis:50k, mp3:65k, flac:N/A)"
- echo " workaround for many inputs -m --many"
- echo " print this help -h --help"
+ echo " \e[1mdescription opt longform arg default\e[0m"
+ echo " destination file -o --outfile <file> out.ogg"
+ echo " output codec -c --codec <codec> opus"
+ echo " output bitrate -b --bitrate <int>k (opus:35k, vorbis:50k, mp3:65k, flac:N/A)"
+ echo " many inputs workaround -m --many"
+ echo " print this help -h --help"
exit 0
}
diff --git a/.config/init/funcs/audio-convert b/.config/init/funcs/audio-convert
index 9d153d4..a8d5a7f 100755
--- a/.config/init/funcs/audio-convert
+++ b/.config/init/funcs/audio-convert
@@ -9,14 +9,14 @@ usage() {
echo "Usage: $callstr [OPTIONS...] <infile>..."
echo "Convert multiple audio files to a new format"
echo ""
- echo " \e[1mdescription opt longform arg default\e[0m"
- echo " output codec -c --codec <codec> opus"
- echo " output bitrate -b --bitrate <int>k (opus:35k, vorbis:50k, mp3:65k, flac:N/A)"
- echo " output quality -q --quality <int> N/A"
- echo " output directory -d --dest <dir> ."
- echo " copy metadata -m --metadata <bool> false"
- echo " background job count -j --jobs <int> 4"
- echo " print this help -h --help"
+ echo " \e[1mdescription opt longform arg default\e[0m"
+ echo " output codec -c --codec <codec> opus"
+ echo " output bitrate -b --bitrate <int>k (opus:35k, vorbis:50k, mp3:65k, flac:N/A)"
+ echo " output quality -q --quality <int> N/A"
+ echo " output directory -d --dest <dir> ."
+ echo " copy metadata -m --metadata <bool> false"
+ echo " background job count -j --jobs <int> 4"
+ echo " print this help -h --help"
exit 0
}
diff --git a/.config/init/funcs/send b/.config/init/funcs/send
index 9afb66a..14bb6b7 100755
--- a/.config/init/funcs/send
+++ b/.config/init/funcs/send
@@ -12,7 +12,7 @@ escapes=(' ' '%20' '"' '%22' '#' '%23' '$' '%24'
'<' '%3c' '=' '%3d' '>' '%3e' '?' '%3f'
'@' '%40' '[' '%5b' '\' '%5c' ']' '%5d'
'^' '%5e' '`' '%60' '{' '%7b' '|' '%7c'
- '}' '%7d' '~' '%7e' '(' '%28' ')' '%29')
+ '}' '%7d' '~' '%7e' '(' '%28' ')' '%29')
[[ "$1" ]] \
|| { echo "please specify at least one file to send"; return 1 }