···157157 grim "$filename" > "$SCR_CACHE_DIR/pic.log" 2>&1
158158 else
159159 # Get the geometry of the screenshot from the user and take the screenshot
160160- if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp "${SLURP_ARGS}")"; fi
160160+ # shellcheck disable=SC2086
161161+ if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp ${SLURP_ARGS})"; fi
161162 grim "$@" "$filename" > "$SCR_CACHE_DIR/pic.log" 2>&1
162163 fi
163164···197198 # Intercept Ctrl+C and exit wf-recorder instead of the script
198199 trap '' INT
199200200200- if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp "${SLURP_ARGS}")"; fi
201201+ # shellcheck disable=SC2086
202202+ if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp ${SLURP_ARGS})"; fi
201203 # Word splitting is favorable here
202204 # shellcheck disable=SC2086
203205 wf-recorder $args $rec_extraflags "$@" -f "$filename" > "$SCR_CACHE_DIR/rec.log" 2>&1 &