Rewrite #30
No files matched your search
@@ -205,7 +205,7 @@ class ClipboardPlugin(SpotlightPlugin):
|
||||
if not decoded:
|
||||
return
|
||||
copy_text(decoded.decode())
|
||||
GLib.timeout_add(5, lambda: (trigger_paste_shortcut(), False)[1])
|
||||
GLib.timeout_add(50, lambda: (trigger_paste_shortcut(0), False)[1])
|
||||
|
||||
return _action
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ class EmojiPlugin(SpotlightPlugin):
|
||||
|
||||
def _copy_to_clipboard(self, emoji_char: str) -> None:
|
||||
copy_text(emoji_char)
|
||||
GLib.timeout_add(5, lambda: (trigger_paste_shortcut(), False)[1])
|
||||
GLib.timeout_add(50, lambda: (trigger_paste_shortcut(0), False)[1])
|
||||
|
||||
def handle_external(self, command: str, args: str) -> None:
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user