diff --git a/src/.local/bin/rcl b/src/.local/bin/rcl new file mode 100755 index 0000000..d539a6a --- /dev/null +++ b/src/.local/bin/rcl @@ -0,0 +1,5 @@ +#!/bin/sh + +# Send clipboard to my QEMU VM. Probably very hacky. + +xsel -b | ssh boron 'bash -ic "export DISPLAY=:0; export XAUTHORITY=\"$XDG_RUNTIME_DIR\"/Xauthority; cat | xclip -i -selection clipboard"' 2>/dev/null & disown 2>/dev/null diff --git a/src/.local/bin/rclr b/src/.local/bin/rclr new file mode 100755 index 0000000..5e552ab --- /dev/null +++ b/src/.local/bin/rclr @@ -0,0 +1,5 @@ +#!/bin/sh + +# Receive clipboard from my QEMU VM. Probably very hacky. + +ssh boron 'bash -ic "export DISPLAY=:0; export XAUTHORITY=\"$XDG_RUNTIME_DIR\"/Xauthority; xclip -o -selection clipboard"' 2>/dev/null | xsel -ib