1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/contrib/clipboard/clip.sh

9 lines
132 B
Bash
Executable File

#!/bin/bash
trap exit SIGTERM SIGINT
while true
do
socat -u PIPE:$HOME/.config/elinks/clipboard.fifo EXEC:"xclip -sel clip"
done