From 3c2a8b9894f590ee478b7e4115f11be9de1f8fb4 Mon Sep 17 00:00:00 2001 From: Arkadiusz Wieczorek Date: Fri, 7 Jan 2022 12:10:39 +0100 Subject: [PATCH] =?UTF-8?q?=EF=90=9B=20Fix=20parameter=20order=20for=20xdo?= =?UTF-8?q?tool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Change parameter's order for xdotool * Fix order parameters Thanks to @arkadiusz-wieczorek for spotting and fixing the bug. Fixes #3 --- bemoji | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bemoji b/bemoji index 786765b..babfdc8 100755 --- a/bemoji +++ b/bemoji @@ -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