forked from ahurac/dotfiles
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
|
while [ "$(jobs -p | wc -l)" -ge 10 ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
echo "$(basename "$file")"
|
basename "$file"
|
||||||
output_file="${output}/$(dirname "$file")/$(basename "${file}" ".${format_in}").${format_out}"
|
output_file="${output}/$(dirname "$file")/$(basename "${file}" ".${format_in}").${format_out}"
|
||||||
mkdir -p "$(dirname "${output_file}")"
|
mkdir -p "$(dirname "${output_file}")"
|
||||||
|
# shellcheck disable=SC2086
|
||||||
ffmpeg -loglevel quiet -i "$file" $options "$output_file" &
|
ffmpeg -loglevel quiet -i "$file" $options "$output_file" &
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ create() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! vnc_running; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec printf \
|
exec printf "$@" "screenshot-%s.${1:-png}" "$(date +"%Y_%m_%d-%N")"
|
||||||
"$@"
|
|
||||||
"screenshot-%s.${1:-png}" \
|
|
||||||
"$(date +"%Y_%m_%d-%N")"
|
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ function separator {
|
||||||
# Loop
|
# Loop
|
||||||
for pm in "${commands_d}/"*; do
|
for pm in "${commands_d}/"*; do
|
||||||
separator "$(basename "$pm")"
|
separator "$(basename "$pm")"
|
||||||
|
# shellcheck source=/dev/null
|
||||||
source "$pm"
|
source "$pm"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# shellcheck disable=SC2317
|
||||||
|
|
||||||
# cd to the local VNC directory, exit if it fails
|
# cd to the local VNC directory, exit if it fails
|
||||||
cd "${HOME}/.vnc" || exit 5
|
cd "${HOME}/.vnc" || exit 5
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh -x
|
#!/bin/bash -x
|
||||||
# Waybar wrapper to reload it anytime the
|
# Waybar wrapper to reload it anytime the
|
||||||
# configuration is edited
|
# configuration is edited
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue