summarylogtreecommitdiffstats
path: root/emote_wayland_autopaste.patch
blob: 4c6dec7bd52ee34ac21cd26aade668e81b0f5950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/emote/picker.py	2024-09-05 08:50:43.153230000 +1000
+++ b/emote/picker.py	2024-09-04 21:50:33.970769271 +1000
@@ -648,7 +648,9 @@
 
         self.destroy()
 
-        if not config.is_wayland:
+        if config.is_wayland:
+            os.system('bash -c "sleep 0.15; ydotool key 29:1 47:1 47:0 29:0" &')
+        else:
             time.sleep(0.15)
             os.system("xdotool key ctrl+v")