1
0
Fork 0

[clipboard] wayland version of clipboard scripts

This commit is contained in:
Witold Filipczyk 2023-05-13 12:35:14 +02:00
parent 9396600f7b
commit 748407dee5
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,10 @@
[Unit]
Description=clip-wayland.sh
[Service]
ExecStart=clip-wayland.sh
Type=simple
Environment=DISPLAY=:0
[Install]
WantedBy=default.target