this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove quotes around $SLURP_ARGS.

We want this environment variable to be split.

yemou ebd0c435 c8d147d5

+6 -3
+2 -1
scritps/colorgrab
··· 61 61 [ "$color_type" ] || color_type="hex" 62 62 63 63 # Get a screenshot of the pixel 64 - grim -s 1 -g "$(slurp "${SLURP_ARGS}" -b 00000000 -s 00000000 -w -1 -p)" "/tmp/${0##*/}/temp.png" 64 + # shellcheck disable=SC2086 65 + grim -s 1 -g "$(slurp ${SLURP_ARGS} -b 00000000 -s 00000000 -w -1 -p)" "/tmp/${0##*/}/temp.png" 65 66 66 67 case $color_type in 67 68 hex ) color=$(convert "/tmp/${0##*/}/temp.png" -format "%[hex:p]\n" info:) ;;
+4 -2
scritps/scr
··· 157 157 grim "$filename" > "$SCR_CACHE_DIR/pic.log" 2>&1 158 158 else 159 159 # Get the geometry of the screenshot from the user and take the screenshot 160 - if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp "${SLURP_ARGS}")"; fi 160 + # shellcheck disable=SC2086 161 + if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp ${SLURP_ARGS})"; fi 161 162 grim "$@" "$filename" > "$SCR_CACHE_DIR/pic.log" 2>&1 162 163 fi 163 164 ··· 197 198 # Intercept Ctrl+C and exit wf-recorder instead of the script 198 199 trap '' INT 199 200 200 - if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp "${SLURP_ARGS}")"; fi 201 + # shellcheck disable=SC2086 202 + if [ "$output" ]; then set -- -o "$output"; else set -- -g "$(slurp ${SLURP_ARGS})"; fi 201 203 # Word splitting is favorable here 202 204 # shellcheck disable=SC2086 203 205 wf-recorder $args $rec_extraflags "$@" -f "$filename" > "$SCR_CACHE_DIR/rec.log" 2>&1 &