Skip to content

Commit 28c1500

Browse files
fix incorrect environment variable
1 parent 18a429d commit 28c1500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/clipboard_watcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def start_clipboard_service():
1313
print("xclip not found")
1414
os.exit(1)
1515

16-
while os.getenv('Display') is not None:
16+
while os.getenv('DISPLAY') is not None:
1717
time.sleep(0.4)
1818
if os.path.exists(CLIPBOARD_BUFFER_FILE):
1919
if os.path.getmtime(CLIPBOARD_BUFFER_FILE) != last_modified_time:

0 commit comments

Comments
 (0)