diff --git a/snippy b/snippy index cd0f9cf..7e19011 100755 --- a/snippy +++ b/snippy @@ -400,6 +400,9 @@ run() { move_cursor "Left" $cursor_position + # We need a little pause to handle the time to have the content of tmpfile pasted if is_gui + sleep "$focus_wait" + # Restore current clipboard echo -ne "$current_clipboard" | xsel --clipboard --input fi