Skip to content

Commit

Permalink
 Fix parameter order for xdotool
Browse files Browse the repository at this point in the history
* Change parameter's order for xdotool
* Fix order parameters

Thanks to @arkadiusz-wieczorek for spotting and fixing the bug.
Fixes #3
  • Loading branch information
arkadiusz-wieczorek committed Jan 7, 2022
1 parent 8a31a36 commit 3c2a8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bemoji
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c2a8b9

Please sign in to comment.