clear-clipboard.sh: Also clear clipboard in X/XWayland
This commit is contained in:
parent
50b0d19839
commit
79e8c96121
|
@ -1,4 +1,9 @@
|
|||
#!/bin/dash
|
||||
|
||||
# Wayland clipboard
|
||||
wl-copy -c
|
||||
wl-copy -pc
|
||||
|
||||
# X clipboard (for XWayland)
|
||||
echo -n "" | xclip -selection clipboard -i
|
||||
echo -n "" | xclip -selection primary -i
|
||||
|
|
Loading…
Reference in a new issue