patches-mpvacious/use_xsel.patch
2024-06-28 22:57:51 -04:00

15 lines
570 B
Diff

diff -urN ../mpvacious/platform/nix.lua ../mpvacious-patch/platform/nix.lua
--- ../mpvacious/platform/nix.lua 2024-06-28 22:39:00.110717010 -0400
+++ ../mpvacious-patch/platform/nix.lua 2024-06-28 22:51:09.477937080 -0400
@@ -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