-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CLIPBOARD_COPY and CLIPBOARD_PASTE environment variables #1
Comments
Yeah sure thing, can you be more specific, do you mean something to specify the command so that the script doesn't rely specifically on
I recently refactored the code so it uses a |
Yep, it sounds good. I use a similar approach for a |
So I implemented this in 5f05120, but I haven't put the @alexherbo2 would you be able to point me in the right direction for some other default clipboard tools for other systems? I've always just used Xorg and xclip, but I do use sway quite a bit in another
Also does anybody know if it safe to use |
Try also something like this : #!/bin/sh
case "$(uname -s)" in
Darwin)
echo 'Mac OS X'
;;
Linux)
echo 'Linux'
;;
CYGWIN*|MINGW32*|MSYS*|MINGW*)
echo 'MS Windows'
;;
|
So as of d3b53df the cadmus script should now use commands for the clipboard based on the kernel name using can somebody on macOS confirm that |
This means that the xclip used will be governed by cadmus making it more cross platform
Now all the subscripts either take STDIN or STDOUT (or checks itself in the case of fix) and cadmus tests the OS for the appropriate clipboard command. Any scripts underneath bin/tags or bin/tools needs to be re-written, I just copy pasted them in from where they were, they're all half-assed, but that's tracked in #12 @alexherbo2 Could you review the changes I made and if they address the issue could you please close it? |
@RyanGreenup Sure.
|
No description provided.
The text was updated successfully, but these errors were encountered: