From 92e2f9b8af013f6367ed1f67656f7640b23fff60 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Fri, 18 Jun 2021 13:49:01 +0400 Subject: [PATCH] Change timeout to handle slow web apps --- snippy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/snippy b/snippy index 1f41c40..f5b2d43 100755 --- a/snippy +++ b/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