2022-01-08 20:59:42 +00:00
|
|
|
#!/bin/dash
|
2021-12-22 14:27:03 +00:00
|
|
|
|
2022-01-27 19:09:04 +00:00
|
|
|
# Wayland clipboard
|
2021-12-22 14:27:03 +00:00
|
|
|
wl-copy -c
|
|
|
|
wl-copy -pc
|
2022-01-27 19:09:04 +00:00
|
|
|
|
|
|
|
# X clipboard (for XWayland)
|
|
|
|
echo -n "" | xclip -selection clipboard -i
|
|
|
|
echo -n "" | xclip -selection primary -i
|