diff options
Diffstat (limited to '.config/init/funcs')
-rwxr-xr-x | .config/init/funcs/audio-concat | 11 | ||||
-rwxr-xr-x | .config/init/funcs/audio-convert | 16 | ||||
-rwxr-xr-x | .config/init/funcs/send | 2 |
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 } |