Change timeout to handle slow web apps
This commit is contained in:
parent
ca67e806a7
commit
92e2f9b8af
6
snippy
6
snippy
@ -386,11 +386,9 @@ run() {
|
|||||||
# Paste into the current application.
|
# Paste into the current application.
|
||||||
if is_gui; then
|
if is_gui; then
|
||||||
# We need a little pause to handle the time to focus on the window
|
# We need a little pause to handle the time to focus on the window
|
||||||
sleep 0.1
|
sleep 0.15
|
||||||
# Paste
|
# Paste
|
||||||
xdotool key ctrl+v
|
xdotool key ctrl+v sleep 0.15
|
||||||
# And another pause to empty the paste buffer before anything else
|
|
||||||
sleep 0.1
|
|
||||||
move_cursor "Up" $cursor_line_position
|
move_cursor "Up" $cursor_line_position
|
||||||
else
|
else
|
||||||
xdotool key ctrl+shift+v
|
xdotool key ctrl+shift+v
|
||||||
|
Loading…
Reference in New Issue
Block a user