refactor: use shfmt

This commit is contained in:
Jeffrey Serio 2024-12-31 12:50:59 -06:00
parent 524bb1b00d
commit c6f5fc44fa

View File

@ -25,10 +25,10 @@ chosen=$(printf '%s;%s;%s' "$screen" "$area" "$window" |
-selected-row 1)
case "$chosen" in
"$screen") extra_args='--delay=1' ;;
"$area") extra_args='--delay=0.1 --select --highlight --color=0.85,0.87,0.91,0.2' ;;
"$window") extra_args="--delay=1 --window=$(xdotool getactivewindow)" ;;
*) exit 1 ;;
"$screen") extra_args='--delay=1' ;;
"$area") extra_args='--delay=0.1 --select --highlight --color=0.85,0.87,0.91,0.2' ;;
"$window") extra_args="--delay=1 --window=$(xdotool getactivewindow)" ;;
*) exit 1 ;;
esac
# The variable is used as a command's options, so it shouldn't be quoted.