mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
911155a862
ui.clipboard_file is filename of the clipboard file. This file can be a named pipe. See contrib/clipboard/clip.sh how to set up copying to clipboard using socat and xclip. Just run clip.sh (it will be running in a loop) before starting elinks and set ui.clipboard_file = "~/.elinks/clipboard.fifo".
9 lines
125 B
Bash
Executable File
9 lines
125 B
Bash
Executable File
#!/bin/bash
|
|
|
|
trap exit SIGTERM SIGINT
|
|
|
|
while true
|
|
do
|
|
socat -u PIPE:$HOME/.elinks/clipboard.fifo EXEC:"xclip -sel clip"
|
|
done
|