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:
parent
8a31a36280
commit
3c2a8b9894
1 changed files with 1 additions and 1 deletions
2
bemoji
2
bemoji
|
@ -156,7 +156,7 @@ _typer() {
|
||||||
elif [ -n "$WAYLAND_DISPLAY" ] && command -v wtype >/dev/null 2>&1; then
|
elif [ -n "$WAYLAND_DISPLAY" ] && command -v wtype >/dev/null 2>&1; then
|
||||||
wtype -s 30 "$totype"
|
wtype -s 30 "$totype"
|
||||||
elif [ -n "$DISPLAY" ] && command -v xdotool >/dev/null 2>&1; then
|
elif [ -n "$DISPLAY" ] && command -v xdotool >/dev/null 2>&1; then
|
||||||
xdotool type "$totype" --delay 30
|
xdotool type --delay 30 "$totype"
|
||||||
else
|
else
|
||||||
printf "No suitable typing tool found."
|
printf "No suitable typing tool found."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue