We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28c1500 + 05d04da commit af620f6Copy full SHA for af620f6
utils/clipboard_watcher.py
@@ -18,6 +18,8 @@ def start_clipboard_service():
18
if os.path.exists(CLIPBOARD_BUFFER_FILE):
19
if os.path.getmtime(CLIPBOARD_BUFFER_FILE) != last_modified_time:
20
os.system(f"cat {CLIPBOARD_BUFFER_FILE} | xclip -selection clipboard")
21
+ last_modified_time = os.path.getmtime(CLIPBOARD_BUFFER_FILE)
22
else:
23
print("clipboard buffer file not found")
24
os.exit(1)
25
+
0 commit comments