mirror of
https://codeberg.org/hyperreal/bin
synced 2025-01-18 08:13:44 +01:00
refactor: use shfmt
This commit is contained in:
parent
524bb1b00d
commit
c6f5fc44fa
8
rofimaim
8
rofimaim
@ -25,10 +25,10 @@ chosen=$(printf '%s;%s;%s' "$screen" "$area" "$window" |
|
|||||||
-selected-row 1)
|
-selected-row 1)
|
||||||
|
|
||||||
case "$chosen" in
|
case "$chosen" in
|
||||||
"$screen") extra_args='--delay=1' ;;
|
"$screen") extra_args='--delay=1' ;;
|
||||||
"$area") extra_args='--delay=0.1 --select --highlight --color=0.85,0.87,0.91,0.2' ;;
|
"$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)" ;;
|
"$window") extra_args="--delay=1 --window=$(xdotool getactivewindow)" ;;
|
||||||
*) exit 1 ;;
|
*) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# The variable is used as a command's options, so it shouldn't be quoted.
|
# The variable is used as a command's options, so it shouldn't be quoted.
|
||||||
|
Loading…
Reference in New Issue
Block a user