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.
|
||||
if is_gui; then
|
||||
# We need a little pause to handle the time to focus on the window
|
||||
sleep 0.1
|
||||
sleep 0.15
|
||||
# Paste
|
||||
xdotool key ctrl+v
|
||||
# And another pause to empty the paste buffer before anything else
|
||||
sleep 0.1
|
||||
xdotool key ctrl+v sleep 0.15
|
||||
move_cursor "Up" $cursor_line_position
|
||||
else
|
||||
xdotool key ctrl+shift+v
|
||||
|
Loading…
Reference in New Issue
Block a user