Skip to content

Commit

Permalink
Added full path for clip.exe for WSL (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpop0 committed Aug 20, 2024
1 parent b297d45 commit 1a0ead6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extrakto_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __init__(self, trigger_pane, launch_mode):
if re.search(
r"Microsoft|microsoft", open("/proc/sys/kernel/osrelease").read()
):
self.clip_tool = "clip.exe"
self.clip_tool = "/mnt/c/Windows/System32/clip.exe"
elif os.environ.get("XDG_SESSION_TYPE", None) == "wayland":
self.clip_tool = "wl-copy"
else:
Expand Down

0 comments on commit 1a0ead6

Please sign in to comment.