Sleep a little longer.
This commit is contained in:
parent
018409836a
commit
d1120a3148
|
@ -8,7 +8,7 @@ drg_pid=$(xdotool search --name 'Deep Rock Galactic' getwindowpid)
|
||||||
active_window_pid=$(xdotool getactivewindow getwindowpid)
|
active_window_pid=$(xdotool getactivewindow getwindowpid)
|
||||||
|
|
||||||
if [[ $drg_pid = $active_window_pid ]]; then
|
if [[ $drg_pid = $active_window_pid ]]; then
|
||||||
sleep 0.1
|
sleep 0.25
|
||||||
xdotool key Enter
|
xdotool key Enter
|
||||||
xdotool type ${1-'r'}
|
xdotool type ${1-'r'}
|
||||||
xdotool key Enter
|
xdotool key Enter
|
||||||
|
|
Loading…
Reference in New Issue