diff options
Diffstat (limited to 'bin/guiscripts/clipo')
-rwxr-xr-x | bin/guiscripts/clipo | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/guiscripts/clipo b/bin/guiscripts/clipo new file mode 100755 index 0000000..39994f9 --- /dev/null +++ b/bin/guiscripts/clipo @@ -0,0 +1,6 @@ +#!/bin/sh +[ "$1" = "-p" ] && arg='primary' +if [ "$WAYLAND_DISPLAY" ] +then wl-paste -n ${1} +else xclip -o -selection "${arg:-clipboard}" -r +fi |