mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[clipboard] wayland version of clipboard scripts
This commit is contained in:
parent
9396600f7b
commit
748407dee5
8
contrib/clipboard/clip-wayland.sh
Executable file
8
contrib/clipboard/clip-wayland.sh
Executable 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
|
10
contrib/clipboard/clip-wayland.sh.service
Normal file
10
contrib/clipboard/clip-wayland.sh.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=clip-wayland.sh
|
||||
|
||||
[Service]
|
||||
ExecStart=clip-wayland.sh
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
x
Reference in New Issue
Block a user