Skip to content

Commit

Permalink
Insert emojis using Shift-Insert instead of Ctrl-V Ulauncher#11
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Sep 22, 2020
1 parent a5c25d7 commit 6da79cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def on_event(self, event, extension):
class ItemEnterEventListener(EventListener):

def paste(self):
self.perform_key_event("<Control>v", True, 100)
self.perform_key_event("<Control>v", False, 0)
self.perform_key_event("<Shift>Insert", True, 100)
self.perform_key_event("<Shift>Insert", False, 0)

def perform_key_event(self, accelerator, press, delay=0):
key, modifiers = Gtk.accelerator_parse(accelerator)
Expand Down

0 comments on commit 6da79cc

Please sign in to comment.