patches-mpvacious/use_xsel.patch

15 lines
536 B
Diff
Raw Normal View History

2024-06-29 03:03:11 +00:00
diff -urN ../mpvacious/platform/nix.lua ./platform/nix.lua
2024-06-29 02:56:08 +00:00
--- ../mpvacious/platform/nix.lua 2024-06-28 22:39:00.110717010 -0400
2024-06-29 03:03:11 +00:00
+++ ./platform/nix.lua 2024-06-28 22:51:09.477937080 -0400
2024-06-29 02:56:08 +00:00
@@ -26,8 +26,8 @@
return handle.status == 0 and handle.stderr:match("xclip version") ~= nil
end
- self.clip_util = "xclip"
- self.clip_cmd = self.clip_util .. " -i -selection clipboard"
+ self.clip_util = "xsel"
+ self.clip_cmd = self.clip_util .. " --input --clipboard"
self.healthy = is_xclip_installed()
end