 Fix parameter order for xdotool

* Change parameter's order for xdotool
* Fix order parameters

Thanks to @arkadiusz-wieczorek for spotting and fixing the bug.
Fixes #3
This commit is contained in:
Arkadiusz Wieczorek 2022-01-07 12:10:39 +01:00 committed by GitHub
parent 8a31a36280
commit 3c2a8b9894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
bemoji
View File

@ -156,7 +156,7 @@ _typer() {
elif [ -n "$WAYLAND_DISPLAY" ] && command -v wtype >/dev/null 2>&1; then
wtype -s 30 "$totype"
elif [ -n "$DISPLAY" ] && command -v xdotool >/dev/null 2>&1; then
xdotool type "$totype" --delay 30
xdotool type --delay 30 "$totype"
else
printf "No suitable typing tool found."
exit 1