mirror of https://github.com/rkd77/elinks.git
[clipboard] wayland version of clipboard scripts
parent
9396600f7b
commit
748407dee5
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
trap exit SIGTERM SIGINT
|
||||
|
||||
while true
|
||||
do
|
||||
socat -u PIPE:$HOME/.config/elinks/clipboard.fifo EXEC:"wl-copy"
|
||||
done
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=clip-wayland.sh
|
||||
|
||||
[Service]
|
||||
ExecStart=clip-wayland.sh
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue