Erreurs ShellCheck
This commit is contained in:
parent
6b5312adff
commit
2f27db6afe
6 changed files with 7 additions and 7 deletions
|
@ -39,9 +39,10 @@ for file in **/*".${format_in}"; do
|
|||
while [ "$(jobs -p | wc -l)" -ge 10 ]; do
|
||||
sleep 1
|
||||
done
|
||||
echo "$(basename "$file")"
|
||||
basename "$file"
|
||||
output_file="${output}/$(dirname "$file")/$(basename "${file}" ".${format_in}").${format_out}"
|
||||
mkdir -p "$(dirname "${output_file}")"
|
||||
# shellcheck disable=SC2086
|
||||
ffmpeg -loglevel quiet -i "$file" $options "$output_file" &
|
||||
done
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ create() {
|
|||
fi
|
||||
|
||||
if ! vnc_running; then
|
||||
screen -d -m wayvnc -o "$vscreen_name" 0.0.0.0
|
||||
screen -d -m wayvnc -o "$vscreen_name" "$listen_address"
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,6 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec printf \
|
||||
"$@"
|
||||
"screenshot-%s.${1:-png}" \
|
||||
"$(date +"%Y_%m_%d-%N")"
|
||||
exec printf "$@" "screenshot-%s.${1:-png}" "$(date +"%Y_%m_%d-%N")"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ function separator {
|
|||
# Loop
|
||||
for pm in "${commands_d}/"*; do
|
||||
separator "$(basename "$pm")"
|
||||
# shellcheck source=/dev/null
|
||||
source "$pm"
|
||||
done
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# shellcheck disable=SC2317
|
||||
|
||||
# cd to the local VNC directory, exit if it fails
|
||||
cd "${HOME}/.vnc" || exit 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh -x
|
||||
#!/bin/bash -x
|
||||
# Waybar wrapper to reload it anytime the
|
||||
# configuration is edited
|
||||
|
||||
|
|
Loading…
Reference in a new issue