1
Fork 0

Add a tiny sleep before sending the keystrokes.

This commit is contained in:
Bauke 2023-04-23 12:46:27 +02:00
parent 014327fcfe
commit 88ac53db00
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 0 deletions

View File

@ -7,5 +7,6 @@ drg_pid=$(xdotool search --name 'Deep Rock Galactic' getwindowpid)
active_window_pid=$(xdotool getactivewindow getwindowpid)
if [[ $drg_pid = $active_window_pid ]]; then
sleep 0.1
xdotool key --delay 50 Enter r Enter
fi