Add a tiny sleep before sending the keystrokes.
This commit is contained in:
parent
014327fcfe
commit
88ac53db00
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue