Add VM clipboard scripts
This commit is contained in:
parent
69ec3094e9
commit
557afc7b7e
5
src/.local/bin/rcl
Executable file
5
src/.local/bin/rcl
Executable file
@ -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
|
5
src/.local/bin/rclr
Executable file
5
src/.local/bin/rclr
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user